aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/music
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2018-10-28 21:56:33 -0400
committerAlexis de Talhouët <alexis.de_talhouet@bell.ca>2018-10-30 14:15:52 +0000
commit634b455354619244a128c072974f2929683b5fd4 (patch)
tree7cc0ca3bbef4c85844c2f7b4686a76c696bac358 /kubernetes/common/music
parent6723eb71240790956e0a9961019b451296a6d307 (diff)
Add missing selectors on PVC
Change-Id: If156e738a26c7c19043657c97ac327125c5162db Issue-ID: OOM-1486 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'kubernetes/common/music')
-rw-r--r--kubernetes/common/music/charts/music-cassandra/templates/statefulset.yaml3
-rw-r--r--kubernetes/common/music/charts/zookeeper/templates/statefulset.yaml3
2 files changed, 6 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 e67a2c3329..009c40dbcc 100644
--- a/kubernetes/common/music/charts/music-cassandra/templates/statefulset.yaml
+++ b/kubernetes/common/music/charts/music-cassandra/templates/statefulset.yaml
@@ -132,4 +132,7 @@ spec:
resources:
requests:
storage: {{ .Values.persistence.size | quote }}
+ selector:
+ matchLabels:
+ release: "{{ .Release.Name }}"
{{- end }}
diff --git a/kubernetes/common/music/charts/zookeeper/templates/statefulset.yaml b/kubernetes/common/music/charts/zookeeper/templates/statefulset.yaml
index 1efd46657c..135b59e2b6 100644
--- a/kubernetes/common/music/charts/zookeeper/templates/statefulset.yaml
+++ b/kubernetes/common/music/charts/zookeeper/templates/statefulset.yaml
@@ -185,4 +185,7 @@ spec:
resources:
requests:
storage: {{ .Values.persistence.size | quote }}
+ selector:
+ matchLabels:
+ release: "{{ .Release.Name }}"
{{- end }}