From 662f6d95a1461d05ad6605599f4f895b5a90f7a1 Mon Sep 17 00:00:00 2001 From: Yao Le Date: Thu, 30 Apr 2020 22:40:20 +0800 Subject: Update the Kubernetes Version to 1.16 Update kubespray to 2.12 to deploy Kubernetes 1.16 Issue-ID: MULTICLOUD-1063 Signed-off-by: Yao Le Change-Id: I537f6395e5d05d8b72411dd1e0789e19972f1947 --- deployments/helm/onap4k8s/charts/mongo/templates/statefulset.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'deployments/helm/onap4k8s/charts/mongo/templates/statefulset.yaml') diff --git a/deployments/helm/onap4k8s/charts/mongo/templates/statefulset.yaml b/deployments/helm/onap4k8s/charts/mongo/templates/statefulset.yaml index c79739f5..c234ce3e 100644 --- a/deployments/helm/onap4k8s/charts/mongo/templates/statefulset.yaml +++ b/deployments/helm/onap4k8s/charts/mongo/templates/statefulset.yaml @@ -14,7 +14,7 @@ # limitations under the License. */}} -apiVersion: apps/v1beta1 +apiVersion: apps/v1 kind: StatefulSet metadata: name: {{ include "common.fullname" . }} @@ -27,6 +27,10 @@ metadata: spec: serviceName: {{ .Values.service.name }} replicas: {{ .Values.replicaCount }} + selector: + matchLabels: + app: {{ include "common.name" . }} + release: {{ .Release.Name }} template: metadata: labels: -- cgit 1.2.3-korg