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
@szemmour-rh, maybe you already found a solution, but I wanted to share a solution.
I ran into this same problem, and found that it was because I didn't delete the current Pods that were running. Running this command, and then starting a new web terminal session worked for me:
oc delete pod -l 'controller.devfile.io/devworkspace_id' -n $YOUR_NAMESPACE
@evanshortiss is correct here, though you don't technically need to delete the pods -- any event related to the terminal will trigger the Operator to update the pod with the intended image. Deleting the pod does this, but so does adding an annotation to the pod/deployment/DevWorkspace.
This is occurring because the operator is event-driven -- if a terminal is running no objects are triggering events, the operator will not look at it and apply the updates from the DevWorkspaceTemplate. Without intervention, eventually the terminal you're using will shut down (idle -- default is 15 minutes), and when restarted will use the new image.
Describe the bug
In the version 1.3.0 i was not able to change the default image used by the web terminal operator
Expected Behavior
the new image set in DevWorkspaceTemplates [web-terminal-tooling] should be used by the terminal
Current Behavior
the old default image still used even after changing the DevWorkspaceTemplates [web-terminal-tooling] yaml
Steps to Reproduce
What steps can be done to reproduce
OpenShift Version:
4.8.35
The text was updated successfully, but these errors were encountered: