Fixing templates for additionalContainers definitions, part two.

Typing is hard..
This commit is contained in:
Skyler Mäntysaari 2024-04-05 08:30:13 +03:00
parent 3a6387a9bf
commit c78b7bc9e8
5 changed files with 6 additions and 6 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.0 version: 5.1.1
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. description: Pod templates for addionalContainers values, part two.

View file

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

View file

@ -67,7 +67,7 @@ containers:
{{- 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.initContainers $key }}
{{- if not $container.name -}} {{- if not $container.name -}}
{{- $_ := set $container "name" $name }} {{- $_ := set $container "name" $key }}
{{- end }} {{- end }}
{{- if $container.env -}} {{- if $container.env -}}
{{- $_ := set $ "ObjectValues" (dict "env" $container.env) -}} {{- $_ := set $ "ObjectValues" (dict "env" $container.env) -}}

View file

@ -67,7 +67,7 @@ containers:
{{- range $index, $key := (keys .Values.frontend.additionalContainers | uniq | sortAlpha) }} {{- range $index, $key := (keys .Values.frontend.additionalContainers | uniq | sortAlpha) }}
{{- $container := get $.Values.frontend.additionalContainers $key }} {{- $container := get $.Values.frontend.additionalContainers $key }}
{{- if not $container.name -}} {{- if not $container.name -}}
{{- $_ := set $container "name" $name }} {{- $_ := set $container "name" $key }}
{{- end }} {{- end }}
{{- if $container.env -}} {{- if $container.env -}}
{{- $_ := set $ "ObjectValues" (dict "env" $container.env) -}} {{- $_ := set $ "ObjectValues" (dict "env" $container.env) -}}

View file

@ -67,7 +67,7 @@ containers:
{{- range $index, $key := (keys .Values.ytproxy.additionalContainers | uniq | sortAlpha) }} {{- range $index, $key := (keys .Values.ytproxy.additionalContainers | uniq | sortAlpha) }}
{{- $container := get $.Values.ytproxy.additionalContainers $key }} {{- $container := get $.Values.ytproxy.additionalContainers $key }}
{{- if not $container.name -}} {{- if not $container.name -}}
{{- $_ := set $container "name" $name }} {{- $_ := set $container "name" $key }}
{{- end }} {{- end }}
{{- if $container.env -}} {{- if $container.env -}}
{{- $_ := set $ "ObjectValues" (dict "env" $container.env) -}} {{- $_ := set $ "ObjectValues" (dict "env" $container.env) -}}