Skip to content

Commit

Permalink
- fixing the versions by removing the deprecated apis
Browse files Browse the repository at this point in the history
  • Loading branch information
gambol99 committed Oct 12, 2018
1 parent 01bc597 commit 5cf62dc
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ data:
# as the Calico CNI plugins and network config on
# each master and worker node in a Kubernetes cluster.
kind: DaemonSet
apiVersion: extensions/v1beta1
apiVersion: apps/v1
metadata:
name: canal
namespace: kube-system
Expand Down Expand Up @@ -290,7 +290,7 @@ metadata:
---

kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: calico
rules:
Expand Down Expand Up @@ -365,7 +365,7 @@ rules:
# Flannel roles
# Pulled from https://github.com/coreos/flannel/blob/master/Documentation/kube-flannel-rbac.yml
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: flannel
rules:
Expand All @@ -392,7 +392,7 @@ rules:

# Bind the flannel ClusterRole to the canal ServiceAccount.
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: canal-flannel
roleRef:
Expand All @@ -407,7 +407,7 @@ subjects:
---

# Bind the ClusterRole to the canal ServiceAccount.
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: canal-calico
Expand Down

0 comments on commit 5cf62dc

Please sign in to comment.