2018-02-17 03:37:47 +00:00
|
|
|
---
|
2018-07-26 20:17:27 +00:00
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
2018-02-17 03:37:47 +00:00
|
|
|
kind: ClusterRoleBinding
|
2019-08-06 08:37:55 +00:00
|
|
|
metadata:
|
|
|
|
name: cilium-operator
|
|
|
|
roleRef:
|
|
|
|
apiGroup: rbac.authorization.k8s.io
|
|
|
|
kind: ClusterRole
|
|
|
|
name: cilium-operator
|
|
|
|
subjects:
|
|
|
|
- kind: ServiceAccount
|
|
|
|
name: cilium-operator
|
|
|
|
namespace: kube-system
|
|
|
|
---
|
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
kind: ClusterRoleBinding
|
2018-02-17 03:37:47 +00:00
|
|
|
metadata:
|
|
|
|
name: cilium
|
|
|
|
roleRef:
|
|
|
|
apiGroup: rbac.authorization.k8s.io
|
|
|
|
kind: ClusterRole
|
|
|
|
name: cilium
|
|
|
|
subjects:
|
2019-08-06 08:37:55 +00:00
|
|
|
- kind: ServiceAccount
|
|
|
|
name: cilium
|
|
|
|
namespace: kube-system
|
2021-04-30 15:09:59 +00:00
|
|
|
{% if cilium_version | regex_replace('v') is version('1.9', '<') %}
|
2019-08-06 08:37:55 +00:00
|
|
|
- apiGroup: rbac.authorization.k8s.io
|
|
|
|
kind: Group
|
|
|
|
name: system:nodes
|
2021-04-30 15:09:59 +00:00
|
|
|
{% endif %}
|