fix(ytproxy): Fix the template for env variables.

This commit is contained in:
Skyler Mäntysaari 2024-04-05 05:12:20 +03:00
parent aa26fdf378
commit c17ececc3f
3 changed files with 7 additions and 7 deletions

View File

@ -10,7 +10,7 @@ sources:
- https://github.com/TeamPiped/piped-proxy
keywords:
- streaming
version: 5.0.1
version: 5.0.2
appVersion: latest
kubeVersion: ">=1.22.0-0"
maintainers:
@ -27,5 +27,5 @@ dependencies:
condition: postgresql.enabled
annotations:
artifacthub.io/changes: |-
- kind: changed
description: Upgraded `postgresql` chart dependency to version 13.2.30
- kind: fixed
description: ytproxy env variable template

View File

@ -1,6 +1,6 @@
# piped
![Version: 5.0.1](https://img.shields.io/badge/Version-5.0.1-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
![Version: 5.0.2](https://img.shields.io/badge/Version-5.0.2-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
Piped is an alternative privacy-friendly YouTube frontend which is efficient by design.
@ -125,4 +125,4 @@ The following table contains an overview of available values and their descripti
</details>
----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1)

View File

@ -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 -}}