Skip to content

fix(helm): apply configured image pull secrets to Pods - #40

Open
youngkermit8-coder wants to merge 1 commit into
IvorySQL:mainfrom
youngkermit8-coder:codex/helm-image-pull-secrets
Open

youngkermit8-coder wants to merge 1 commit into
IvorySQL:mainfrom
youngkermit8-coder:codex/helm-image-pull-secrets

Conversation

@youngkermit8-coder

Copy link
Copy Markdown

imagePullSecrets is exposed in values.yaml but never rendered into the StatefulSet Pod spec. Private registry users therefore cannot pass their pull credentials through the chart. Render the configured list at Pod scope, omitting the field when the list is empty.

Validation: python tests/test_helm_pull_secrets.py with Helm 3.19.0 and PyYAML verifies the default omission and exact propagation of two named secrets. The custom case fails on the base revision and passes with this change. No secret contents are included or needed.

git diff --check passes. These are render-time regression tests; no live Kubernetes cluster deployment was run.

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.

1 participant