aboutsummaryrefslogtreecommitdiffstats
path: root/templates/deployment.yaml
diff options
context:
space:
mode:
authorGrzegorz-Lis <grzegorz.lis@nokia.com>2020-07-28 10:52:55 +0200
committerMagdalena Biernacka <magdalena.1.biernacka@nokia.com>2020-08-12 08:21:44 +0000
commitdceb913fa262d4d1112ae734e6f9768b0354f9be (patch)
tree1220c679137bed596e38f5205ea732e5293254b1 /templates/deployment.yaml
parentf1e329c458c48530da36dd1c6b38b7548116bd65 (diff)
[AAI] Make AAI compatible with Kubernetes v1.17
Issue-ID: OOM-2445 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: I68624a283b9f3e0cb3f300defefd1ff0130a0b9c
Diffstat (limited to 'templates/deployment.yaml')
-rw-r--r--templates/deployment.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/deployment.yaml b/templates/deployment.yaml
index b842261..24b8f10 100644
--- a/templates/deployment.yaml
+++ b/templates/deployment.yaml
@@ -13,7 +13,7 @@
# limitations under the License.
-apiVersion: extensions/v1beta1
+apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "common.fullname" . }}
@@ -24,6 +24,9 @@ metadata:
release: {{ include "common.release" . }}
heritage: {{ .Release.Service }}
spec:
+ selector:
+ matchLabels:
+ app: {{ include "common.name" . }}
replicas: {{ .Values.replicaCount }}
template:
metadata: