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
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
@ -52,4 +53,5 @@ data:
|
|||||||
phantomtest-auth:
|
phantomtest-auth:
|
||||||
loadBalancer:
|
loadBalancer:
|
||||||
servers:
|
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
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
@ -101,3 +102,4 @@ spec:
|
|||||||
{{- with .Values.traefikproxy.extraVolumes }}
|
{{- with .Values.traefikproxy.extraVolumes }}
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
@ -1,3 +1,4 @@
|
|||||||
|
{{- if .Values.traefikproxy.enabled -}}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
@ -26,3 +27,4 @@ spec:
|
|||||||
name: websecure
|
name: websecure
|
||||||
selector:
|
selector:
|
||||||
{{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.traefikproxy.name) | nindent 4 }}
|
{{- 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 -}}
|
{{- if .Values.traefikproxy.serviceAccount.create -}}
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
@ -11,3 +12,4 @@ metadata:
|
|||||||
{{- toYaml . | nindent 4 }}
|
{{- toYaml . | nindent 4 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
Loading…
x
Reference in New Issue
Block a user