-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use a custom image instead of the default image in WTO v 1.3.0 #123
Comments
@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:
Edit: OpenShift version: 4.10.18, Web Terminal Operator 1.5.0, DevWorkspace Operator 0.14.1 |
@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: