You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a workspace deployment, DWO searches for secrets with the label controller.devfile.io/devworkspace_pullsecret and adds them to the pod's imagePullSecrets. However, this list of secrets is not sorted, and so separate reconciles can modify the workspace deployment, swapping the order of imagePullSecrets. This results in the workspace pod randomly restarting when the workspace is reconciled, and can prevent workspace startup.
How To Reproduce
Create multiple secrets with the controller.devfile.io/devworkspace_pullsecret: true label (controller.devfile.io/watch-secret: true is also required).
Start a DevWorkspace
Check if workspace pod is repeatedly rolled out (setting enableExperimentalFeatures in the DevWorkspaceOperatorConfig will show changes made to the workspace deployment)
Expected behavior
Updates should only be submitted to the cluster if an imagePullSecret needs to be added/removed.
Additional context
The text was updated successfully, but these errors were encountered:
Description
When creating a workspace deployment, DWO searches for secrets with the label
controller.devfile.io/devworkspace_pullsecret
and adds them to the pod's imagePullSecrets. However, this list of secrets is not sorted, and so separate reconciles can modify the workspace deployment, swapping the order of imagePullSecrets. This results in the workspace pod randomly restarting when the workspace is reconciled, and can prevent workspace startup.How To Reproduce
controller.devfile.io/devworkspace_pullsecret: true
label (controller.devfile.io/watch-secret: true
is also required).enableExperimentalFeatures
in the DevWorkspaceOperatorConfig will show changes made to the workspace deployment)Expected behavior
Updates should only be submitted to the cluster if an imagePullSecret needs to be added/removed.
Additional context
The text was updated successfully, but these errors were encountered: