summaryrefslogtreecommitdiffstats
path: root/kubernetes/cli
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2017-10-31 14:16:43 +0000
committerGerrit Code Review <gerrit@onap.org>2017-10-31 14:16:43 +0000
commit61468adee9e2c443c336536c29b216209a569478 (patch)
tree1cf9867babfd25de1bf48f80d988cbb7bb073181 /kubernetes/cli
parenta6bd2ed7f0d00ee18d9616a20587ff8140cd60fe (diff)
parentfcef994a85ee1e2f581e2dc2d2f2ab968632db25 (diff)
Merge "Add option to disable specific deployments"
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