Header Ads

Show HN: A Kubernetes Controller that installs CRDs https://ift.tt/6smA5fN

Show HN: A Kubernetes Controller that installs CRDs Hello everyone. :) I'm not sure anyone is interested in such a thing, but I saw a request earlier this year for something like this, so I wrote one. :) It's a controller that can reconcile CRDs. You can point to a ConfigMap containing CRDs or a GitHub repository in which the release contains a manifest containing CRDs. A single Bootstrap object can have multiple CRDs. Optionally it will delete them once the object is removed. It also reconciles versions. You set a semver that is a constraint like `>v1`, and it will install that version if it finds something greater than already installed. It cannot go back to prevent accidental or intentional rollback when an upstream version is deleted. It will also validate the CRD against a template to prevent installing CRDs that would break existing objects. And that's about it. I'm adding a URL to the mix, which you'll point at a URL that is a yaml content of CRDs, and it will create a Digest for it and install it any time the digest changes. That's it. Maybe it's useless, but it was a fun thing to create. :) Cheers! https://ift.tt/NXxAVnI July 26, 2023 at 06:25AM

No comments

Powered by Blogger.