mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Remove direct kubecfg RBAC grant
This commit is contained in:
parent
7e98e06e48
commit
264dbf0daf
@ -1,19 +0,0 @@
|
|||||||
# This is the main user for the e2e tests. This is ok to leave long term
|
|
||||||
# since the first user in the test can reasonably be high power
|
|
||||||
# its kubecfg in gce
|
|
||||||
# TODO consider provisioning each test its namespace and giving it an
|
|
||||||
# admin user. This still has to exist, but e2e wouldn't normally use it
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1alpha1
|
|
||||||
kind: ClusterRoleBinding
|
|
||||||
metadata:
|
|
||||||
name: e2e-user-cluster-admin
|
|
||||||
labels:
|
|
||||||
kubernetes.io/cluster-service: "true"
|
|
||||||
roleRef:
|
|
||||||
apiGroup: rbac.authorization.k8s.io
|
|
||||||
kind: ClusterRole
|
|
||||||
name: cluster-admin
|
|
||||||
subjects:
|
|
||||||
- apiVersion: rbac/v1alpha1
|
|
||||||
kind: User
|
|
||||||
name: kubecfg
|
|
Loading…
Reference in New Issue
Block a user