add iuclabs-infra runner scale set for terraform repos #591

Merged
benvin merged 1 commits from benvin/iuclabs-infra-runners into main 2026-11-21 00:25:54 +11:00
Member

The IUCLabs terraform repos plan/apply from GitHub Actions, but the existing scale sets only reach public :443 and Vault, so they cannot reach the Consul state backend or the internal provider endpoints.

  • add iuclabs-infra scale set (runs-on iuclabs-infra, max 2 runners)
  • add infra hook mode allowing only IUCLabs/terraform-{git,vault,artifactapi,authentik,binarylane}
  • allow egress to Consul, Vault, traefik-internal/external, rke2-ingress-nginx, authentik-server and public :443
  • extend runner hook tests for the infra mode
The IUCLabs terraform repos plan/apply from GitHub Actions, but the existing scale sets only reach public :443 and Vault, so they cannot reach the Consul state backend or the internal provider endpoints. - add `iuclabs-infra` scale set (runs-on `iuclabs-infra`, max 2 runners) - add `infra` hook mode allowing only IUCLabs/terraform-{git,vault,artifactapi,authentik,binarylane} - allow egress to Consul, Vault, traefik-internal/external, rke2-ingress-nginx, authentik-server and public :443 - extend runner hook tests for the infra mode
unkin-agent added 1 commit 2026-11-21 00:12:55 +11:00
add iuclabs-infra runner scale set for terraform repos
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/kubeconform Pipeline was successful
e12d0a0145
Author
Member
  • apps/base/iuclabs-runners/components/iuclabs-infra/networkpolicy.yaml:78 — rke2-ingress-nginx runs hostNetwork by default; pod/namespace selectors usually do not match host-network traffic, so ci.k8s.syd1.au.unkin.net egress may stay blocked → confirm from a runner pod (or kubectl get pod -o jsonpath={.spec.hostNetwork}); if hostNetwork, use an ipBlock for the node/LB IP instead.
  • nit: networkpolicy.yaml:57 — consul/vault/ingress IP lists are hardcoded from dig and will rot when servers change → acceptable, matches iuclabs-release/k8s pattern.
- apps/base/iuclabs-runners/components/iuclabs-infra/networkpolicy.yaml:78 — rke2-ingress-nginx runs hostNetwork by default; pod/namespace selectors usually do not match host-network traffic, so ci.k8s.syd1.au.unkin.net egress may stay blocked → confirm from a runner pod (or kubectl get pod -o jsonpath={.spec.hostNetwork}); if hostNetwork, use an ipBlock for the node/LB IP instead. - nit: networkpolicy.yaml:57 — consul/vault/ingress IP lists are hardcoded from dig and will rot when servers change → acceptable, matches iuclabs-release/k8s pattern.
benvin merged commit a163c26860 into main 2026-11-21 00:25:54 +11:00
benvin deleted branch benvin/iuclabs-infra-runners 2026-11-21 00:25: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#591