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 | bbde690a3139061613a60ccc6d46f654eb9c2080 (patch) | |
tree | df7002344b1fd530841cf8d1740a24b3d7f7e5d9 /charts/aai-cassandra/templates | |
parent | b268dc569fec0ff79f43c288f95094b5b3e4c122 (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 'charts/aai-cassandra/templates')
-rw-r--r-- | charts/aai-cassandra/templates/statefulset.yaml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/charts/aai-cassandra/templates/statefulset.yaml b/charts/aai-cassandra/templates/statefulset.yaml index 4a8ae39..a576eba 100644 --- a/charts/aai-cassandra/templates/statefulset.yaml +++ b/charts/aai-cassandra/templates/statefulset.yaml @@ -127,5 +127,6 @@ spec: storage: {{ .Values.persistence.size | quote }} selector: matchLabels: + app: {{ include "common.name" . }} release: "{{ .Release.Name }}" {{- end }} |