mirror of
https://github.com/TeamPiped/Piped-Kubernetes.git
synced 2025-04-27 07:10:33 +05:30
fix: Update environment variable templating for backend and frontend init-containers (#141)
Fixes #109
This commit is contained in:
parent
4149d62052
commit
7ef0f91785
@ -10,7 +10,7 @@ sources:
|
|||||||
- https://github.com/TeamPiped/piped-proxy
|
- https://github.com/TeamPiped/piped-proxy
|
||||||
keywords:
|
keywords:
|
||||||
- streaming
|
- streaming
|
||||||
version: 7.2.4
|
version: 7.3.0
|
||||||
appVersion: latest
|
appVersion: latest
|
||||||
kubeVersion: ">=1.26.0-0"
|
kubeVersion: ">=1.26.0-0"
|
||||||
maintainers:
|
maintainers:
|
||||||
@ -27,5 +27,7 @@ dependencies:
|
|||||||
condition: postgresql.enabled
|
condition: postgresql.enabled
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |-
|
artifacthub.io/changes: |-
|
||||||
- kind: changed
|
- kind: fixed
|
||||||
description: Updated image for `ytproxy` from latest@sha256:880b1117b6087e32b82c0204a96210fb87de61a874a3a2681361cc6d905e4d0e to latest@sha256:53575a0aa0f5ea81f66f6f43d4c74333559efd62c99c21588dfee0aacbab2265
|
description: templating of environment variables for backend init-containers.
|
||||||
|
- kind: fixed
|
||||||
|
description: templating of environment variables for frontend init-containers.
|
||||||
|
@ -52,7 +52,7 @@ initContainers:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if $container.env -}}
|
{{- if $container.env -}}
|
||||||
{{- $_ := set $ "ObjectValues" (dict "env" $container.env) -}}
|
{{- $_ := set $ "ObjectValues" (dict "env" $container.env) -}}
|
||||||
{{- $newEnv := fromYaml (include "common.controller.env_vars" $) -}}
|
{{- $newEnv := fromYaml (include "backend.controller.env_vars" $) -}}
|
||||||
{{- $_ := unset $.ObjectValues "env" -}}
|
{{- $_ := unset $.ObjectValues "env" -}}
|
||||||
{{- $_ := set $container "env" $newEnv.env }}
|
{{- $_ := set $container "env" $newEnv.env }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -52,7 +52,7 @@ initContainers:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if $container.env -}}
|
{{- if $container.env -}}
|
||||||
{{- $_ := set $ "ObjectValues" (dict "env" $container.env) -}}
|
{{- $_ := set $ "ObjectValues" (dict "env" $container.env) -}}
|
||||||
{{- $newEnv := fromYaml (include "common.controller.env_vars" $) -}}
|
{{- $newEnv := fromYaml (include "frontend.controller.env_vars" $) -}}
|
||||||
{{- $_ := unset $.ObjectValues "env" -}}
|
{{- $_ := unset $.ObjectValues "env" -}}
|
||||||
{{- $_ := set $container "env" $newEnv.env }}
|
{{- $_ := set $container "env" $newEnv.env }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user