diff options
author | Alexis de Talhouƫt <alexis.de_talhouet@bell.ca> | 2018-10-30 12:36:12 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-10-30 12:36:12 +0000 |
commit | 5bc8a09a95034f0a72f614792f29f58277dff87c (patch) | |
tree | 14c4716c4c46cfacede6c59f6ab112a07fe99232 /kubernetes/common/music | |
parent | ff0b6cb827bf46d9feefacf611e74064cbad27c8 (diff) | |
parent | da1813f33e2fb0d68143d8207b32aea3f9fb002b (diff) |
Merge "Fix Volumeclaim clash between MUSIC and AAI"
Diffstat (limited to 'kubernetes/common/music')
-rw-r--r-- | kubernetes/common/music/charts/music-cassandra/templates/statefulset.yaml | 6 |
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 }}" |