Add extra environment variables in deployment template (#12858)

Fixes #12857

Signed-off-by: Lee Briggs <lee@leebriggs.co.uk>
pull/12865/head
Lee Briggs 4 months ago committed by GitHub
parent 0f57b9340b
commit 32ce18716b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -77,6 +77,9 @@ spec:
value: "{{ .Values.apiServerProxyConfig.mode }}" value: "{{ .Values.apiServerProxyConfig.mode }}"
- name: PROXY_FIREWALL_MODE - name: PROXY_FIREWALL_MODE
value: {{ .Values.proxyConfig.firewallMode }} value: {{ .Values.proxyConfig.firewallMode }}
{{- with .Values.operatorConfig.extraEnv }}
{{- toYaml . | nindent 12 }}
{{- end }}
volumeMounts: volumeMounts:
- name: oauth - name: oauth
mountPath: /oauth mountPath: /oauth

@ -48,6 +48,13 @@ operatorConfig:
securityContext: {} securityContext: {}
extraEnv: []
# - name: EXTRA_VAR1
# value: "value1"
# - name: EXTRA_VAR2
# value: "value2"
# proxyConfig contains configuraton that will be applied to any ingress/egress # proxyConfig contains configuraton that will be applied to any ingress/egress
# proxies created by the operator. # proxies created by the operator.
# https://tailscale.com/kb/1236/kubernetes-operator/#cluster-ingress # https://tailscale.com/kb/1236/kubernetes-operator/#cluster-ingress

Loading…
Cancel
Save