Upgrading kubernetes API

Change-Id: I279db986e2dab1ebcb5b48b4195363af395c8de3
diff --git a/ponnet/templates/ponnet-cni.yaml b/ponnet/templates/ponnet-cni.yaml
index c72abab..8d8a25f 100644
--- a/ponnet/templates/ponnet-cni.yaml
+++ b/ponnet/templates/ponnet-cni.yaml
@@ -14,7 +14,7 @@
 # limitations under the License.
 
 kind: ClusterRole
-apiVersion: rbac.authorization.k8s.io/v1beta1
+apiVersion: rbac.authorization.k8s.io/v1
 metadata:
   name: ponnet-plugin
 rules:
@@ -60,7 +60,7 @@
 
 ---
 kind: ClusterRoleBinding
-apiVersion: rbac.authorization.k8s.io/v1beta1
+apiVersion: rbac.authorization.k8s.io/v1
 metadata:
   name: ponnet-plugin
 roleRef:
@@ -122,7 +122,7 @@
 ---
 # Install Ponnnet CNI conf on each slave node.
 kind: DaemonSet
-apiVersion: extensions/v1beta1
+apiVersion: apps/v1
 metadata:
   name: ponnet-plugin
   namespace: kube-system