summaryrefslogtreecommitdiffstats
path: root/kubernetes/cds/components/cds-command-executor/templates/deployment.yaml
diff options
context:
space:
mode:
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"