We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4cd0ba commit 1a1d469Copy full SHA for 1a1d469
pkg/controlplane/controller/crdregistration/crdregistration_controller.go
@@ -195,6 +195,10 @@ func (c *crdRegistrationController) handleVersionUpdate(groupVersion schema.Grou
195
apiServiceName := groupVersion.Version + "." + groupVersion.Group
196
197
if apiserver.APIServiceAlreadyExists(groupVersion) {
198
+ // Removing APIService from sync means the CRD registration controller won't sync this APIService
199
+ // anymore. If the APIService is managed externally, this will mean the external component can
200
+ // update this APIService without CRD controller stomping the changes on it.
201
+ c.apiServiceRegistration.RemoveAPIServiceToSync(apiServiceName)
202
return nil
203
}
204
0 commit comments