Skip to content

Wire deployment pod-spec names to replicated.name helper - #445

Merged
banjoh merged 1 commit into
mainfrom
evansmungai/sc-139090/replicated-sdk-wire-deployment-pod-spec-names
Jul 30, 2026
Merged

Wire deployment pod-spec names to replicated.name helper#445
banjoh merged 1 commit into
mainfrom
evansmungai/sc-139090/replicated-sdk-wire-deployment-pod-spec-names

Conversation

@banjoh

@banjoh banjoh commented Jul 29, 2026

Copy link
Copy Markdown
Member

What does this PR do?

Points the Deployment's volumes[].name, containers[].name, and volumeMounts[].name fields at the existing replicated.name helper instead of the hardcoded literal replicated, so nameOverride/subchart alias rebrands the pod-spec fields too, not just the Kubernetes object names.

Out of scope (per the linked story): config file path, REPLICATED_* env vars, image domain, and other internal-only strings.

Verified via helm template with nameOverride and as an aliased subchart — volume/container/volumeMount all pick up the override, volume/volumeMount stay matched, helm lint passes.

Fixes sc-139090.

Does this PR introduce a user-facing change?

Fixed the Replicated SDK Helm chart so that setting `nameOverride` (or declaring the chart as an aliased subchart) rebrands the container, volume, and volumeMount names in the rendered Deployment, not just the Kubernetes object names.

Container, volume, and volumeMount names in the Deployment were
hardcoded to "replicated", so nameOverride/alias rebranded the
Kubernetes object names but left the pod-spec fields showing the
literal "replicated" name.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@banjoh
banjoh enabled auto-merge (squash) July 30, 2026 11:43
@banjoh
banjoh merged commit 12b3901 into main Jul 30, 2026
8 checks passed
@banjoh
banjoh deleted the evansmungai/sc-139090/replicated-sdk-wire-deployment-pod-spec-names branch July 30, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants