Skip to content

fix: Grant ConfigMap access to sveltos-dashboard-editor - #201

Merged
gianlucam76 merged 1 commit into
projectsveltos:mainfrom
gianlucam76:editor-configmaps-clusterrole
Oct 31, 2026
Merged

gianlucam76 merged 1 commit into
projectsveltos:mainfrom
gianlucam76:editor-configmaps-clusterrole

Conversation

@gianlucam76

Copy link
Copy Markdown
Member

Creating a ClusterProfile from YAML in the dashboard creates a ConfigMap holding the YAML, and deletes it if the profile cannot be created. Editing a profile gets and updates the ConfigMap. The editor role granted none of it, so these flows failed for a user bound to sveltos-dashboard-editor.

The role now allows create, delete, get and update on ConfigMaps. Secrets are still not covered: they must be granted with a namespaced Role.

Creating a ClusterProfile from YAML in the dashboard creates a ConfigMap holding the YAML,
and deletes it if the profile cannot be created. Editing a profile gets and updates the
ConfigMap. The editor role granted none of it, so these flows failed for a user bound
to sveltos-dashboard-editor.

The role now allows create, delete, get and update on ConfigMaps. Secrets are still not
covered: they must be granted with a namespaced Role.
@gianlucam76
gianlucam76 merged commit 3d9c84e into projectsveltos:main Oct 31, 2026
5 checks passed
@gianlucam76
gianlucam76 deleted the editor-configmaps-clusterrole branch October 31, 2026 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant