Fix awx-manager-role bad match between some apiGroups and resources (#1262)

Co-authored-by: Aurelien Potin <aurelien.potin@michelin.com>
This commit is contained in:
aurel333
2023-03-08 22:24:03 +01:00
committed by GitHub
parent 9156909023
commit fe77f1deae

View File

@@ -20,7 +20,6 @@ rules:
- watch - watch
- apiGroups: - apiGroups:
- "" - ""
- "rbac.authorization.k8s.io"
resources: resources:
- pods - pods
- services - services
@@ -31,6 +30,17 @@ rules:
- events - events
- configmaps - configmaps
- secrets - secrets
verbs:
- get
- list
- create
- delete
- patch
- update
- watch
- apiGroups:
- "rbac.authorization.k8s.io"
resources:
- roles - roles
- rolebindings - rolebindings
verbs: verbs:
@@ -43,12 +53,22 @@ rules:
- watch - watch
- apiGroups: - apiGroups:
- apps - apps
- networking.k8s.io
resources: resources:
- deployments - deployments
- daemonsets - daemonsets
- replicasets - replicasets
- statefulsets - statefulsets
verbs:
- get
- list
- create
- delete
- patch
- update
- watch
- apiGroups:
- networking.k8s.io
resources:
- ingresses - ingresses
verbs: verbs:
- get - get