Skip to content

Conversation

@paigecalvert
Copy link
Contributor

@paigecalvert paigecalvert commented Mar 27, 2025

@paigecalvert paigecalvert requested a review from a team as a code owner March 27, 2025 16:14
@replicated-ci replicated-ci added type::docs Improvements or additions to documentation type::feature labels Mar 27, 2025
@netlify
Copy link

netlify bot commented Mar 27, 2025

Deploy Preview for replicated-docs ready!

Name Link
🔨 Latest commit 5740a9a
🔍 Latest deploy log https://app.netlify.com/sites/replicated-docs/deploys/67f8457e55091100082e8939
😎 Deploy Preview https://deploy-preview-3141--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 site configuration.

@netlify
Copy link

netlify bot commented Mar 27, 2025

Deploy Preview for replicated-docs-upgrade ready!

Name Link
🔨 Latest commit 5740a9a
🔍 Latest deploy log https://app.netlify.com/sites/replicated-docs-upgrade/deploys/67f8457ee970fb00089d26b3
😎 Deploy Preview https://deploy-preview-3141--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 site configuration.

During Helm installations, after customers provide their license ID, a `global.replicated.dockerconfigjson` field that contains a base64 encoded Docker configuration file is automatically injected in the Helm chart values. You can use this `global.replicated.dockerconfigjson` field to create the required pull secret.
During Helm installations, after customers provide their license ID, a `global.replicated.dockerconfigjson` field that contains a base64 encoded Docker configuration file is automatically injected in the Helm chart values. You can use this `global.replicated.dockerconfigjson` field to create the pull secret required to authenticate with the proxy registry.

For information about how Kubernetes uses the `kubernetes.io/dockerconfigjson` Secret type to authenticate to a private image registry, see [Pull an Image from a Private Registry](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/) in the Kubernetes documentation.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

^ moved some of this preamble down to the relevant step(s)

1. <StepCustomDomain/>

1. In your Helm chart templates, create a Kubernetes Secret to evaluate if the `global.replicated.dockerconfigjson` value is set, and then write the rendered value into a Secret on the cluster:
1. In your Helm chart values file, set your image repository URL to the location of the image on the proxy registry. If you added a custom domain, use your custom domain. Otherwise, use `proxy.replicated.com`.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

^ tell them to update their Helm values rather than having the user pass a values.yaml file to set the registry during install

registry: proxy.replicated.com
repository: proxy/your-app-slug/ghcr.io/cloudnative-pg/cloudnative-pg
tag: catalog-1.24.0
```
Copy link
Contributor Author

Choose a reason for hiding this comment

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

^ is it generally preferable to have separate registry and repository values over just repository (with the full url)? if so I can update the first example too do split registry and repository

Copy link
Member

Choose a reason for hiding this comment

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

yeah, that's more standard

# values.yaml
images:
your-app:
apiImageRepository: images.yourcompany.com/proxy/your-app-slug/ghcr.io/org-name/api
Copy link
Member

Choose a reason for hiding this comment

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

i'd probably match the style of the example below with the same reg, repo, tag fields. that's more standard anyway.

registry: proxy.replicated.com
repository: proxy/your-app-slug/ghcr.io/cloudnative-pg/cloudnative-pg
tag: catalog-1.24.0
```
Copy link
Member

Choose a reason for hiding this comment

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

yeah, that's more standard

@paigecalvert paigecalvert merged commit 6d0a770 into main Apr 10, 2025
5 checks passed
@paigecalvert paigecalvert deleted the 121666 branch April 10, 2025 22:28
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.

4 participants