From 7dc0b15280afbf3a6e5ca9767d5215468b1421de Mon Sep 17 00:00:00 2001 From: Daniele Martinoli Date: Wed, 14 Jul 2021 13:35:31 +0200 Subject: [PATCH] Updated Deployment configuration to match latest OpenShift 4.7 specifications --- sqlonopenshift/01_deploy/sqldeployment.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sqlonopenshift/01_deploy/sqldeployment.yaml b/sqlonopenshift/01_deploy/sqldeployment.yaml index 4f5ae34..52fb5db 100644 --- a/sqlonopenshift/01_deploy/sqldeployment.yaml +++ b/sqlonopenshift/01_deploy/sqldeployment.yaml @@ -1,8 +1,11 @@ -apiVersion: apps/v1beta1 +apiVersion: apps/v1 kind: Deployment metadata: name: mssql-deployment spec: + selector: + matchLabels: + app: mssql replicas: 1 strategy: type: Recreate