update common to support tpl for fromsecret envs
This commit is contained in:
@@ -18,4 +18,4 @@ maintainers:
|
||||
name: common
|
||||
sources:
|
||||
type: library
|
||||
version: 6.7.0
|
||||
version: 6.8.0
|
||||
|
||||
@@ -36,7 +36,13 @@
|
||||
{{- range $key, $value := .Values.envValueFrom }}
|
||||
- name: {{ $key }}
|
||||
valueFrom:
|
||||
{{- if $value.secretKeyRef }}
|
||||
secretKeyRef:
|
||||
name: {{ tpl $value.secretKeyRef.name $ | quote }}
|
||||
key: {{ tpl $value.secretKeyRef.key $ | quote }}
|
||||
{{- else }}
|
||||
{{- $value | toYaml | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- range $envList := .Values.envList }}
|
||||
{{- if and $envList.name $envList.value }}
|
||||
|
||||
Reference in New Issue
Block a user