summaryrefslogtreecommitdiffstats
path: root/kubernetes/cli
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/cli')
-rw-r--r--kubernetes/cli/templates/all-service.yaml2
-rw-r--r--kubernetes/cli/templates/cli-deployment.yaml2
2 files changed, 4 insertions, 0 deletions
diff --git a/kubernetes/cli/templates/all-service.yaml b/kubernetes/cli/templates/all-service.yaml
index ffd9f68187..e848bfdc38 100644
--- a/kubernetes/cli/templates/all-service.yaml
+++ b/kubernetes/cli/templates/all-service.yaml
@@ -1,3 +1,4 @@
+#{{ if not .Values.disableCliCli }}
apiVersion: v1
kind: Service
metadata:
@@ -14,3 +15,4 @@ spec:
type: NodePort
selector:
app: cli
+#{{ end }} \ No newline at end of file
diff --git a/kubernetes/cli/templates/cli-deployment.yaml b/kubernetes/cli/templates/cli-deployment.yaml
index 88cb3eb3dc..3a702b9016 100644
--- a/kubernetes/cli/templates/cli-deployment.yaml
+++ b/kubernetes/cli/templates/cli-deployment.yaml
@@ -1,3 +1,4 @@
+#{{ if not .Values.disableCliCli }}
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
@@ -32,3 +33,4 @@ spec:
periodSeconds: 10
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }} \ No newline at end of file