Upgrading kubernetes API
Change-Id: I279db986e2dab1ebcb5b48b4195363af395c8de3
diff --git a/voltha/templates/netconf.yaml b/voltha/templates/netconf.yaml
index 7aa571b..e3aff6a 100644
--- a/voltha/templates/netconf.yaml
+++ b/voltha/templates/netconf.yaml
@@ -27,7 +27,7 @@
- port: 830
targetPort: 830
---
-apiVersion: apps/v1beta1
+apiVersion: apps/v1
kind: Deployment
metadata:
name: netconf
@@ -35,6 +35,10 @@
serviceAccountName: {{ .Values.global.namespace }}-serviceaccount
spec:
replicas: {{ .Values.replicas.netconf }}
+ selector:
+ matchLabels:
+ name: netconf
+ release: {{ .Release.Name }}
template:
metadata:
labels: