Merge "create K8S cluster by TOSCA"
[oom.git] / kubernetes / aaf / templates / aaf-cs-deployment.yaml
index 23968f9..55619b3 100644 (file)
@@ -1,3 +1,4 @@
+#{{ if not .Values.disableAafAafCs }}
 apiVersion: extensions/v1beta1
 kind: Deployment
 metadata:
@@ -30,7 +31,8 @@ spec:
           periodSeconds: 10
       volumes:
         - name: aaf-cs-data
-          hostPath:
-            path: /dockerdata-nfs/{{ .Values.nsPrefix }}/aaf/data
+          secret:
+            secretName: aaf-cs-data-secret
       imagePullSecrets:
       - name: {{ .Values.nsPrefix }}-docker-registry-key
+#{{ end }}