maidn-e2e-secret/charts/maidn-e2e-secret/templates/httproute.yaml

18 lines
395 B
YAML

apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: {{ .Chart.Name }}
spec:
parentRefs:
- name: {{ .Values.gateway.name }}
namespace: {{ .Values.gateway.namespace }}
sectionName: http
{{- with .Values.gateway.hostname }}
hostnames:
- {{ . | quote }}
{{- end }}
rules:
- backendRefs:
- name: {{ .Chart.Name }}
port: 8080