Add flag to values.yaml controlling installation of CRDs #256
Labels
kind/enhancement
Categorizes issue or PR as related to an improvement.
lifecycle/keep
Denotes an issue or PR that should be preserved from going stale.
Milestone
Preflight Checklist
Problem Description
Good day colleagues!
I want to leverage the whole GitOps approach and deploy all components of cluster in one go. It also applies to vault operator. The issue is that it is difficult now to make a proper order between different manifests. Let say I want to install
but I can't do it before I will install the operator itself. It applies to different gitops solutions like ArgoCD and FluxCD. I can overrun it and solve by creation a complex configuration, but I don't like it.
Proposed Solution
Introduce the new flag in the values of helm chart like it's implemented in cert-manager:
cert-manager/cert-manager#2330
https://github.com/cert-manager/cert-manager/blob/5141dddf2c0c5e10c5d4452c99a2e260c6eb2983/deploy/charts/cert-manager/values.yaml#L53
The default value will be
installCRDs: true
. And the behaviour of the chart won't change.But I will choose
installCRDs: false
and install CRDs in different kustomization level in proper order.Alternatives Considered
Split CRDs and the base part of vault operator into different charts (with the synchronous versioning) like it was done in emissary or Linkerd.
Additional Information
No response
The text was updated successfully, but these errors were encountered: