Files
devops-infra-helm-charts-gcp/helm-templates/etcd/templates/http-proxy.yaml
T
2026-08-26 03:39:42 +05:30

19 lines
634 B
YAML

{{- 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 }}