Kubernetes controller for multi-tenancy. It propagates resources between namespaces accurately and allows tenant users to create/delete sub-namespaces.
The purpose of this PR is twofold: fix the currently broken CRDs standalone install (https://github.com/cybozu-go/accurate/issues/139) and improve the Helm CRDs install by adding helm.sh/resource-policy: keep annotation (by default) to CRDs to prevent Helm from uninstalling the CRD when the Helm release is uninstalled. The general improvement of Helm CRD install will hopefully allow more users to let Helm manage CRDs.
I will suggest publishing CRDs as a release artifact to avoid the new crd-only kustomize overlay. As long as we have conversion webhooks, installing CRDs separately will be somehow borked.
The solution is heavily inspired by recent work in cert-manager!
The purpose of this PR is twofold: fix the currently broken CRDs standalone install (https://github.com/cybozu-go/accurate/issues/139) and improve the Helm CRDs install by adding
helm.sh/resource-policy: keep
annotation (by default) to CRDs to prevent Helm from uninstalling the CRD when the Helm release is uninstalled. The general improvement of Helm CRD install will hopefully allow more users to let Helm manage CRDs.I will suggest publishing CRDs as a release artifact to avoid the new
crd-only
kustomize overlay. As long as we have conversion webhooks, installing CRDs separately will be somehow borked.The solution is heavily inspired by recent work in cert-manager!
Fixes https://github.com/cybozu-go/accurate/issues/139