rbac.authorization.k8s.io/v1alpha1 is no longer valid in recent Kuernetes releases (where /v1beta1 and /v1 work). Use rbac.authorization.k8s.io/v1beta1 which works on currently supported releases. Change-Id: I91ed84f9d3305ca1098e7743999a319c9e47b4a0
16 lines
327 B
YAML
16 lines
327 B
YAML
apiVersion: rbac.authorization.k8s.io/v1beta1
|
|
kind: ClusterRoleBinding
|
|
metadata:
|
|
name: cluster-admin
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: ClusterRole
|
|
name: cluster-admin
|
|
subjects:
|
|
- kind: Group
|
|
name: system:masters
|
|
- kind: Group
|
|
name: system:authenticated
|
|
- kind: Group
|
|
name: system:unauthenticated
|