From da1813f33e2fb0d68143d8207b32aea3f9fb002b Mon Sep 17 00:00:00 2001 From: Thomas Nelson Jr arthuerdent3 Date: Mon, 29 Oct 2018 21:03:59 +0000 Subject: [PATCH] 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 --- .../common/music/charts/music-cassandra/templates/statefulset.yaml | 6 +++--- 1 file 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 }}" -- 2.16.6