mirror of
https://github.com/TeamPiped/Piped-Kubernetes.git
synced 2024-08-14 23:57:15 +00:00
fix(ytproxy): Fix the template for env variables.
This commit is contained in:
parent
aa26fdf378
commit
c17ececc3f
3 changed files with 7 additions and 7 deletions
|
|
@ -2,7 +2,7 @@
|
|||
Environment variables used by containers.
|
||||
*/}}
|
||||
{{- define "ytproxy.controller.env_vars" -}}
|
||||
{{- $values := merge .Values.ytproxy.env .Values.common_env -}}
|
||||
{{- $values := merge .Values.ytproxy.env -}}
|
||||
{{- if hasKey . "ObjectValues" -}}
|
||||
{{- with .ObjectValues.env -}}
|
||||
{{- $values = . -}}
|
||||
|
|
@ -40,4 +40,4 @@ Environment variables used by containers.
|
|||
{{- end -}}
|
||||
{{- toYaml (dict "env" $result) | nindent 0 -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue