apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: name: {{ .Values.route.name }} namespace: {{ .Values.route.namespace }} spec: parentRefs: - name: {{ .Values.route.gatewayName }} namespace: {{ .Values.route.gatewayNamespace }} hostnames: {{- range .Values.route.hostnames }} - {{ . | quote }} {{- end }} rules: - matches: - path: type: PathPrefix value: {{ .Values.argocd.basePath | quote }} backendRefs: - name: {{ .Values.route.serviceName }} port: {{ .Values.route.servicePort }}