diff options
author | Pawel Wieczorek <p.wieczorek2@samsung.com> | 2019-01-17 19:22:37 +0100 |
---|---|---|
committer | Pawel Wieczorek <p.wieczorek2@samsung.com> | 2019-01-18 18:56:44 +0100 |
commit | b2def010de36fba27327376d9bcee94d26d8b6f0 (patch) | |
tree | 1129371a79d805c243f42fd9ba68384d66d349c2 /kubernetes/common/music/charts/music-cassandra | |
parent | 72c4aa020f9e65fe6214a6fcecbd9e2e58e69f7d (diff) |
Use explicit PVC selectors for Cassandra
Using release label only can result in claiming Persistent Volume with
mismatched Cassandra version (2.1.20 vs. 3.11.3 as of writing this
patch).
Issue-ID: OOM-1592
Change-Id: I9f534982f6ae91347b17676b1223d397ac28953d
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Diffstat (limited to 'kubernetes/common/music/charts/music-cassandra')
-rw-r--r-- | kubernetes/common/music/charts/music-cassandra/templates/statefulset.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/common/music/charts/music-cassandra/templates/statefulset.yaml b/kubernetes/common/music/charts/music-cassandra/templates/statefulset.yaml index 009c40dbcc..cdea9e3da2 100644 --- a/kubernetes/common/music/charts/music-cassandra/templates/statefulset.yaml +++ b/kubernetes/common/music/charts/music-cassandra/templates/statefulset.yaml @@ -134,5 +134,6 @@ spec: storage: {{ .Values.persistence.size | quote }} selector: matchLabels: + app: {{ include "common.name" . }} release: "{{ .Release.Name }}" {{- end }} |