mirror of
https://github.com/TeamPiped/Piped-Kubernetes.git
synced 2024-12-12 21:30:39 +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
|
||||
keywords:
|
||||
- streaming
|
||||
version: 0.0.3
|
||||
version: 0.0.4
|
||||
appVersion: latest
|
||||
maintainers:
|
||||
- name: Skyler Mäntysaari
|
||||
|
@ -18,8 +18,8 @@ data:
|
||||
{{ end }}
|
||||
{{- if .Values.backend.config.PROXY_PART }}
|
||||
PROXY_PART: {{.Values.backend.config.PROXY_PART }}
|
||||
{{- else if .Values.ingress.ytproxy.enabled}}
|
||||
PROXY_PART: {{ index (index .Values.ingress.ytproxy.hosts 0) "host" }}
|
||||
{{- else if .Values.ingress.ytproxy.enabled and .Values.ingress.ytproxy.tls }}
|
||||
PROXY_PART: https://{{ index (index .Values.ingress.ytproxy.hosts 0) "host" }}
|
||||
{{- else }}
|
||||
{{- fail "PROXY_PART needs to be set in config values or ytproxy ingress must be enabled."}}
|
||||
{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user