Skip to content

feat/helm api command probe strategy - #5988

Merged
nicoloboschi merged 1 commit into
mainfrom
feat/helm-api-command-probe-strategy
Oct 23, 2026
Merged

nicoloboschi merged 1 commit into
mainfrom
feat/helm-api-command-probe-strategy

Conversation

@nicoloboschi

@nicoloboschi nicoloboschi commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #5843

Adds four optional values under api, each unset by default:

  • api.command — override the container command (e.g. wrap the server in a log filter)
  • api.startupProbe — rendered only when set; liveness/readiness wait for it
  • api.strategy — e.g. {type: Recreate} for a single replica / RWO volume
  • api.automountServiceAccountToken — rendered only when it is a boolean

The default helm template output is byte-identical to main. A new lint-helm-chart step checks the default render has none of the four and that each renders when set.

Tested on a real cluster (k3s via local-kubernetes-runner)

Installed the chart with all four set (image 1.1.0, LLM provider none):

  • Deployment shows strategy: Recreate, automountServiceAccountToken: false, the custom command and the startup probe.
  • No token mounted in the pod (/var/run/secrets/kubernetes.io/serviceaccount absent).
  • All 217 log lines came through the wrapper command ([wrapped] prefix); /health healthy.
  • rollout restart: old ReplicaSet scaled to 0 before the new one scaled up; never more than one api pod at once.

…tServiceAccountToken

Four optional api values, all unset by default, so the default render is
byte-identical. Adds a lint-helm-chart render step that checks the default
has none of them and each one renders when set.

Closes #5843
@nicoloboschi
nicoloboschi merged commit 80591c2 into main Oct 23, 2026
116 of 117 checks passed
@nicoloboschi
nicoloboschi deleted the feat/helm-api-command-probe-strategy branch October 23, 2026 08:33
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: optional api command, startupProbe, Deployment strategy and automountServiceAccountToken

1 participant