Skip to content

feat: add nameOverride as a way to brand the sdk chart#4033

Merged
banjoh merged 4 commits into
mainfrom
evansmungai/sc-136261/support-helm-native-alias-field-for-renaming
May 7, 2026
Merged

feat: add nameOverride as a way to brand the sdk chart#4033
banjoh merged 4 commits into
mainfrom
evansmungai/sc-136261/support-helm-native-alias-field-for-renaming

Conversation

@banjoh
Copy link
Copy Markdown
Member

@banjoh banjoh commented May 6, 2026

banjoh added 2 commits May 6, 2026 13:55
Signed-off-by: Evans Mungai <evans@replicated.com>
Signed-off-by: Evans Mungai <evans@replicated.com>
@banjoh banjoh requested a review from a team as a code owner May 6, 2026 15:00
@netlify
Copy link
Copy Markdown

netlify Bot commented May 6, 2026

Deploy Preview for replicated-docs ready!

Name Link
🔨 Latest commit e693fdb
🔍 Latest deploy log https://app.netlify.com/projects/replicated-docs/deploys/69fb8fba4e00ab00085af56a
😎 Deploy Preview https://deploy-preview-4033--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.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 6, 2026

Deploy Preview for replicated-docs-upgrade ready!

Name Link
🔨 Latest commit e693fdb
🔍 Latest deploy log https://app.netlify.com/projects/replicated-docs-upgrade/deploys/69fb8fbaedb2770008e644e0
😎 Deploy Preview https://deploy-preview-4033--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 May 6, 2026
banjoh and others added 2 commits May 6, 2026 18:14
Signed-off-by: Evans Mungai <evans@replicated.com>
Comment thread docs/vendor/replicated-sdk-customizing.mdx
Comment thread docs/vendor/replicated-sdk-customizing.mdx
Comment thread docs/vendor/replicated-sdk-customizing.mdx
Comment thread docs/vendor/replicated-sdk-customizing.mdx
Comment thread docs/vendor/replicated-sdk-customizing.mdx
Comment thread docs/vendor/replicated-sdk-customizing.mdx
Comment thread docs/vendor/replicated-sdk-customizing.mdx
Comment thread docs/vendor/replicated-sdk-customizing.mdx
Comment thread docs/vendor/replicated-sdk-customizing.mdx
* [Set the `replicated.nameOverride` value](#brand-sdk-name-override): You can set the SDK's `replicated.nameOverride` value in your application's `values.yaml` file. Use `nameOverride` if the SDK is installed as a top-level chart instead of a subchart. The Helm `alias` field is only available on chart dependencies.

:::note
Branding the SDK doesn't change the `proxy.replicated.com` domain where the SDK chart is pulled during installation. For information about how to set a custom domain for the Replicated proxy registry, see [About custom domains](custom-domains).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I changed this to proxy.replicated.com instead of registry.replicated.com per https://github.com/replicatedhq/replicated-sdk/blob/main/chart/values.yaml#L55

(SDK pulls through the proxy registry by default)


### Brand the SDK with a Helm alias {#brand-sdk-alias}

If the Replicated SDK is installed as a subchart, you can use Helm's `alias` key to brand the SDK. For more information, see [Alias field in dependencies](https://helm.sh/docs/topics/charts/#alias-field-in-dependencies) in the Helm documentation.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

^ added this link to helm docs

- name: replicated
alias: yourcompany-sdk
repository: oci://registry.replicated.com/library
version: 1.19.3
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

^ figured I'd leave this part out since it's likely to get out of date easily

## Brand the SDK with a Helm alias {#brand-sdk-alias}
## Brand the SDK {#brand-sdk}

When the Replicated SDK is installed as a subchart, it creates Kubernetes resources using the name `replicated`. This includes a `replicated` Deployment, Service, ServiceAccount, and Role. To make these resources match your product or company branding rather than exposing the `replicated` name to end customers in the cluster, you can rename the SDK subchart using Helm's [`alias`](https://helm.sh/docs/topics/charts/#tags-and-condition-fields-in-dependencies) field on the dependency.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

When the Replicated SDK is installed as a subchart,

I removed this part because I think this applies regardless of if it's top-level or it's a subchart right? (If not, it seems like the whole nameOverride section doesn't apply)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

That's correct. The section duplicated information

@banjoh
Copy link
Copy Markdown
Member Author

banjoh commented May 7, 2026

I'll merge once the implementation PRs are merged

@banjoh banjoh merged commit 4320f99 into main May 7, 2026
5 checks passed
@banjoh banjoh deleted the evansmungai/sc-136261/support-helm-native-alias-field-for-renaming branch May 7, 2026 15:34
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.

3 participants