Skip to content

Conversation

paigecalvert
Copy link
Contributor

@paigecalvert paigecalvert commented Oct 9, 2025

@paigecalvert paigecalvert requested a review from a team as a code owner October 9, 2025 18:34
# The default location for the SDK image is
# proxy.replicated.com/library/replicated-sdk-image
repository: '{{repl LocalRegistryNamespace }}/library/replicated-sdk-image'
repository: '{{repl LocalRegistryNamespace }}/replicated-sdk-image'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The following describes how to configure the image registry and repository fields:
* For the `when` statement, use the [HasLocalRegistry](/reference/template-functions-config-context#haslocalregistry) template function to evaluate if a local registry is configured.
* For the image registry, use the [LocalRegistryHost](/reference/template-functions-config-context#localregistryhost) template function to inject the local registry's hostname.
* For the image repository, use the [LocalRegistryNamespace](/reference/template-functions-config-context#localregistrynamespace) template function to inject the local registry's namespace, followed by the image name and any tags. For example, for an image located at `registryhostname.com/namespace/more-path/name:tag`, set the repository in `optionalValues` to `'{{repl LocalRegistryNamespace }}'/name:tag`. You do not need to include the full path because KOTS automatically strips everything from the image name except `name:tag` when pushing an image to a local registry.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

^ adds explanation of how to configure each field to rewrite the image name for local registries

Copy link

netlify bot commented Oct 9, 2025

Deploy Preview for replicated-docs ready!

Name Link
🔨 Latest commit fd6daba
🔍 Latest deploy log https://app.netlify.com/projects/replicated-docs/deploys/68e8007195f00700076d889f
😎 Deploy Preview https://deploy-preview-3579--replicated-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

netlify bot commented Oct 9, 2025

Deploy Preview for replicated-docs-upgrade ready!

Name Link
🔨 Latest commit fd6daba
🔍 Latest deploy log https://app.netlify.com/projects/replicated-docs-upgrade/deploys/68e80071c31bbb000816a5fc
😎 Deploy Preview https://deploy-preview-3579--replicated-docs-upgrade.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@replicated-ci replicated-ci added type::docs Improvements or additions to documentation type::feature labels Oct 9, 2025
<summary>What is the registry namespace?</summary>
The registry namespace is the path between the registry and the image name. For example, `images.registry.com/namespace/image:tag`.
</details>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

^ I think probably can remove this in favor of the new explanation of how to construct the repository path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type::docs Improvements or additions to documentation type::feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants