From 24e522984cf3bc3f2788e0a4ed62ee6ff2925524 Mon Sep 17 00:00:00 2001 From: kosewski Date: Tue, 14 Jul 2020 09:57:53 +0000 Subject: Make APPC compatible with Kubernetes v1.17 Issue-ID: OOM-2447 Signed-off-by: Krzysztof Kosewski Change-Id: I9a199104001162fbf8531ac6ce9df4c3210c917d --- .../appc/charts/appc-ansible-server/templates/statefulset.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'kubernetes/appc/charts/appc-ansible-server/templates/statefulset.yaml') diff --git a/kubernetes/appc/charts/appc-ansible-server/templates/statefulset.yaml b/kubernetes/appc/charts/appc-ansible-server/templates/statefulset.yaml index 489eb9cab7..882372e9c7 100644 --- a/kubernetes/appc/charts/appc-ansible-server/templates/statefulset.yaml +++ b/kubernetes/appc/charts/appc-ansible-server/templates/statefulset.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -apiVersion: apps/v1beta1 +apiVersion: apps/v1 kind: StatefulSet metadata: name: {{ include "common.fullname" . }} @@ -23,6 +23,9 @@ metadata: release: {{ include "common.release" . }} heritage: {{ .Release.Service }} spec: + selector: + matchLabels: + app: {{ include "common.name" . }} replicas: {{ .Values.replicaCount }} template: metadata: -- cgit 1.2.3-korg