fix: init containers (#40)

This commit is contained in:
Skyler Mäntysaari 2023-07-21 06:00:40 +03:00 committed by GitHub
parent a52fb2b85d
commit 5280698596
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 10 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: 3.0.0 version: 3.0.1
appVersion: latest appVersion: latest
kubeVersion: ">=1.22.0-0" kubeVersion: ">=1.22.0-0"
maintainers: maintainers:
@ -27,5 +27,5 @@ dependencies:
condition: postgresql.enabled condition: postgresql.enabled
annotations: annotations:
artifacthub.io/changes: |- artifacthub.io/changes: |-
- kind: changed - kind: fixed
description: Backend configmap secret fetching uses now DB_USERNAME and DB_PASSWORD keys. description: Init containers

View File

@ -1,6 +1,6 @@
# piped # piped
![Version: 3.0.0](https://img.shields.io/badge/Version-3.0.0-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square) ![Version: 3.0.1](https://img.shields.io/badge/Version-3.0.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.
@ -160,7 +160,7 @@ helm install piped TeamPiped/piped -f values.yaml
## Changelog ## Changelog
### Version 3.0.0 ### Version 3.0.1
#### Added #### Added
@ -168,11 +168,11 @@ N/A
#### Changed #### Changed
* Backend configmap secret fetching uses now DB_USERNAME and DB_PASSWORD keys. N/A
#### Fixed #### Fixed
N/A * Init containers
## Support ## Support

View File

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

View File

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

View File

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