From dceb913fa262d4d1112ae734e6f9768b0354f9be Mon Sep 17 00:00:00 2001 From: Grzegorz-Lis Date: Tue, 28 Jul 2020 10:52:55 +0200 Subject: [AAI] Make AAI compatible with Kubernetes v1.17 Issue-ID: OOM-2445 Signed-off-by: Grzegorz Lis Change-Id: I68624a283b9f3e0cb3f300defefd1ff0130a0b9c --- templates/deployment.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/deployment.yaml b/templates/deployment.yaml index b842261..24b8f10 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -13,7 +13,7 @@ # limitations under the License. -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "common.fullname" . }} @@ -24,6 +24,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