summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/music/charts/music-cassandra/templates/statefulset.yaml
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-10-30 12:36:12 +0000
committerGerrit Code Review <gerrit@onap.org>2018-10-30 12:36:12 +0000
commit5bc8a09a95034f0a72f614792f29f58277dff87c (patch)
tree14c4716c4c46cfacede6c59f6ab112a07fe99232 /kubernetes/common/music/charts/music-cassandra/templates/statefulset.yaml
parentff0b6cb827bf46d9feefacf611e74064cbad27c8 (diff)
parentda1813f33e2fb0d68143d8207b32aea3f9fb002b (diff)
Merge "Fix Volumeclaim clash between MUSIC and AAI"
Diffstat (limited to 'kubernetes/common/music/charts/music-cassandra/templates/statefulset.yaml')
-rw-r--r--kubernetes/common/music/charts/music-cassandra/templates/statefulset.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/common/music/charts/music-cassandra/templates/statefulset.yaml b/kubernetes/common/music/charts/music-cassandra/templates/statefulset.yaml
index 103b1df1c1..e67a2c3329 100644
--- a/kubernetes/common/music/charts/music-cassandra/templates/statefulset.yaml
+++ b/kubernetes/common/music/charts/music-cassandra/templates/statefulset.yaml
@@ -103,7 +103,7 @@ spec:
fieldRef:
fieldPath: status.podIP
volumeMounts:
- - name: cassandra-data
+ - name: {{ template "common.name" . }}-data
mountPath: /var/lib/cassandra
resources:
{{ toYaml .Values.resources | indent 10 }}
@@ -112,12 +112,12 @@ spec:
hostPath:
path: /etc/localtime
{{- if not .Values.persistence.enabled }}
- - name: cassandra-data
+ - name: {{ template "common.name" . }}-data
emptyDir: {}
{{- else }}
volumeClaimTemplates:
- metadata:
- name: cassandra-data
+ name: {{ template "common.name" . }}-data
labels:
app: {{ template "common.fullname" . }}
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"