From 036fb024a19578fe8d073cf81495077588916c8f Mon Sep 17 00:00:00 2001 From: jcapitao1 Date: Apr 26 2024 13:10:03 +0000 Subject: Edit namesapce in tcib command The namespace must exist in order to create the ImageStreamMapping, so we need to set openstack (already created) instead of cloudsig-bobcat which does no exist. --- diff --git a/docs/rdo_on_okd/container_images_with_tcib.md b/docs/rdo_on_okd/container_images_with_tcib.md index 6bdd471..dd5953b 100644 --- a/docs/rdo_on_okd/container_images_with_tcib.md +++ b/docs/rdo_on_okd/container_images_with_tcib.md @@ -49,7 +49,7 @@ $ sudo dnf install -y buildah podman python3-tcib 3. Build the container images: ``` -$ openstack tcib container image build --base quay.io/centos/centos:stream9 --distro centos --release 9 --namespace cloudsig-bobcat --tag cloudsig-bobcat +$ openstack tcib container image build --base quay.io/centos/centos:stream9 --distro centos --release 9 --namespace openstack --tag cloudsig-bobcat ``` You can use your preferred namespace and tag. @@ -80,3 +80,5 @@ running in a OKD server deployed using CRC: $ sudo podman login -u kubeadmin -p $(oc whoami -t) default-route-openshift-image-registry.apps-crc.testing --tls-verify=false $ openstack tcib container image build --base quay.io/centos/centos:stream9 --distro centos --release 9 --namespace openstack --tag cloudsig-bobcat --push --registry default-route-openshift-image-registry.apps-crc.testing ``` + +**Note:** make sure the namespace exists in the OpenShift cluster, otherwise tcib will fail in pushing the images to the OpenShift registry.