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