Files
homelab-services/apps/ignis/chart/templates/httproute.yaml
T
duynguyen 3d829d0ded ignis: add public hostname ignis.fireflylab.cc to HTTPRoute
Support multiple hostnames (LAN + public domain) via values list.
2026-08-04 00:08:02 +07:00

25 lines
635 B
YAML

{{- if .Values.httpRoute.enabled }}
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: {{ .Release.Name }}
# No built-in auth in Ignis itself — LAN-only exposure, same tradeoff
# already accepted for Vault in cluster-platform.
spec:
parentRefs:
- name: envoy-gateway
namespace: envoy-gateway-system
hostnames:
{{- range .Values.httpRoute.hostnames }}
- {{ . | quote }}
{{- end }}
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: {{ .Release.Name }}
port: {{ .Values.service.port }}
{{- end }}