Skip to content

feat(chart): add optional webapp.strategy (PLT-2265) - #30

Merged
jmho-govsignals merged 1 commit into
gs-v4.4.4from
plt-2265-webapp-strategy
Nov 23, 2026
Merged

jmho-govsignals merged 1 commit into
gs-v4.4.4from
plt-2265-webapp-strategy

Conversation

@jmho-govsignals

Copy link
Copy Markdown
Collaborator

The webapp Deployment template had no way to set its update strategy, so it always used Kubernetes' default RollingUpdate. With one replica and the shared ReadWriteOnce volume (persistence.shared), a rolling update starts the new pod before the old one stops, and the new pod waits indefinitely to attach the volume. GovSignals deployments set Recreate with a Helm post-render patch instead; IL5 lost that patch in a config change on 2026-11-23 and a webapp rollout stalled until the old pod was removed by hand.

Added

  • webapp.strategy value, rendered as the Deployment's spec.strategy. Empty by default.

Changed

  • Chart version 4.5.7-plt663.11 → 4.5.7-plt663.12.

The GovSignals umbrella chart will set trigger-upstream.webapp.strategy.type: Recreate by default once it pins the prerelease this PR publishes.

Validation

  • helm template with --set webapp.strategy.type=Recreate: the webapp Deployment renders strategy: {type: Recreate}.
  • helm template with defaults: no strategy key, and the full render is identical to gs-v4.4.4 apart from the chart label and Helm's randomly generated secrets.
  • Not tested on a cluster.

Tracking: PLT-2265

🤖 Generated with Claude Code

The webapp Deployment had no way to set its update strategy, so it always
used the Kubernetes default (RollingUpdate). With one replica and the shared
ReadWriteOnce volume, a rolling update starts the new pod before the old one
stops, and the new pod waits forever to attach the volume. Deployments worked
around it with a Helm post-render patch, which was lost in a config change.

Add webapp.strategy, empty by default so existing installs render the same
Deployment as before, and bump the chart to 4.5.7-plt663.12.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

🧭 Helm Chart Prerelease Published

Version: 4.5.7-plt663.12-pr30.98bddca

Install:

helm upgrade --install trigger \
  oci://ghcr.io/govsignals/charts/vendored-upstream-trigger \
  --version "4.5.7-plt663.12-pr30.98bddca"

⚠️ This is a prerelease for testing. Do not use in production.

@jmho-govsignals
jmho-govsignals marked this pull request as ready for review November 23, 2026 22:18
@jmho-govsignals
jmho-govsignals merged commit 8a1c5bc into gs-v4.4.4 Nov 23, 2026
19 of 20 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.

2 participants