summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-08-18 13:00:29 +0000
committerGerrit Code Review <gerrit@onap.org>2020-08-18 13:00:29 +0000
commit5d135b4cc4df517d3a7541656000186f3d1e8933 (patch)
tree28b3e7f7ebf90f0c9ce857a6f65dc41c932c69c7
parent62edc397ec7d01e4ddaf007bf61897f21df518a0 (diff)
parentb97c60a83cb6dddb733f4dd873fd52dc10062f28 (diff)
Merge "[NBI] Make NBI compatible with Kubernetes v1.17"
-rw-r--r--kubernetes/nbi/templates/deployment.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/kubernetes/nbi/templates/deployment.yaml b/kubernetes/nbi/templates/deployment.yaml
index 22dd4a1ded..dc2f5dbb81 100644
--- a/kubernetes/nbi/templates/deployment.yaml
+++ b/kubernetes/nbi/templates/deployment.yaml
@@ -1,5 +1,6 @@
# Copyright © 2018 Orange
# Modifications Copyright © 2018 Amdocs, Bell Canada
+# Modifications Copyright © 2020 Nokia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -13,7 +14,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 +25,9 @@ metadata:
release: {{ include "common.release" . }}
heritage: {{ .Release.Service }}
spec:
+ selector:
+ matchLabels:
+ app: {{ include "common.name" . }}
replicas: {{ .Values.replicaCount }}
template:
metadata: