ci(helm): add custom environment variables to the deployment (#7784)

Co-authored-by: jmp <jmp@icij.org>
main
Lyz 7 days ago committed by GitHub
parent cd77f36120
commit 9f481221ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -81,6 +81,9 @@ spec:
{{- end }}
- name: HA_ACTIVE
value: {{ .Values.replicaCount | int | le 2 | quote }}
{{- with .Values.extraEnvVars }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.volumeMounts }}
volumeMounts:
{{- toYaml . | nindent 12 }}

@ -138,6 +138,17 @@ sideload:
## Append extra trusted certificates for node process from extra volume via NODE_EXTRA_CA_CERTS variable
# nodeExtraCaCerts: "/path/to/certs.pem"
## Additional environment variables to set
extraEnvVars: []
# extraEnvVars:
# - name: CUSTOM_VAR
# value: "custom_value"
# - name: SECRET_VAR
# valueFrom:
# secretKeyRef:
# name: my-secret
# key: secret-key
## This will override the postgresql chart values
# externalPostgresql:
# # note: ?sslmode=require => ?ssl=true

Loading…
Cancel
Save