Upgrade overwrites some sections of Shell UI configuration #3496
Labels
kind:bug
Something isn't working
topic: cluster&service configuration
Anything related to cluster and service configuration persistence
topic:lifecycle
Issues related to upgrade or downgrade of MetalK8s
topic:ui
UI-related issues
Component: salt, shell-ui, csc
What happened: On a platform where Shell UI was re-configured to include more UIs and map users to new groups, an upgrade of MetalK8s triggered a reset for some sections of this configuration.
What was expected: Upgrade should maintain user configurations.
Steps to reproduce: Add a role in the
spec.userGroupsMapping[[email protected]]
key of themetalk8s-ui/shell-ui-config
ConfigMap, and trigger an upgrade. The added role is removed.Resolution proposal (optional): Implement a smarter merge algorithm when combining user-provided config with embedded defaults.
The text was updated successfully, but these errors were encountered: