[MODELING] Make MODELING compatible with Kubernetes v1.17 79/110479/1
authorGrzegorz-Lis <grzegorz.lis@nokia.com>
Thu, 23 Jul 2020 07:58:33 +0000 (09:58 +0200)
committerGrzegorz-Lis <grzegorz.lis@nokia.com>
Thu, 23 Jul 2020 07:58:33 +0000 (09:58 +0200)
Issue-ID: OOM-2457
Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com>
Change-Id: I9512abf462c8feef39cea3e3fa95794f0f0b223c

kubernetes/modeling/charts/modeling-etsicatalog/templates/deployment.yaml

index 0c1ba30..d3ca041 100644 (file)
@@ -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" . }}
@@ -23,6 +23,9 @@ metadata:
     release: {{ include "common.release" . }}
     heritage: {{ .Release.Service }}
 spec:
+  selector:
+    matchLabels:
+      app: {{ include "common.name" . }}
   replicas: {{ .Values.replicaCount }}
   template:
     metadata: