mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Limit access to configmaps
This commit is contained in:
parent
c70b554af9
commit
f8fa60e9ea
@ -45,7 +45,11 @@ rules:
|
|||||||
verbs: ["create", "update", "patch"]
|
verbs: ["create", "update", "patch"]
|
||||||
- apiGroups: [""]
|
- apiGroups: [""]
|
||||||
resources: ["configmaps"]
|
resources: ["configmaps"]
|
||||||
verbs: ["get", "list", "watch", "create", "update", "patch", "delete", "deletecollection"]
|
verbs: ["create"]
|
||||||
|
- apiGroups: [""]
|
||||||
|
resources: ["configmaps"]
|
||||||
|
resourceNames: ["cluster-autoscaler-status"]
|
||||||
|
verbs: ["get", "update", "patch", "delete"]
|
||||||
---
|
---
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
Loading…
Reference in New Issue
Block a user