prole/infrastructure/roles/k3s/templates/prole-svc-iptables-allow.service.j2
chrisfu 792329ddd2 Milestone: monitoring deployment + svc firewall persistence
- k3s role: persist svc.prole.org reachability with a systemd oneshot that inserts ACCEPT rules ahead of Tailscale filter rules (configurable ports/chain).

- init_monitoring: enable Grafana datasource sidecar and provision a stable Prometheus datasource (uid 'prometheus') so CloudNativePG dashboards bind correctly.

- tests: assert datasource sidecar config and datasource ConfigMap is applied.

Co-authored-by: Junie <junie@jetbrains.com>
2026-03-19 12:19:02 -07:00

14 lines
310 B
Django/Jinja

[Unit]
Description=Prole: ensure svc.prole.org ports are ACCEPTed before Tailscale filter rules
Wants=network-online.target
After=network-online.target
After=tailscaled.service
[Service]
Type=oneshot
ExecStart=/usr/local/sbin/prole-svc-iptables-allow
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target