aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorThomas Nelson Jr arthuerdent3 <nelson24@att.com>2018-10-29 21:03:59 +0000
committerThomas Nelson Jr arthuerdent3 <nelson24@att.com>2018-10-30 03:38:28 +0000
commitda1813f33e2fb0d68143d8207b32aea3f9fb002b (patch)
tree896147c2614336bdbca3867d1539eb5ddd7e7670 /kubernetes
parent73f4a744301e68f6e3942649630ab56cd297c82b (diff)
Fix Volumeclaim clash between MUSIC and AAI
Update to fix name of volume to reduce the amount of cassandra mentioned. Change-Id: I20909b304a8bde517c71b479daac6dd0dbf43ca4 Issue-ID: MUSIC-156 Signed-off-by: Thomas Nelson Jr arthuerdent3 <nelson24@att.com>
Diffstat (limited to 'kubernetes')
-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 }}"