Fixing templates for additionalContainers definitions.

This commit is contained in:
Skyler Mäntysaari 2024-04-05 08:08:46 +03:00
parent c17ececc3f
commit 3a6387a9bf
5 changed files with 13 additions and 10 deletions

View File

@ -10,7 +10,7 @@ sources:
- https://github.com/TeamPiped/piped-proxy
keywords:
- streaming
version: 5.0.2
version: 5.1.0
appVersion: latest
kubeVersion: ">=1.22.0-0"
maintainers:
@ -28,4 +28,4 @@ dependencies:
annotations:
artifacthub.io/changes: |-
- kind: fixed
description: ytproxy env variable template
description: Pod templates for addionalContainers values.

View File

@ -1,6 +1,6 @@
# piped
![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)
![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)
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.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1)
Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1)

View File

@ -62,9 +62,10 @@ initContainers:
{{- end }}
containers:
{{- include "backend.controller.mainContainer" . | nindent 2 }}
{{- with .Values.additionalContainers }}
{{- if .Values.backend.additionalContainers }}
{{- $additionalContainers := list }}
{{- range $name, $container := . }}
{{- range $index, $key := (keys .Values.backend.additionalContainers | uniq | sortAlpha) }}
{{- $container := get $.Values.backend.initContainers $key }}
{{- if not $container.name -}}
{{- $_ := set $container "name" $name }}
{{- end }}

View File

@ -62,9 +62,10 @@ initContainers:
{{- end }}
containers:
{{- include "frontend.controller.mainContainer" . | nindent 2 }}
{{- with .Values.additionalContainers }}
{{- if .Values.frontend.additionalContainers }}
{{- $additionalContainers := list }}
{{- range $name, $container := . }}
{{- range $index, $key := (keys .Values.frontend.additionalContainers | uniq | sortAlpha) }}
{{- $container := get $.Values.frontend.additionalContainers $key }}
{{- if not $container.name -}}
{{- $_ := set $container "name" $name }}
{{- end }}

View File

@ -62,9 +62,10 @@ initContainers:
{{- end }}
containers:
{{- include "ytproxy.controller.mainContainer" . | nindent 2 }}
{{- with .Values.additionalContainers }}
{{- if .Values.ytproxy.additionalContainers }}
{{- $additionalContainers := list }}
{{- range $name, $container := . }}
{{- range $index, $key := (keys .Values.ytproxy.additionalContainers | uniq | sortAlpha) }}
{{- $container := get $.Values.ytproxy.additionalContainers $key }}
{{- if not $container.name -}}
{{- $_ := set $container "name" $name }}
{{- end }}