mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 04:33:26 +00:00
Merge pull request #39154 from deads2k/rbac-34-add-gke-user
add kubekins as cluster-admin
This commit is contained in:
commit
89a506a9b5
@ -1,11 +1,12 @@
|
|||||||
# This is the main user for the e2e tests. This is ok to leave long term
|
# 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
|
# since the first user in the test can reasonably be high power
|
||||||
|
# its kubecfg in gce and kubekins in gke
|
||||||
# TODO consider provisioning each test its namespace and giving it an
|
# 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
|
# admin user. This still has to exist, but e2e wouldn't normally use it
|
||||||
apiVersion: rbac.authorization.k8s.io/v1alpha1
|
apiVersion: rbac.authorization.k8s.io/v1alpha1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
metadata:
|
metadata:
|
||||||
name: kubecfg-cluster-admin
|
name: e2e-user-cluster-admin
|
||||||
labels:
|
labels:
|
||||||
kubernetes.io/cluster-service: "true"
|
kubernetes.io/cluster-service: "true"
|
||||||
roleRef:
|
roleRef:
|
||||||
@ -16,3 +17,6 @@ subjects:
|
|||||||
- apiVersion: rbac/v1alpha1
|
- apiVersion: rbac/v1alpha1
|
||||||
kind: User
|
kind: User
|
||||||
name: kubecfg
|
name: kubecfg
|
||||||
|
- apiVersion: rbac/v1alpha1
|
||||||
|
kind: User
|
||||||
|
name: kubekins@kubernetes-jenkins.iam.gserviceaccount.com
|
Loading…
Reference in New Issue
Block a user