You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(chart): add extraEnv and rollout on secrets #626
The app container's env is fixed in _deployment.tpl. Operators can't inject settings from their own Secrets or ConfigMaps, such as MONGO_URI. Pods restart when the config overlay changes (checksum/config exists for app and worker), but not when a referenced Secret changes.
Proposal
<valuesKey>:
extraEnv: [] # list of EnvVarextraEnvFrom: [] # list of EnvFromSourcerolloutOnSecrets: [] # Secret names whose data checksum becomes a pod annotation
Applied to the app and worker containers, not to the bundled broker or MongoDB.
Rendering fails when extraEnv sets a variable FOCA owns (FOCA_CONFIG_OVERLAY, GUNICORN_CMD_ARGS; MONGO_USERNAME, MONGO_PASSWORD when auth is on), like the refusal of --bind in extraArgs.
rolloutOnSecrets uses lookup, which is empty in helm template and Argo CD: document that, and Stakater Reloader as the alternative, with no dependency on it.
Schema, petstore example, docs and migration notes.
Acceptance criteria
Chart tests: env lists for app and worker; reserved names fail; rolloutOnSecrets renders without error in helm template.
helm lint, chart unit tests and the kind install pass.
Activity