diff --git a/docs/website/docs/_imageregistrynote.mdx b/docs/website/docs/_imageregistrynote.mdx new file mode 100644 index 00000000000..82453ec7449 --- /dev/null +++ b/docs/website/docs/_imageregistrynote.mdx @@ -0,0 +1,5 @@ +:::note +Depending upon the container registry specified in the `devfile.yaml`, the access for container image +pushed by `odo deploy` may be private by default. For example: images pushed to [Quay.io](https://quay.io). Change the +image visibility appropriately in order to run `odo deploy` successfully. +::: diff --git a/docs/website/docs/command-reference/deploy.md b/docs/website/docs/command-reference/deploy.md index 0367d047f98..6fd068eb8de 100644 --- a/docs/website/docs/command-reference/deploy.md +++ b/docs/website/docs/command-reference/deploy.md @@ -65,7 +65,13 @@ components: image: {{CONTAINER_IMAGE}} ``` -Note that the `uri` for the Dockerfile could also be an HTTP or HTTPS URL. +:::note +The `uri` for the Dockerfile could also be an HTTP or HTTPS URL. +::: + +import Note from '../_imageregistrynote.mdx'; + + ### Running the command ```shell diff --git a/docs/website/docs/user-guides/advanced/deploy/_running_deploy.mdx b/docs/website/docs/user-guides/advanced/deploy/_running_deploy.mdx index 44b1da8d80d..be2c6f042fb 100644 --- a/docs/website/docs/user-guides/advanced/deploy/_running_deploy.mdx +++ b/docs/website/docs/user-guides/advanced/deploy/_running_deploy.mdx @@ -39,10 +39,7 @@ Your Devfile has been successfully deployed Your application has now been deployed to the Kubernetes cluster with Deployment, Service, and Ingress resources. -:::note -Depending upon the container registry specified in the `devfile.yaml`, the access for container image -pushed by `odo deploy` may be private by default. For example: images pushed to [Quay.io](https://quay.io). Change the -image visibility appropriately in order to run `odo deploy` successfully. -::: +import Note from '../../../_imageregistrynote.mdx'; + Test your application by visiting the `DOMAIN_NAME` variable that you had set in the `devfile.yaml`.