From 1318a77bff48373495773d6695af0304acccd86c Mon Sep 17 00:00:00 2001 From: Grzegorz-Lis Date: Thu, 23 Jul 2020 15:08:43 +0200 Subject: [SDNC] Make SDNC compatible with Kubernetes v1.17 Issue-ID: OOM-2466 Signed-off-by: Grzegorz Lis Change-Id: Ia007cd54ae20fda08f6e4359248ea5dbac42ac92 --- kubernetes/sdnc/components/sdnc-prom/templates/deployment.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'kubernetes/sdnc/components/sdnc-prom/templates') diff --git a/kubernetes/sdnc/components/sdnc-prom/templates/deployment.yaml b/kubernetes/sdnc/components/sdnc-prom/templates/deployment.yaml index 7492b5501e..c702012694 100644 --- a/kubernetes/sdnc/components/sdnc-prom/templates/deployment.yaml +++ b/kubernetes/sdnc/components/sdnc-prom/templates/deployment.yaml @@ -14,7 +14,7 @@ # limitations under the License. */}} -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "common.fullname" . }} @@ -25,6 +25,9 @@ metadata: release: {{ include "common.release" . }} heritage: {{ .Release.Service }} spec: + selector: + matchLabels: + app: {{ include "common.name" . }} replicas: 1 template: metadata: -- cgit 1.2.3-korg