mirror of https://github.com/requarks/wiki.git
ci(helm): add custom environment variables to the deployment (#7784)
Co-authored-by: jmp <jmp@icij.org>
This commit is contained in:
parent
cd77f36120
commit
9f481221ab
|
|
@ -81,6 +81,9 @@ spec:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
- name: HA_ACTIVE
|
- name: HA_ACTIVE
|
||||||
value: {{ .Values.replicaCount | int | le 2 | quote }}
|
value: {{ .Values.replicaCount | int | le 2 | quote }}
|
||||||
|
{{- with .Values.extraEnvVars }}
|
||||||
|
{{- toYaml . | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
{{- with .Values.volumeMounts }}
|
{{- with .Values.volumeMounts }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
|
|
|
||||||
|
|
@ -138,6 +138,17 @@ sideload:
|
||||||
## Append extra trusted certificates for node process from extra volume via NODE_EXTRA_CA_CERTS variable
|
## Append extra trusted certificates for node process from extra volume via NODE_EXTRA_CA_CERTS variable
|
||||||
# nodeExtraCaCerts: "/path/to/certs.pem"
|
# 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
|
## This will override the postgresql chart values
|
||||||
# externalPostgresql:
|
# externalPostgresql:
|
||||||
# # note: ?sslmode=require => ?ssl=true
|
# # note: ?sslmode=require => ?ssl=true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue