From a28df47fff23a777e3283fb6ffe244033e7a6244 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Skyler=20M=C3=A4ntysaari?= Date: Fri, 5 Apr 2024 09:06:27 +0300 Subject: [PATCH] Fixing end templates for backend --- charts/apps/piped/Chart.yaml | 4 ++-- charts/apps/piped/README.md | 2 +- charts/apps/piped/templates/backend/lib/_env_vars.tpl | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/apps/piped/Chart.yaml b/charts/apps/piped/Chart.yaml index 2d1f793..64424b3 100644 --- a/charts/apps/piped/Chart.yaml +++ b/charts/apps/piped/Chart.yaml @@ -10,7 +10,7 @@ sources: - https://github.com/TeamPiped/piped-proxy keywords: - streaming -version: 5.1.2 +version: 5.1.3 appVersion: latest kubeVersion: ">=1.22.0-0" maintainers: @@ -28,4 +28,4 @@ dependencies: annotations: artifacthub.io/changes: |- - kind: fixed - description: Pod templates for addionalContainers values, part three. + description: backend env var related templates diff --git a/charts/apps/piped/README.md b/charts/apps/piped/README.md index bd0ac8c..3d2a6cf 100644 --- a/charts/apps/piped/README.md +++ b/charts/apps/piped/README.md @@ -1,6 +1,6 @@ # piped -![Version: 5.1.2](https://img.shields.io/badge/Version-5.1.2-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square) +![Version: 5.1.3](https://img.shields.io/badge/Version-5.1.3-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. diff --git a/charts/apps/piped/templates/backend/lib/_env_vars.tpl b/charts/apps/piped/templates/backend/lib/_env_vars.tpl index 4b6fe2a..80561bd 100644 --- a/charts/apps/piped/templates/backend/lib/_env_vars.tpl +++ b/charts/apps/piped/templates/backend/lib/_env_vars.tpl @@ -2,7 +2,7 @@ Environment variables used by containers. */}} {{- define "backend.controller.env_vars" -}} - {{- $values := merge .Values.backend.env .Values.common_env -}} + {{- $values := merge .Values.backend.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 -}} \ No newline at end of file +{{- end -}}