Description of problem: When set invalid value to spec.logLevel and spec.operatorLogLevel in configs.imageregistry.operator.openshift.io, no warning appears. Version-Release number of selected component (if applicable): 4.6.0-0.nightly-2020-09-10-195619 How reproducible: Always Steps to Reproduce: 1.Change loglevel and operatorLogLevel with invalid values: logLevel: abc logging: 0 managementState: Managed observedConfig: null operatorLogLevel: abc 2. 3. Actual results: No warning appears. Expected results: There should be warning appears. Additional info:
Increasing priority. We should have landed the API change 17 days ago when the controller merged. We have to vendor it into all the operators with logLevels.
Verified on 4.6.0-0.nightly-2020-10-08-182439. configs.imageregistry.operator.openshift.io "cluster" was not valid: # * spec.operatorLogLevel: Unsupported value: "abc": supported values: "", "Normal", "Debug", "Trace", "TraceAll"
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:4196