diff options
author | Jozsef Csongvai <jozsef.csongvai@bell.ca> | 2021-10-05 18:56:57 -0400 |
---|---|---|
committer | Jozsef Csongvai <jozsef.csongvai@bell.ca> | 2021-10-12 12:45:06 -0400 |
commit | 2b09070ee29c0f07f4b4788a8b95f4200ff3ec14 (patch) | |
tree | 35f76b82fc279f3037ceef94e19c7ab4f1d5808d /kubernetes/cds/components | |
parent | a697f8ab8f2b47100cb73a7f5812f70e242b75a6 (diff) |
[CDS] Add toggle for disabling command-executor blueprints PVC
This PVC was used to share files between blueprintsprocessor and
command-executor. Since version 1.1.1 it is no longer required and
should be disabled by default. Added toggle for backward compatibility.
Issue-ID: CCSDK-3490
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
Change-Id: Id962b427a3f7ad2afe10d96454381f50732fa306
Diffstat (limited to 'kubernetes/cds/components')
-rwxr-xr-x | kubernetes/cds/components/cds-command-executor/templates/deployment.yaml | 4 | ||||
-rwxr-xr-x | kubernetes/cds/components/cds-command-executor/values.yaml | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/kubernetes/cds/components/cds-command-executor/templates/deployment.yaml b/kubernetes/cds/components/cds-command-executor/templates/deployment.yaml index 3ce24e2e84..da835162e7 100755 --- a/kubernetes/cds/components/cds-command-executor/templates/deployment.yaml +++ b/kubernetes/cds/components/cds-command-executor/templates/deployment.yaml @@ -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" diff --git a/kubernetes/cds/components/cds-command-executor/values.yaml b/kubernetes/cds/components/cds-command-executor/values.yaml index 0f7b55632a..658a899c1e 100755 --- a/kubernetes/cds/components/cds-command-executor/values.yaml +++ b/kubernetes/cds/components/cds-command-executor/values.yaml @@ -72,7 +72,7 @@ service: externalPort: 10005 persistence: - enabled: true + enabled: false mountSubPath: cds/blueprints/deploy deployedBlueprint: /opt/app/onap/blueprints/deploy |