mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 11:47:47 +03:00
Move calico to daemonset (#1605)
* Drop legacy calico logic * add calico as a daemonset
This commit is contained in:
13
roles/network_plugin/calico/templates/calico-crb.yml.j2
Normal file
13
roles/network_plugin/calico/templates/calico-crb.yml.j2
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: calico-node
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: calico-node
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: calico-node
|
||||
namespace: {{ system_namespace }}
|
||||
Reference in New Issue
Block a user