From 5280698596d30213bfa57f9e6c3352daf2fee5f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Skyler=20M=C3=A4ntysaari?= Date: Fri, 21 Jul 2023 06:00:40 +0300 Subject: [PATCH] fix: init containers (#40) --- charts/apps/piped/Chart.yaml | 6 +++--- charts/apps/piped/README.md | 8 ++++---- 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, 10 insertions(+), 10 deletions(-) diff --git a/charts/apps/piped/Chart.yaml b/charts/apps/piped/Chart.yaml index 717ee6c..e4cb00e 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: 3.0.0 +version: 3.0.1 appVersion: latest kubeVersion: ">=1.22.0-0" maintainers: @@ -27,5 +27,5 @@ dependencies: condition: postgresql.enabled annotations: artifacthub.io/changes: |- - - kind: changed - description: Backend configmap secret fetching uses now DB_USERNAME and DB_PASSWORD keys. + - kind: fixed + description: Init containers diff --git a/charts/apps/piped/README.md b/charts/apps/piped/README.md index c0e99e2..762ff2d 100644 --- a/charts/apps/piped/README.md +++ b/charts/apps/piped/README.md @@ -1,6 +1,6 @@ # piped -![Version: 3.0.0](https://img.shields.io/badge/Version-3.0.0-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square) +![Version: 3.0.1](https://img.shields.io/badge/Version-3.0.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. @@ -160,7 +160,7 @@ helm install piped TeamPiped/piped -f values.yaml ## Changelog -### Version 3.0.0 +### Version 3.0.1 #### Added @@ -168,11 +168,11 @@ N/A #### Changed -* Backend configmap secret fetching uses now DB_USERNAME and DB_PASSWORD keys. +N/A #### Fixed -N/A +* Init containers ## Support diff --git a/charts/apps/piped/templates/backend/lib/_pod.tpl b/charts/apps/piped/templates/backend/lib/_pod.tpl index b9b2601..84597ed 100644 --- a/charts/apps/piped/templates/backend/lib/_pod.tpl +++ b/charts/apps/piped/templates/backend/lib/_pod.tpl @@ -46,7 +46,7 @@ terminationGracePeriodSeconds: {{ . }} initContainers: {{- $initContainers := list }} {{- range $index, $key := (keys .Values.backend.initContainers | uniq | sortAlpha) }} - {{- $container := get $.Values.initContainers $key }} + {{- $container := get $.Values.backend.initContainers $key }} {{- if not $container.name -}} {{- $_ := set $container "name" $key }} {{- end }} diff --git a/charts/apps/piped/templates/frontend/lib/_pod.tpl b/charts/apps/piped/templates/frontend/lib/_pod.tpl index 9a2e30d..7cf2e45 100644 --- a/charts/apps/piped/templates/frontend/lib/_pod.tpl +++ b/charts/apps/piped/templates/frontend/lib/_pod.tpl @@ -46,7 +46,7 @@ terminationGracePeriodSeconds: {{ . }} initContainers: {{- $initContainers := list }} {{- range $index, $key := (keys .Values.frontend.initContainers | uniq | sortAlpha) }} - {{- $container := get $.Values.initContainers $key }} + {{- $container := get $.Values.frontend.initContainers $key }} {{- if not $container.name -}} {{- $_ := set $container "name" $key }} {{- end }} diff --git a/charts/apps/piped/templates/ytproxy/lib/_pod.tpl b/charts/apps/piped/templates/ytproxy/lib/_pod.tpl index 155e6f1..aaa884c 100644 --- a/charts/apps/piped/templates/ytproxy/lib/_pod.tpl +++ b/charts/apps/piped/templates/ytproxy/lib/_pod.tpl @@ -46,7 +46,7 @@ terminationGracePeriodSeconds: {{ . }} initContainers: {{- $initContainers := list }} {{- range $index, $key := (keys .Values.ytproxy.initContainers | uniq | sortAlpha) }} - {{- $container := get $.Values.initContainers $key }} + {{- $container := get $.Values.ytproxy.initContainers $key }} {{- if not $container.name -}} {{- $_ := set $container "name" $key }} {{- end }}