blumeops/argocd/manifests/tailscale-operator/svc-forge-external.yaml
Erich Blume 17dac7ea27 Fix forge ExternalName → ClusterIP+Endpoints for Tailscale Ingress
The Tailscale ingress operator requires backends with a ClusterIP.
ExternalName services don't have one, causing "invalid ClusterIP"
errors. Replace with a headless Service + manual Endpoints pointing
to indri's Tailscale IP (100.98.163.89).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 08:17:24 -08:00

28 lines
614 B
YAML

---
# Headless service + manual Endpoints to route to Forgejo on indri.
# ExternalName services don't have a ClusterIP, which the Tailscale
# ingress operator requires. This pattern creates a real ClusterIP
# that forwards to indri's Tailscale IP.
apiVersion: v1
kind: Service
metadata:
name: forge-external
namespace: tailscale
spec:
ports:
- name: http
port: 3001
protocol: TCP
---
apiVersion: v1
kind: Endpoints
metadata:
name: forge-external
namespace: tailscale
subsets:
- addresses:
- ip: 100.98.163.89
ports:
- name: http
port: 3001
protocol: TCP