iuclabs-runners: trust Vault CA in runner pods #581

Merged
benvin merged 1 commits from benvin/runners-vault-ca into main 2026-11-14 22:02:55 +11:00
Member

Workflows on the iuclabs-k8s scale set log into https://vault.service.consul:8200, which serves a cert from the internal unkin.net CA that the runner image does not trust, so vault-action and curl fail TLS verification.

  • Mount the reflected vault-ca-cert Secret read-only at /etc/vault-ca in the runner container.
  • Set NODE_EXTRA_CA_CERTS=/etc/vault-ca/ca.crt so Node actions (vault-action) trust it alongside public CAs.
  • curl callers pass --cacert /etc/vault-ca/ca.crt; SSL_CERT_FILE stays untouched to keep public TLS working.
Workflows on the iuclabs-k8s scale set log into https://vault.service.consul:8200, which serves a cert from the internal unkin.net CA that the runner image does not trust, so vault-action and curl fail TLS verification. - Mount the reflected `vault-ca-cert` Secret read-only at `/etc/vault-ca` in the runner container. - Set `NODE_EXTRA_CA_CERTS=/etc/vault-ca/ca.crt` so Node actions (vault-action) trust it alongside public CAs. - curl callers pass `--cacert /etc/vault-ca/ca.crt`; `SSL_CERT_FILE` stays untouched to keep public TLS working.
unkin-agent added 1 commit 2026-11-14 19:14:44 +11:00
Trust Vault CA in iuclabs-k8s runner pods
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
970b3d4688
Author
Member

No findings.

No findings.
benvin merged commit 166605d3f1 into main 2026-11-14 22:02:55 +11:00
benvin deleted branch benvin/runners-vault-ca 2026-11-14 22:02:55 +11:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/argocd-apps#581