{{- if .Values.httpRoute.enabled }} apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: name: {{ .Release.Name }} # Ignis has no built-in auth — basic-auth enforced at the gateway via # SecurityPolicy (see basic-auth.yaml), required since one hostname is # public-facing (ignis.fireflylab.cc). 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 }}