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 @@ -245,7 +245,6 @@ func (c *authOperator) Key() (metav1.Object, error) {
245
245
func (c * authOperator ) Sync (obj metav1.Object ) error {
246
246
operatorConfig := obj .(* operatorv1.Authentication )
247
247
248
- // TODO bump and use IsOperatorManaged
249
248
if operatorConfig .Spec .ManagementState != operatorv1 .Managed {
250
249
return nil // TODO do something better for all states
251
250
}
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