Files
devops-infra-argo-config-gcp/extra-manifests/harbor-ingress-tailscale.yaml
T
2026-08-31 13:18:18 +05:30

25 lines
762 B
YAML

# Harbor's chart has no multi-host mechanism at all (checked against the
# actual template — no extraHosts like argo-cd, no secondaryingress like
# jenkins). This is a standalone second Ingress routing the Tailscale
# hostname to the same backend the chart's own Ingress uses
# (harbor-core:80) — confirmed against the real rendered Service, not
# assumed.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: harbor-ingress-tailscale
namespace: harbor
spec:
ingressClassName: contour
rules:
- host: "harbor.100.90.248.118.nip.io"
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: harbor-core
port:
number: 80