From: Thomas Nelson Jr arthuerdent3 Date: Mon, 29 Oct 2018 21:03:59 +0000 (+0000) Subject: Fix Volumeclaim clash between MUSIC and AAI X-Git-Tag: 3.0.0-ONAP~109^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F21%2F71421%2F2;p=oom.git 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 --- 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 }}"