Merge "[CDS] Add toggle for disabling command-executor blueprints PVC"
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Wed, 20 Oct 2021 19:56:30 +0000 (19:56 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 20 Oct 2021 19:56:30 +0000 (19:56 +0000)
kubernetes/cds/components/cds-command-executor/templates/deployment.yaml
kubernetes/cds/components/cds-command-executor/values.yaml

index 3ce24e2..da83516 100755 (executable)
@@ -98,7 +98,11 @@ spec:
           hostPath:
             path: /etc/localtime
         - name: {{ include "common.fullname" . }}-blueprints
+        {{- if .Values.persistence.enabled }}
           persistentVolumeClaim:
             claimName: {{ include "common.release" . }}-cds-blueprints
+        {{- else }}
+          emptyDir: {}
+        {{- end }}
       imagePullSecrets:
       - name: "{{ include "common.namespace" . }}-docker-registry-key"
index 0f7b556..658a899 100755 (executable)
@@ -72,7 +72,7 @@ service:
     externalPort: 10005
 
 persistence:
-  enabled: true
+  enabled: false
   mountSubPath: cds/blueprints/deploy
   deployedBlueprint: /opt/app/onap/blueprints/deploy