summaryrefslogtreecommitdiffstats
path: root/kubernetes/common
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-07-08 06:21:53 +0000
committerGerrit Code Review <gerrit@onap.org>2020-07-08 06:21:53 +0000
commit3dacfe66f9c3eb210a7f301d0e92883e1e4640d3 (patch)
treeed191fe3f46aafbef9cba884001cb4664ab5c2a8 /kubernetes/common
parent70960464b7c11352f258e17d981a6f14f19bd07e (diff)
parent3f2796443b1f3abb0b0952c7ec14ddd481011e44 (diff)
Merge "Make COMMON/MUSIC compatible with Kubernetes v1.17"
Diffstat (limited to 'kubernetes/common')
-rw-r--r--kubernetes/common/music/charts/music-cassandra/templates/statefulset.yaml5
1 files changed, 4 insertions, 1 deletions
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 }}