Closed slemeur closed 1 year ago
Image can be deployed to OpenShift cluster (Developer Dandbox, Dedicated or Local) using public image registry (docker.io, quai.io) or internal OpenShift registry.
With https://github.com/redhat-developer/podman-desktop-sandbox-ext/pull/85 and https://github.com/containers/podman-desktop/pull/2569 are applied it can be done step by step assuming one knows the steps to do it. The demo from https://github.com/redhat-developer/podman-desktop-sandbox-ext/pull/85 shows how to deploy image on OpenShift Developer Sandbox using internal registry.
https://user-images.githubusercontent.com/620330/239669325-dd984942-8824-40f0-943b-6173e322d3b2.mov
When pushing locally built image there is a problem with image name, so it can't be pushed to docker without renaming. It named by default as docke.io/library/image-name. Even if docker registry user/name login is configured push will fail because name should be docker.io/${username}/image-name. Rename can be done in CLI for now. There is WIP PR for renaming image feature https://github.com/containers/podman-desktop/pull/2588.
Available from github snapshot image.
As a user, I should be informed that my image is currently not available on a registry (as it's a local one). When doing a deploy to kubernetes, I should be invited to use the internal registry of DevSanbox