This chart manages a CloudNativePG Cluster by default.
<cluster-name>-rw.cnpg.bootstrap.existingSecret is not set, this chart creates a bootstrap Secret for CNPG and uses it for the application password.Set cnpg.bootstrap.password on first install. After the CNPG bootstrap Secret exists, later upgrades reuse the stored password and do not require cnpg.bootstrap.password again.
Set:
database.external.enabled=truedatabase.external.hostdatabase.external.existingSecretdatabase.external.passwordKeyIn external mode, this chart does not render CNPG resources.
This chart manages a RabbitMQ RabbitmqCluster by default.
rabbitmq.auth.existingSecret is not set, this chart uses the RabbitMQ operator-generated <cluster-name>-default-user Secret.username and password from that Secret and builds BROKER_URL against the managed RabbitMQ service.Install the chart after the RabbitMQ Cluster Operator is available.
If you want to override the operator-generated secret, set rabbitmq.auth.existingSecret to a Secret that provides username and password.
Set:
rabbitmq.external.enabled=truerabbitmq.external.urirabbitmq.external.host and rabbitmq.external.existingSecretIn external mode, this chart does not render RabbitMQ operator resources.
This chart auto-generates jwt-secret, but enc-secret must be provided as a Fernet key on first install. After the Secret exists, later upgrades reuse the stored value and do not require secrets.encSecret again.
Generate a Fernet key:
python3 -c 'import base64; from cryptography.fernet import Fernet; key = Fernet.generate_key().decode(); print(base64.urlsafe_b64encode(key.encode()).decode())'
or use MWhVVmYtQ3dFNDc3ODdrTEJ1TUx4cUpLcm1ZTFQ4TlRsZlY0RnpMV0owVT0= for testing purposes.
Pass it during install or upgrade:
helm upgrade --install infrakitchen ./charts/infrakitchen \
--set secrets.encSecret='PASTE_FERNET_KEY_HERE'
Or set it in your values file:
secrets:
encSecret: "PASTE_FERNET_KEY_HERE"
If secretName is set, the referenced Kubernetes Secret must already contain both jwt-secret and enc-secret.
Set demo.enabled=true to create a Init container that runs /app/fixtures/generate_entities.py.