From 804afe7cc6253cfc914c6a0f589a851443182481 Mon Sep 17 00:00:00 2001 From: milaszki Date: Tue, 7 Jul 2020 12:23:07 +0000 Subject: [COMMON] Make MariaDB compatible with Kubernetes v1.17 Issue-ID: OOM-2482 Signed-off-by: Daniel Milaszkiewicz Change-Id: I5dbe0b168535d48068a93dd3494a59bf90ea2a6f --- kubernetes/common/mariadb-galera/templates/statefulset.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'kubernetes/common/mariadb-galera/templates') diff --git a/kubernetes/common/mariadb-galera/templates/statefulset.yaml b/kubernetes/common/mariadb-galera/templates/statefulset.yaml index 855d50e5ea..47d1e0ef3d 100644 --- a/kubernetes/common/mariadb-galera/templates/statefulset.yaml +++ b/kubernetes/common/mariadb-galera/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,9 @@ metadata: spec: serviceName: {{ .Values.service.name }} replicas: {{ .Values.replicaCount }} + selector: + matchLabels: + app: {{ include "common.fullname" . }} template: metadata: labels: -- cgit 1.2.3-korg