prole/infrastructure/roles/k3s/tasks/kong.yml
chrisfu b114099e17 Use prole.cfg hostnames for Supabase front-door
- Persist and export supabase_hostname for canonical external Supabase entrypoint (db.prole.org)

- Render Supabase Helm ingress host and public URLs (API_EXTERNAL_URL/GOTRUE_SITE_URL/SUPABASE_PUBLIC_URL) from config

- Align tracked Traefik ingress manifests to db.prole.org

- Generalize service hostname/TLS wiring in k3s automation and refresh Kong/monitoring behavior

- Make optional workload policy checks deterministic when kube context is absent; add render tests
2026-03-19 04:19:38 -07:00

13 lines
427 B
YAML

---
- name: Ensure Kong is present and refreshed (common core)
ansible.builtin.shell: |
kubectl config use-context prole-k3s >/dev/null 2>&1 || true
bash {{ playbook_dir }}/../../etc/init_kong.sh -n {{ k3s_kong_namespace }} update
environment:
PROLE_MODE: k3s
KUBECONFIG: "{{ playbook_dir }}/../../prole-k3s.kubeconfig"
delegate_to: localhost
become: false
register: k3s_kong_install
run_once: true