summaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2/components/dcae-inventory-api
diff options
context:
space:
mode:
authorKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2020-07-24 14:47:43 +0200
committerKrzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>2020-07-24 14:47:43 +0200
commitaef7007ff54aa8413c80ec3fa449ca7c8afc1246 (patch)
tree6878a0b3a92e8c9404a2711015ad0211eb836539 /kubernetes/dcaegen2/components/dcae-inventory-api
parent806261be61b881504671d5a260caf194f9e650b8 (diff)
Make DCAEGEN compatible with Kubernetes v1.17
Issue-ID: OOM-2454 Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> Change-Id: I7dc8044384f32930d2c3af7b59d39a94c3c4c103
Diffstat (limited to 'kubernetes/dcaegen2/components/dcae-inventory-api')
-rw-r--r--kubernetes/dcaegen2/components/dcae-inventory-api/templates/deployment.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/kubernetes/dcaegen2/components/dcae-inventory-api/templates/deployment.yaml b/kubernetes/dcaegen2/components/dcae-inventory-api/templates/deployment.yaml
index 47b3312726..29d6207c9b 100644
--- a/kubernetes/dcaegen2/components/dcae-inventory-api/templates/deployment.yaml
+++ b/kubernetes/dcaegen2/components/dcae-inventory-api/templates/deployment.yaml
@@ -15,7 +15,7 @@
# limitations under the License.
# ============LICENSE_END=========================================================
-apiVersion: extensions/v1beta1
+apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "common.fullname" . }}
@@ -27,6 +27,9 @@ metadata:
heritage: {{ .Release.Service }}
spec:
replicas: 1
+ selector:
+ matchLabels:
+ app: {{ include "common.name" . }}
template:
metadata:
labels: