{{- if .Values.httpProxy.enabled }} apiVersion: projectcontour.io/v1 kind: HTTPProxy metadata: name: {{ include "common.names.fullname" . }} namespace: {{ .Release.Namespace | quote }} labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }} spec: ingressClassName: {{ .Values.httpProxy.ingressClassName }} virtualhost: fqdn: {{ .Values.httpProxy.virtualhost }} routes: - conditions: - prefix: / services: - name: {{ include "common.names.fullname" . }} port: {{ .Values.httpProxy.servicePort | default 2379 }} {{- end }}