Skip to content

feat(helm): readiness rootca cleanup - #32

Merged
shimoncohen merged 4 commits into
mainfrom
feat/helm-readiness-rootca-cleanup
Aug 2, 2026
Merged

feat(helm): readiness rootca cleanup#32
shimoncohen merged 4 commits into
mainfrom
feat/helm-readiness-rootca-cleanup

Conversation

@shimoncohen

Copy link
Copy Markdown
Contributor

No description provided.

shimoncohen and others added 4 commits August 2, 2026 16:50
Add a readinessProbe (httpGet / on 8080) so rolling updates and the Route
stop sending traffic to pods before the app is up.

Replace the blanket NODE_TLS_REJECT_UNAUTHORIZED=0 (disabled all outbound
TLS verification) with proper trust: a global.ca block referencing a
pre-existing root-ca Secret, mounted into the pod and exported via
NODE_EXTRA_CA_CERTS. Gated on global.ca.secretName; set empty to disable.
Follows the docker-mapproxy convention.

Remove leftover nginx scaffolding (commented volume/volumeMount blocks and
the default.conf configmap entry) — this is a Node/SvelteKit app.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add a startupProbe (httpGet / on 8080) that gates liveness and readiness
until the app has booted, giving up to ~5m (30x10s) plus the existing
initialDelaySeconds grace. Move initialDelaySeconds onto the startupProbe
and drop it from livenessProbe so liveness reacts quickly to hangs once
the container is up.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The CA mount path and key never vary; only the source Secret name does.
Inline /usr/local/share/ca-certificates/ca.crt and drop global.ca.path /
global.ca.key, leaving global.ca.secretName as the sole knob.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Collapse the multi-line explanatory comments to one-liners and drop pure
narration, keeping only what isn't clear from the keys themselves: the
external-Secret key contracts, the '' toggle semantics, dark-by-default
agent, and the proxy origin override.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@shimoncohen
shimoncohen merged commit a759412 into main Aug 2, 2026
6 checks passed
@shimoncohen
shimoncohen deleted the feat/helm-readiness-rootca-cleanup branch August 2, 2026 14:17
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