mirror of
https://github.com/TeamPiped/Piped-Kubernetes.git
synced 2025-04-27 07:10:33 +05:30
Better backend configmap
This commit is contained in:
parent
ae88860742
commit
f26bceebb6
@ -9,7 +9,7 @@ sources:
|
|||||||
- https://github.com/TeamPiped/piped-proxy
|
- https://github.com/TeamPiped/piped-proxy
|
||||||
keywords:
|
keywords:
|
||||||
- streaming
|
- streaming
|
||||||
version: 0.0.3
|
version: 0.0.4
|
||||||
appVersion: latest
|
appVersion: latest
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: Skyler Mäntysaari
|
- name: Skyler Mäntysaari
|
||||||
|
@ -18,8 +18,8 @@ data:
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
{{- if .Values.backend.config.PROXY_PART }}
|
{{- if .Values.backend.config.PROXY_PART }}
|
||||||
PROXY_PART: {{.Values.backend.config.PROXY_PART }}
|
PROXY_PART: {{.Values.backend.config.PROXY_PART }}
|
||||||
{{- else if .Values.ingress.ytproxy.enabled}}
|
{{- else if .Values.ingress.ytproxy.enabled and .Values.ingress.ytproxy.tls }}
|
||||||
PROXY_PART: {{ index (index .Values.ingress.ytproxy.hosts 0) "host" }}
|
PROXY_PART: https://{{ index (index .Values.ingress.ytproxy.hosts 0) "host" }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- fail "PROXY_PART needs to be set in config values or ytproxy ingress must be enabled."}}
|
{{- fail "PROXY_PART needs to be set in config values or ytproxy ingress must be enabled."}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user