mirror of
https://github.com/apache/superset.git
synced 2024-09-12 00:29:39 -04:00
Removed unnecessary if
This commit is contained in:
parent
2818781c14
commit
af83568fb8
@ -73,18 +73,14 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: "SUPERSET_PORT"
|
- name: "SUPERSET_PORT"
|
||||||
value: {{ .Values.service.port | quote}}
|
value: {{ .Values.service.port | quote}}
|
||||||
{{- if .Values.extraEnv }}
|
|
||||||
{{- range $key, $value := .Values.extraEnv }}
|
{{- range $key, $value := .Values.extraEnv }}
|
||||||
- name: {{ $key | quote}}
|
- name: {{ $key | quote}}
|
||||||
value: {{ $value | quote }}
|
value: {{ $value | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
|
||||||
{{- if .Values.supersetNode.env }}
|
|
||||||
{{- range $key, $value := .Values.supersetNode.env }}
|
{{- range $key, $value := .Values.supersetNode.env }}
|
||||||
- name: {{ $key | quote}}
|
- name: {{ $key | quote}}
|
||||||
value: {{ $value | quote }}
|
value: {{ $value | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ tpl .Values.envFromSecret . | quote }}
|
name: {{ tpl .Values.envFromSecret . | quote }}
|
||||||
|
Loading…
Reference in New Issue
Block a user