Skip to content
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

Remove odo CLI #72

Merged
merged 2 commits into from
Aug 7, 2024
Merged

Remove odo CLI #72

merged 2 commits into from
Aug 7, 2024

Conversation

AObuchow
Copy link
Collaborator

@AObuchow AObuchow commented Jul 30, 2024

As of WTO 1.11, Web Terminal is based off of UBI9. odo does not currently officially support RHEL9 based images so it is being removed from the tooling image for the time being.

This is part of https://issues.redhat.com/browse/WTO-298.

Some additional notes:

Testing

For convenience, I've pushed the web terminal tooling container built from this PR to quay.io/aobuchow/wto-tooling:1.11-no-odo.

  1. Launch an OpenShift 4.16+ cluster. I recommend OpenShift 4.17, since the backport to fix using kubeadmin with WTO has not been merged to OpenShift 4.16 yet.
  2. Install the web-terminal operator from Operator Hub
  3. Create a web terminal, click the link to specify a custom image, and provide quay.io/aobuchow/wto-tooling:1.11-no-odo. Alternatively, create a web terminal with the default image and run wtoctl set image quay.io/aobuchow/wto-tooling:1.11-no-odo in the web terminal console
  4. Verify the web terminal starts up successfully. odo should no longer be found as a command when running odo and the output of help should not include odo
Welcome to the OpenShift Web Terminal. Type "help" for a list of installed CLI tools.
bash-5.1 ~ $ odo
bash: odo: command not found
bash-5.1 ~ $ help
Installed tools:
Command    Version         Name
oc         4.16.0          OpenShift CLI
kubectl    1.29.1          Kubernetes CLI
kustomize  5.4.2           Kustomize CLI
helm       3.14.4          Helm CLI
kn         1.12.0          KNative CLI
tkn        0.37.0          Tekton CLI
subctl     0.17.2          Submariner CLI
virtctl    1.2.2           KubeVirt CLI
rhoas      0.53.0          Red Hat OpenShift Application Services CLI
jq         1.6             jq

To customize this terminal, see 'wtoctl'

As of WTO 1.11, Web Terminal is based off of UBI9.
odo does not currently officially support RHEL9 based images so
it is being removed from the tooling image for the time being.

Signed-off-by: Andrew Obuchowicz <[email protected]>
Copy link
Collaborator

@dkwon17 dkwon17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It works, could you please remove the odo bits as well? It's unnecessary code and we can always add them back later

@AObuchow
Copy link
Collaborator Author

AObuchow commented Aug 2, 2024

It works, could you please remove the odo bits as well? It's unnecessary code and we can always add them back later

+1 will do

@AObuchow
Copy link
Collaborator Author

AObuchow commented Aug 6, 2024

@dkwon17 pushed latest changes to remove all traces of odo & pushed changes to quay.io/aobuchow/wto-tooling:1.11-no-odo 👍

@AObuchow AObuchow merged commit 30b1b30 into redhat-developer:main Aug 7, 2024
2 checks passed
@AObuchow
Copy link
Collaborator Author

AObuchow commented Aug 7, 2024

🤦 I merged the fixup commit.. oh well

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.

2 participants