-
Story
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
2
-
False
-
None
-
False
-
HAC Infra - Sprint 220
In the 4.11 release, a console.openshift.io/default-i18next-namespace annotation is being introduced. The annotation indicates whether the ConsolePlugin contains localization resources. If the annotation is set to "true", the localization resources from the i18n namespace named after the dynamic plugin (e.g. plugin__kubevirt), are loaded. If the annotation is set to any other value or is missing on the ConsolePlugin resource, localization resources are not loaded.
In case these resources are not present in the dynamic plugin, the initial console load will be slowed down. For more info check BZ#2015654
AC:
- console-operator should be checking for the new console.openshift.io/use-i18n annotation, update the console-config.yaml accordingly and redeploy the console server
- console server should pick up the changes in the console-config.yaml and only load the i18n namespace that are available
Follow up of https://issues.redhat.com/browse/CONSOLE-3159