mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-11-23 06:53:09 -05:00
add conditional enable
This commit is contained in:
parent
594e0233ca
commit
cfafe12c82
@ -1,3 +1,4 @@
|
||||
{{- if .Values.traefikproxy.enabled -}}
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
@ -52,4 +53,5 @@ data:
|
||||
phantomtest-auth:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: http://phantomtest-auth.phantomtest.svc.cluster.local:8080/
|
||||
- url: http://phantomtest-auth.phantomtest.svc.cluster.local:8080/
|
||||
{{- end }}
|
||||
@ -1,3 +1,4 @@
|
||||
{{- if .Values.traefikproxy.enabled -}}
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
@ -101,3 +102,4 @@ spec:
|
||||
{{- with .Values.traefikproxy.extraVolumes }}
|
||||
{{- toYaml . | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
@ -1,3 +1,4 @@
|
||||
{{- if .Values.traefikproxy.enabled -}}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
@ -26,3 +27,4 @@ spec:
|
||||
name: websecure
|
||||
selector:
|
||||
{{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.traefikproxy.name) | nindent 4 }}
|
||||
{{- end }}
|
||||
@ -1,3 +1,4 @@
|
||||
{{- if .Values.traefikproxy.enabled -}}
|
||||
{{- if .Values.traefikproxy.serviceAccount.create -}}
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
@ -11,3 +12,4 @@ metadata:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Loading…
x
Reference in New Issue
Block a user