Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[CDS] Add toggle for disabling command-executor blueprints PVC
[oom.git]
/
kubernetes
/
cds
/
components
/
cds-command-executor
/
templates
/
deployment.yaml
diff --git
a/kubernetes/cds/components/cds-command-executor/templates/deployment.yaml
b/kubernetes/cds/components/cds-command-executor/templates/deployment.yaml
index
3ce24e2
..
da83516
100755
(executable)
--- 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
hostPath:
path: /etc/localtime
- name: {{ include "common.fullname" . }}-blueprints
+ {{- if .Values.persistence.enabled }}
persistentVolumeClaim:
claimName: {{ include "common.release" . }}-cds-blueprints
persistentVolumeClaim:
claimName: {{ include "common.release" . }}-cds-blueprints
+ {{- else }}
+ emptyDir: {}
+ {{- end }}
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"