Unverified Commit 8d49cfbf authored by Sojin's avatar Sojin Committed by GitHub

[influxdb-enterprise] Enable configuration of environment variables (#443)

parent d534df36
apiVersion: v1
version: 0.1.17
version: 0.1.18
appVersion: 1.9.6
engine: gotpl
......
......@@ -88,6 +88,9 @@ spec:
env:
- name: RELEASE_NAME
value: {{ include "influxdb-enterprise.fullname" . }}
{{- if .Values.data.env }}
{{ toYaml .Values.data.env | indent 10 }}
{{- end}}
{{- if .Values.envFromSecret }}
envFrom:
- secretRef:
......
......@@ -91,6 +91,9 @@ spec:
secretKeyRef:
name: {{ .Values.meta.sharedSecret.secretName }}
key: secret
{{- if .Values.meta.env }}
{{ toYaml .Values.meta.env | indent 12 }}
{{- end}}
{{- if .Values.envFromSecret }}
envFrom:
- secretRef:
......
......@@ -158,7 +158,9 @@ meta:
# ca: ca.crt
# caSecret: secret-name # only use if different from the above
insecure: true
## Additional data container environment variables e.g.:
## INFLUXDB_HTTP_FLUX_ENABLED: "true"
env: {}
data:
replicas: 1
......@@ -254,3 +256,6 @@ data:
insecure: true
flux:
enabled: true
## Additional data container environment variables e.g.:
## INFLUXDB_HTTP_FLUX_ENABLED: "true"
env: {}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment