aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/charts/aai-cassandra/templates/statefulset.yaml
diff options
context:
space:
mode:
authorPawel Wieczorek <p.wieczorek2@samsung.com>2019-01-17 19:22:37 +0100
committerPawel Wieczorek <p.wieczorek2@samsung.com>2019-01-18 18:56:44 +0100
commitb2def010de36fba27327376d9bcee94d26d8b6f0 (patch)
tree1129371a79d805c243f42fd9ba68384d66d349c2 /kubernetes/aai/charts/aai-cassandra/templates/statefulset.yaml
parent72c4aa020f9e65fe6214a6fcecbd9e2e58e69f7d (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/aai/charts/aai-cassandra/templates/statefulset.yaml')
-rw-r--r--kubernetes/aai/charts/aai-cassandra/templates/statefulset.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/aai/charts/aai-cassandra/templates/statefulset.yaml b/kubernetes/aai/charts/aai-cassandra/templates/statefulset.yaml
index 4a8ae39270..a576eba60d 100644
--- a/kubernetes/aai/charts/aai-cassandra/templates/statefulset.yaml
+++ b/kubernetes/aai/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 }}