Add option to disable specific deployments
[oom.git] / kubernetes / vfc / templates / vfc-hwvnfmdriver-deployment.yaml
index 9240695..e9d3282 100755 (executable)
@@ -1,3 +1,4 @@
+#{{ if not .Values.disableVfcVfcHwvnfmdriver }}
 apiVersion: extensions/v1beta1
 kind: Deployment
 metadata:
@@ -31,4 +32,5 @@ spec:
           periodSeconds: 10
         imagePullPolicy: "{{ .Values.pullPolicy }}"
       imagePullSecrets:
-      - name: "{{ .Values.nsPrefix }}-docker-registry-key"
\ No newline at end of file
+      - name: "{{ .Values.nsPrefix }}-docker-registry-key"
+#{{ end }}
\ No newline at end of file