-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.17.z, 4.18.0
-
None
-
Moderate
-
None
-
False
-
Description of problem:
Consoleplugin could be enabled repeatedly when it's already enabled.
Version-Release number of selected component (if applicable):
4.18.0-0.nightly-2024-11-14-090045
How reproducible:
Always
Steps to Reproduce:
1.Go to console operator's 'Console Plugins' tab("/k8s/cluster/operator.openshift.io~v1~Console/cluster/console-plugins"), choose on console plugin, enable consoleplugin from modal by cicking 'Enabled/Disabled' edit button, try several times even though the plugin has been enabled. 2.Check console operator yaml. 3.
Actual results:
1. Could enable consoleplugin repeatedly. 2. The same consoleplugin are added in console operator several times. $ oc get consoles.operator.openshift.io cluster -ojson | jq '.spec.plugins' [ "monitoring-plugin", "monitoring-plugin", "networking-console-plugin", "networking-console-plugin" ]
Expected results:
1.Should not enable repeatedly. 2. Should not add the same consoleplugin multiple times in console operator
Additional info:
We can even add the same plugin name in console operator yaml directly, that's not corect.