mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
update sample of sample-apiserver
This commit is contained in:
parent
87a1b5f6d7
commit
66a9f9f477
@ -1,4 +1,4 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1alpha1
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: wardle:system:auth-delegator
|
||||
@ -7,7 +7,6 @@ roleRef:
|
||||
kind: ClusterRole
|
||||
name: system:auth-delegator
|
||||
subjects:
|
||||
- apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
- kind: ServiceAccount
|
||||
name: apiserver
|
||||
namespace: wardle
|
||||
|
@ -1,4 +1,4 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1alpha1
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: wardle-auth-reader
|
||||
@ -8,7 +8,6 @@ roleRef:
|
||||
kind: Role
|
||||
name: extension-apiserver-authentication-reader
|
||||
subjects:
|
||||
- apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
- kind: ServiceAccount
|
||||
name: apiserver
|
||||
namespace: wardle
|
||||
|
Loading…
Reference in New Issue
Block a user