Custom Resource Definitions
(CRDs) separatelty from operator deployment. As noticed within Helm CRDs best practicies,
this allow us to have more control over the CRDs lifecycle and also avoid deletion of the CRDs when the operator is uninstalled.
helm.sh/resource-policy: keep
to avoid deletion of the CRDs when the operator is uninstalled.
You can deploy Formance Operator using Helm:
operator-crds.create=true
to make sure the helm.sh/resource-policy: keep
is present.
You can verify this by running:
operator-crds.create: false
and install the operator-crds chart separately.