aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/cds/components/cds-command-executor/templates/deployment.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-10-20 19:56:30 +0000
committerGerrit Code Review <gerrit@onap.org>2021-10-20 19:56:30 +0000
commit2c6c4456fafb066638b1d0b32c6753fb165ec4a9 (patch)
treeb0e339d7d72b9fc1a665743a5a6ae3275d035f8c /kubernetes/cds/components/cds-command-executor/templates/deployment.yaml
parent465c608616edcfcc4fe50a2faf1e27577271fc68 (diff)
parent2b09070ee29c0f07f4b4788a8b95f4200ff3ec14 (diff)
Merge "[CDS] Add toggle for disabling command-executor blueprints PVC"
Diffstat (limited to 'kubernetes/cds/components/cds-command-executor/templates/deployment.yaml')
-rwxr-xr-xkubernetes/cds/components/cds-command-executor/templates/deployment.yaml4
1 files changed, 4 insertions, 0 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"