Skip to content

Upgrade overwrites some sections of Shell UI configuration #3496

@gdemonet

Description

@gdemonet

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 the metalk8s-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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:bugSomething isn't workingtopic: cluster&service configurationAnything related to cluster and service configuration persistencetopic:lifecycleIssues related to upgrade or downgrade of MetalK8stopic:uiUI-related issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions