File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,6 @@ func (c *authOperator) Key() (metav1.Object, error) {
248
248
func (c * authOperator ) Sync (obj metav1.Object ) error {
249
249
operatorConfig := obj .(* operatorv1.Authentication )
250
250
251
- // TODO bump and use IsOperatorManaged
252
251
if operatorConfig .Spec .ManagementState != operatorv1 .Managed {
253
252
return nil // TODO do something better for all states
254
253
}
Original file line number Diff line number Diff line change @@ -158,8 +158,9 @@ func RunOperator(ctx *controllercmd.ControllerContext) error {
158
158
159
159
configOverridesController := unsupportedconfigoverridescontroller .NewUnsupportedConfigOverridesController (operatorClient , ctx .EventRecorder )
160
160
logLevelController := loglevel .NewClusterOperatorLoggingController (operatorClient , ctx .EventRecorder )
161
- // TODO remove this controller once we support Unmanaged and Removed
161
+ // TODO remove this controller once we support Removed
162
162
managementStateController := management .NewOperatorManagementStateController (clusterOperatorName , operatorClient , ctx .EventRecorder )
163
+ management .SetOperatorNotRemovable ()
163
164
// TODO move to config observers
164
165
// configobserver.NewConfigObserver(...)
165
166
You can’t perform that action at this time.
0 commit comments