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

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

parent d534df36
apiVersion: v1 apiVersion: v1
version: 0.1.17 version: 0.1.18
appVersion: 1.9.6 appVersion: 1.9.6
engine: gotpl engine: gotpl
......
...@@ -88,6 +88,9 @@ spec: ...@@ -88,6 +88,9 @@ spec:
env: env:
- name: RELEASE_NAME - name: RELEASE_NAME
value: {{ include "influxdb-enterprise.fullname" . }} value: {{ include "influxdb-enterprise.fullname" . }}
{{- if .Values.data.env }}
{{ toYaml .Values.data.env | indent 10 }}
{{- end}}
{{- if .Values.envFromSecret }} {{- if .Values.envFromSecret }}
envFrom: envFrom:
- secretRef: - secretRef:
......
...@@ -91,6 +91,9 @@ spec: ...@@ -91,6 +91,9 @@ spec:
secretKeyRef: secretKeyRef:
name: {{ .Values.meta.sharedSecret.secretName }} name: {{ .Values.meta.sharedSecret.secretName }}
key: secret key: secret
{{- if .Values.meta.env }}
{{ toYaml .Values.meta.env | indent 12 }}
{{- end}}
{{- if .Values.envFromSecret }} {{- if .Values.envFromSecret }}
envFrom: envFrom:
- secretRef: - secretRef:
......
...@@ -158,7 +158,9 @@ meta: ...@@ -158,7 +158,9 @@ meta:
# ca: ca.crt # ca: ca.crt
# caSecret: secret-name # only use if different from the above # caSecret: secret-name # only use if different from the above
insecure: true insecure: true
## Additional data container environment variables e.g.:
## INFLUXDB_HTTP_FLUX_ENABLED: "true"
env: {}
data: data:
replicas: 1 replicas: 1
...@@ -254,3 +256,6 @@ data: ...@@ -254,3 +256,6 @@ data:
insecure: true insecure: true
flux: flux:
enabled: true 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