Skip to content

Commit 86f079d

Browse files
Merge pull request #293 from cblecker/ir-block
Block changes to imageregistry.operator.openshift.io resources
2 parents 5844897 + 526edfd commit 86f079d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

build/selectorsyncset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,7 @@ objects:
571571
- cloudcredential.openshift.io
572572
- machine.openshift.io
573573
- admissionregistration.k8s.io
574+
- imageregistry.operator.openshift.io
574575
- addons.managed.openshift.io
575576
- cloudingress.managed.openshift.io
576577
- managed.openshift.io

pkg/webhooks/regularuser/common/regularuser.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ var (
5757
"cloudcredential.openshift.io",
5858
"machine.openshift.io",
5959
"admissionregistration.k8s.io",
60+
"imageregistry.operator.openshift.io",
6061
// Deny ability to manage SRE resources
6162
// oc get --raw /apis | jq -r '.groups[] | select(.name | contains("managed")) | .name'
6263
"addons.managed.openshift.io",

0 commit comments

Comments
 (0)