mirror of
https://github.com/TeamPiped/Piped-Kubernetes.git
synced 2024-08-14 23:57:15 +00:00
Fixing templates for additionalContainers definitions.
This commit is contained in:
parent
c17ececc3f
commit
3a6387a9bf
5 changed files with 13 additions and 10 deletions
|
@ -10,7 +10,7 @@ sources:
|
||||||
- https://github.com/TeamPiped/piped-proxy
|
- https://github.com/TeamPiped/piped-proxy
|
||||||
keywords:
|
keywords:
|
||||||
- streaming
|
- streaming
|
||||||
version: 5.0.2
|
version: 5.1.0
|
||||||
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: ytproxy env variable template
|
description: Pod templates for addionalContainers values.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# piped
|
# 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.
|
Piped is an alternative privacy-friendly YouTube frontend which is efficient by design.
|
||||||
|
|
||||||
|
|
|
@ -62,9 +62,10 @@ initContainers:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
{{- include "backend.controller.mainContainer" . | nindent 2 }}
|
{{- include "backend.controller.mainContainer" . | nindent 2 }}
|
||||||
{{- with .Values.additionalContainers }}
|
{{- if .Values.backend.additionalContainers }}
|
||||||
{{- $additionalContainers := list }}
|
{{- $additionalContainers := list }}
|
||||||
{{- range $name, $container := . }}
|
{{- range $index, $key := (keys .Values.backend.additionalContainers | uniq | sortAlpha) }}
|
||||||
|
{{- $container := get $.Values.backend.initContainers $key }}
|
||||||
{{- if not $container.name -}}
|
{{- if not $container.name -}}
|
||||||
{{- $_ := set $container "name" $name }}
|
{{- $_ := set $container "name" $name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -62,9 +62,10 @@ initContainers:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
{{- include "frontend.controller.mainContainer" . | nindent 2 }}
|
{{- include "frontend.controller.mainContainer" . | nindent 2 }}
|
||||||
{{- with .Values.additionalContainers }}
|
{{- if .Values.frontend.additionalContainers }}
|
||||||
{{- $additionalContainers := list }}
|
{{- $additionalContainers := list }}
|
||||||
{{- range $name, $container := . }}
|
{{- range $index, $key := (keys .Values.frontend.additionalContainers | uniq | sortAlpha) }}
|
||||||
|
{{- $container := get $.Values.frontend.additionalContainers $key }}
|
||||||
{{- if not $container.name -}}
|
{{- if not $container.name -}}
|
||||||
{{- $_ := set $container "name" $name }}
|
{{- $_ := set $container "name" $name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -62,9 +62,10 @@ initContainers:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
{{- include "ytproxy.controller.mainContainer" . | nindent 2 }}
|
{{- include "ytproxy.controller.mainContainer" . | nindent 2 }}
|
||||||
{{- with .Values.additionalContainers }}
|
{{- if .Values.ytproxy.additionalContainers }}
|
||||||
{{- $additionalContainers := list }}
|
{{- $additionalContainers := list }}
|
||||||
{{- range $name, $container := . }}
|
{{- range $index, $key := (keys .Values.ytproxy.additionalContainers | uniq | sortAlpha) }}
|
||||||
|
{{- $container := get $.Values.ytproxy.additionalContainers $key }}
|
||||||
{{- if not $container.name -}}
|
{{- if not $container.name -}}
|
||||||
{{- $_ := set $container "name" $name }}
|
{{- $_ := set $container "name" $name }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue