We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d455c1 commit e2f5cd3Copy full SHA for e2f5cd3
internal/test/envtest/environment.go
@@ -445,7 +445,13 @@ kind: Policy
445
rules:
446
- level: RequestResponse
447
resources:
448
- - resources: ["*"]
+ - group: ""
449
+ - group: "cluster.x-k8s.io"
450
+ - group: "infrastructure.cluster.x-k8s.io"
451
+ - group: "controlplane.cluster.x-k8s.io"
452
+ - group: "addons.cluster.x-k8s.io"
453
+ - group: "bootstrap.cluster.x-k8s.io"
454
+ - group: "runtime.cluster.x-k8s.io"
455
`)
456
457
if err := os.WriteFile(policyFile, policyYAML, 0600); err != nil {
0 commit comments