summaryrefslogtreecommitdiffstats
path: root/kubernetes/aaf/charts/aaf-sms/templates/deployment.yaml
diff options
context:
space:
mode:
authorBorislav Glozman <Borislav.Glozman@amdocs.com>2019-12-11 14:25:57 +0000
committerGerrit Code Review <gerrit@onap.org>2019-12-11 14:25:57 +0000
commit05942430664ddd4a35f830c5e7488ecd4122c83d (patch)
tree9da5b76f5fdb74a3f47917e3a198fa4596848af7 /kubernetes/aaf/charts/aaf-sms/templates/deployment.yaml
parent5145c61e87e1d73935d395abfba6b9becb5d3b87 (diff)
parent7a23575fc1402ebe022779fbaaa021f43419be49 (diff)
Merge "[AAF] Use global storage templates for PVC"
Diffstat (limited to 'kubernetes/aaf/charts/aaf-sms/templates/deployment.yaml')
-rw-r--r--kubernetes/aaf/charts/aaf-sms/templates/deployment.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/kubernetes/aaf/charts/aaf-sms/templates/deployment.yaml b/kubernetes/aaf/charts/aaf-sms/templates/deployment.yaml
index ca35fdc55a..a461b2e1b5 100644
--- a/kubernetes/aaf/charts/aaf-sms/templates/deployment.yaml
+++ b/kubernetes/aaf/charts/aaf-sms/templates/deployment.yaml
@@ -98,7 +98,11 @@ spec:
configMap:
name: {{ include "common.fullname" . }}
- name: {{ include "common.fullname" . }}-auth
+ {{- if .Values.persistence.enabled }}
persistentVolumeClaim:
claimName: {{ include "common.fullname" . }}
+ {{- else }}
+ emptyDir: {}
+ {{- end }}
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"