rancher-charts/charts/rancher-webhook/1.0.5+up0.2.6/templates/rbac.yaml

13 lines
282 B
YAML
Raw Normal View History

2022-08-15 19:12:21 +00:00
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: rancher-webhook
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: rancher-webhook
namespace: {{.Release.Namespace}}