fix(rbac): pdp should have policy group

For rbac the `PodDisruptionBudget` should use the `policy` group.

Signed-off-by: Christoph MEIER <top@foyer.lu>
This commit is contained in:
Christoph Meier authored and Christoph MEIER committed 2021-02-12 00:51:40 +01:00
1 parent f14f3b3287
commit 0bb5eec40b
1 file changed
+1 -1
+1 -1
View File
@@ -31,7 +31,7 @@ export const apiResources: KubeApiResource[] = [
{ kind: "PersistentVolume", apiName: "persistentvolumes" },
{ kind: "PersistentVolumeClaim", apiName: "persistentvolumeclaims" },
{ kind: "Pod", apiName: "pods" },
{ kind: "PodDisruptionBudget", apiName: "poddisruptionbudgets" },
{ kind: "PodDisruptionBudget", apiName: "poddisruptionbudgets", group: "policy" },
{ kind: "PodSecurityPolicy", apiName: "podsecuritypolicies" },
{ kind: "ResourceQuota", apiName: "resourcequotas" },
{ kind: "ReplicaSet", apiName: "replicasets", group: "apps" },