Setup
With the emergence of multiple tools and services that use helm templatization. We have choosen to separateCustom 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 installation
If you don’t have Helm installed, you can follow the official Helm installation guide. Dependending of your needs, you can install the CRDs and the operator separatly or together.Operator CRDs
To install the Formance Operator CRDs, you can use the following command:Operator Deployment
From version v2.2.0, CRDs are now packaged withhelm.sh/resource-policy: keep
to avoid deletion of the CRDs when the operator is uninstalled.
You can deploy Formance Operator using Helm:
Migrating from Operator chart with CRDs to dedicated CRDs chart
First make sure you’ve already upgraded the operator chart with crdsoperator-crds.create=true
to make sure the helm.sh/resource-policy: keep
is present.
You can verify this by running:
Migration bash script
operator-crds.create: false
and install the operator-crds chart separately.