Skip to content

Commit

Permalink
operator: fix schema cluster scoped (istio#41322)
Browse files Browse the repository at this point in the history
* operator: fix schema cluster scoped

* add release-notes

* update release-notes

Signed-off-by: hejianpeng <hejianpeng2@huawei.com>

Signed-off-by: hejianpeng <hejianpeng2@huawei.com>
  • Loading branch information
zirain authored Oct 10, 2022
1 parent 2ece279 commit eed4d4b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/config/schema/collections/collections.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pkg/config/schema/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,13 +191,15 @@ resources:
plural: "customresourcedefinitions"
group: "apiextensions.k8s.io"
version: "v1"
clusterScoped: true
proto: "k8s.io.apiextensions_apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinition"
protoPackage: "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"

- kind: "MutatingWebhookConfiguration"
plural: "mutatingwebhookconfigurations"
group: "admissionregistration.k8s.io"
version: "v1"
clusterScoped: true
proto: "k8s.io.api.admissionregistration.v1.MutatingWebhookConfiguration"
protoPackage: "k8s.io/api/admissionregistration/v1"

Expand Down
10 changes: 10 additions & 0 deletions releasenotes/notes/41322.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: release-notes/v2
kind: bug-fix
area: installation

issue:
- 40876

releaseNotes:
- |
**Fixed** an issue where a wrong schema configuration caused the Istio Operator to go into an error loop.

0 comments on commit eed4d4b

Please sign in to comment.