From 36800cdad514f5ca28f6c6dadb4183d8fa8aa0f8 Mon Sep 17 00:00:00 2001 From: kwasiel Date: Tue, 14 Jul 2020 10:27:53 +0000 Subject: [CLI] Add Kubernetes v1.17 compatibility Issue-ID: OOM-2450 Signed-off-by: Katarzyna Wasiel Change-Id: I9d599707a4d11eef815aa3c04e8756c893151f56 --- kubernetes/cli/templates/deployment.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kubernetes/cli/templates/deployment.yaml b/kubernetes/cli/templates/deployment.yaml index 58fc6663c5..539279f93d 100644 --- a/kubernetes/cli/templates/deployment.yaml +++ b/kubernetes/cli/templates/deployment.yaml @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -apiVersion: extensions/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: {{ include "common.fullname" . }} @@ -24,6 +24,9 @@ metadata: heritage: {{ .Release.Service }} spec: replicas: {{ .Values.replicaCount }} + selector: + matchLabels: + app: {{ include "common.name" . }} template: metadata: labels: -- cgit 1.2.3-korg