Files
homelab-services/apps/ignis/chart/templates/httproute.yaml
T

23 lines
600 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:
- {{ .Values.httpRoute.hostname | quote }}
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- name: {{ .Release.Name }}
port: {{ .Values.service.port }}
{{- end }}