mirror of
https://github.com/TeamPiped/Piped-Kubernetes.git
synced 2024-12-12 21:30:39 +05:30
Fixing templates for additionalContainers definitions.
This commit is contained in:
parent
c17ececc3f
commit
3a6387a9bf
@ -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.
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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 }}
|
||||
|
@ -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 }}
|
||||
|
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user