DevWorkspace Operator should detect changes to automount volumes/secrets/configmaps and update running workspaces #914
Labels
sprint/current
Is assigned to issues which are planned to work on in the current team sprint
Milestone
Description
The DevWorkspace Operator processes automount volumes/configmaps/secrets only when reconciling a DevWorkspace. However, since these objects are meant to be shared across workspaces, they are not owned by any one workspace and so editing them does not trigger reconciles.
This means that if e.g. a new automount configmap is added to a namespace, it will only be propagated to DevWorkspaces on the next reconcile (which could be a while if there are no events).
Instead, the DevWorkspace Operator should watch automount resources and trigger reconciles for any running workspaces in their namespace to ensure they are up-to-date.
Additional context
This issue also means that updating/refreshing personal access tokens store in a
controller.devfile.io/git-credential
secret will not be propagated to the merged credentials secret until any DevWorkspace is reconciled.The text was updated successfully, but these errors were encountered: