From c78b7bc9e89b15b9e8bd355d76d499ad415b86ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Skyler=20M=C3=A4ntysaari?= Date: Fri, 5 Apr 2024 08:30:13 +0300 Subject: [PATCH] Fixing templates for additionalContainers definitions, part two. Typing is hard.. --- charts/apps/piped/Chart.yaml | 4 ++-- charts/apps/piped/README.md | 2 +- charts/apps/piped/templates/backend/lib/_pod.tpl | 2 +- charts/apps/piped/templates/frontend/lib/_pod.tpl | 2 +- charts/apps/piped/templates/ytproxy/lib/_pod.tpl | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/apps/piped/Chart.yaml b/charts/apps/piped/Chart.yaml index c86cba0..4d46f9c 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.0 +version: 5.1.1 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. + description: Pod templates for addionalContainers values, part two. diff --git a/charts/apps/piped/README.md b/charts/apps/piped/README.md index 2851c95..b7ad8da 100644 --- a/charts/apps/piped/README.md +++ b/charts/apps/piped/README.md @@ -1,6 +1,6 @@ # piped -![Version: 5.1.0](https://img.shields.io/badge/Version-5.1.0-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square) +![Version: 5.1.1](https://img.shields.io/badge/Version-5.1.1-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/_pod.tpl b/charts/apps/piped/templates/backend/lib/_pod.tpl index 310b97a..4c44dd0 100644 --- a/charts/apps/piped/templates/backend/lib/_pod.tpl +++ b/charts/apps/piped/templates/backend/lib/_pod.tpl @@ -67,7 +67,7 @@ containers: {{- range $index, $key := (keys .Values.backend.additionalContainers | uniq | sortAlpha) }} {{- $container := get $.Values.backend.initContainers $key }} {{- if not $container.name -}} - {{- $_ := set $container "name" $name }} + {{- $_ := set $container "name" $key }} {{- end }} {{- if $container.env -}} {{- $_ := set $ "ObjectValues" (dict "env" $container.env) -}} diff --git a/charts/apps/piped/templates/frontend/lib/_pod.tpl b/charts/apps/piped/templates/frontend/lib/_pod.tpl index 5c37aa3..372c868 100644 --- a/charts/apps/piped/templates/frontend/lib/_pod.tpl +++ b/charts/apps/piped/templates/frontend/lib/_pod.tpl @@ -67,7 +67,7 @@ containers: {{- range $index, $key := (keys .Values.frontend.additionalContainers | uniq | sortAlpha) }} {{- $container := get $.Values.frontend.additionalContainers $key }} {{- if not $container.name -}} - {{- $_ := set $container "name" $name }} + {{- $_ := set $container "name" $key }} {{- end }} {{- if $container.env -}} {{- $_ := set $ "ObjectValues" (dict "env" $container.env) -}} diff --git a/charts/apps/piped/templates/ytproxy/lib/_pod.tpl b/charts/apps/piped/templates/ytproxy/lib/_pod.tpl index 9ab1702..134cbe8 100644 --- a/charts/apps/piped/templates/ytproxy/lib/_pod.tpl +++ b/charts/apps/piped/templates/ytproxy/lib/_pod.tpl @@ -67,7 +67,7 @@ containers: {{- range $index, $key := (keys .Values.ytproxy.additionalContainers | uniq | sortAlpha) }} {{- $container := get $.Values.ytproxy.additionalContainers $key }} {{- if not $container.name -}} - {{- $_ := set $container "name" $name }} + {{- $_ := set $container "name" $key }} {{- end }} {{- if $container.env -}} {{- $_ := set $ "ObjectValues" (dict "env" $container.env) -}}