Skip to content

fix: helm chart strategy indentation and envFrom default#126

Merged
jasonmadigan merged 1 commit into
mainfrom
125-helm-strategy-envfrom-fix
Jul 1, 2026
Merged

fix: helm chart strategy indentation and envFrom default#126
jasonmadigan merged 1 commit into
mainfrom
125-helm-strategy-envfrom-fix

Conversation

@jasonmadigan

Copy link
Copy Markdown
Collaborator

Summary

Closes #125. Follow-up from #79 (Helm chart contribution).

Two fixes:

  1. strategy moved to correct indent level -- was under spec.template.spec (pod spec, silently ignored by K8s). Now under spec (deployment spec) alongside replicas:. Without this, upgrades default to RollingUpdate which deadlocks with the RWO PVC.

  2. envFrom defaults to [] -- was defaulting to a concrete secretRef: existing-secret, causing CreateContainerConfigError on fresh installs. Now empty with commented examples.

Test evidence

  • helm lint chart/ passes
  • helm template chart/ renders strategy at correct level, no envFrom block by default
  • make lint clean

Move strategy block from spec.template.spec (pod spec, silently ignored)
to spec (deployment spec) so Recreate strategy actually takes effect.
Without this, RollingUpdate deadlocks on upgrade with RWO PVC.

Change envFrom default from a concrete secretRef to an empty list so
fresh installs don't fail with CreateContainerConfigError.

Fixes #125

Signed-off-by: Jason Madigan <[email protected]>
@jasonmadigan
jasonmadigan marked this pull request as ready for review July 1, 2026 11:34
@jasonmadigan
jasonmadigan merged commit a4798a4 into main Jul 1, 2026
3 checks passed
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.

Helm chart: fix strategy indentation and envFrom default

1 participant