From 3f2796443b1f3abb0b0952c7ec14ddd481011e44 Mon Sep 17 00:00:00 2001 From: milaszki Date: Tue, 7 Jul 2020 12:38:11 +0000 Subject: Make COMMON/MUSIC compatible with Kubernetes v1.17 Issue-ID: OOM-2484 Signed-off-by: Daniel Milaszkiewicz Change-Id: I8b89986cb73f9d7dedadacf88243623e7e91041f --- .../common/music/charts/music-cassandra/templates/statefulset.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'kubernetes/common/music/charts') diff --git a/kubernetes/common/music/charts/music-cassandra/templates/statefulset.yaml b/kubernetes/common/music/charts/music-cassandra/templates/statefulset.yaml index 58866495db..fbdac61a9e 100644 --- a/kubernetes/common/music/charts/music-cassandra/templates/statefulset.yaml +++ b/kubernetes/common/music/charts/music-cassandra/templates/statefulset.yaml @@ -15,7 +15,7 @@ */}} -apiVersion: apps/v1beta1 +apiVersion: apps/v1 kind: StatefulSet metadata: name: {{ include "common.fullname" . }} @@ -39,6 +39,9 @@ spec: topologyKey: kubernetes.io/hostname serviceName: {{ include "common.servicename" . }} replicas: {{ .Values.replicaCount }} + selector: + matchLabels: + app: {{ include "common.name" . }} podManagementPolicy: {{ .Values.podManagementPolicy }} updateStrategy: type: {{ .Values.updateStrategy.type }} -- cgit 1.2.3-korg