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 - https://github.com/TeamPiped/piped-proxy
keywords: keywords:
- streaming - streaming
version: 5.1.1 version: 5.1.2
appVersion: latest appVersion: latest
kubeVersion: ">=1.22.0-0" kubeVersion: ">=1.22.0-0"
maintainers: maintainers:
@ -28,4 +28,4 @@ dependencies:
annotations: annotations:
artifacthub.io/changes: |- artifacthub.io/changes: |-
- kind: fixed - 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 # 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. Piped is an alternative privacy-friendly YouTube frontend which is efficient by design.

View file

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