another common bugfix
This commit is contained in:
@@ -18,4 +18,4 @@ maintainers:
|
|||||||
name: common
|
name: common
|
||||||
sources: null
|
sources: null
|
||||||
type: library
|
type: library
|
||||||
version: 6.10.2
|
version: 6.10.3
|
||||||
|
|||||||
@@ -81,24 +81,21 @@
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if or .Values.envFrom .Values.secret }}
|
|
||||||
envFrom:
|
envFrom:
|
||||||
{{- range $key, $value := .Values.envFrom }}
|
{{- range .Values.envFrom -}}
|
||||||
{{- if $value.secretKeyRef }}
|
{{- if .secretRef }}
|
||||||
- secretKeyRef:
|
- secretRef:
|
||||||
name: {{ tpl $value.secretKeyRef.name $ | quote }}
|
name: {{ tpl .secretRef.name $ | quote }}
|
||||||
{{- else if $value.configMapRef }}
|
{{- else if .configMapRef }}
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: {{ tpl $value.configMapRef.name $ | quote }}
|
name: {{ tpl .configMapRef.name $ | quote }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- toYaml $value | nindent 4 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end -}}
|
||||||
{{- if .Values.secret }}
|
{{- if .Values.secret }}
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ include "common.names.fullname" . }}
|
name: {{ include "common.names.fullname" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
|
||||||
{{- include "common.controller.ports" . | trim | nindent 2 }}
|
{{- include "common.controller.ports" . | trim | nindent 2 }}
|
||||||
{{- with (include "common.controller.volumeMounts" . | trim) }}
|
{{- with (include "common.controller.volumeMounts" . | trim) }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
|||||||
Reference in New Issue
Block a user