Fixing templates for additionalContainers definitions, part three.

This commit is contained in:
Skyler Mäntysaari 2024-04-05 08:48:02 +03:00
parent c78b7bc9e8
commit ac75108ad0
3 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@ sources:
- https://github.com/TeamPiped/piped-proxy
keywords:
- streaming
version: 5.1.1
version: 5.1.2
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 two.
description: Pod templates for addionalContainers values, part three.

View file

@ -1,6 +1,6 @@
# piped
![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)
![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)
Piped is an alternative privacy-friendly YouTube frontend which is efficient by design.

View file

@ -65,7 +65,7 @@ containers:
{{- if .Values.backend.additionalContainers }}
{{- $additionalContainers := list }}
{{- range $index, $key := (keys .Values.backend.additionalContainers | uniq | sortAlpha) }}
{{- $container := get $.Values.backend.initContainers $key }}
{{- $container := get $.Values.backend.additionalContainers $key }}
{{- if not $container.name -}}
{{- $_ := set $container "name" $key }}
{{- end }}