1 {{- if .Values.gateway.enabled }}
2 {{- range $key, $spec := .Values.gatewayProxies }}
11 namespace: {{ $.Release.Namespace }}
12 {{- with $spec.service.extraAnnotations }}
14 {{toYaml . | indent 8}}{{- end }}
17 - port: {{ $spec.service.httpPort }}
18 targetPort: {{ $spec.deployment.httpPort }}
21 - port: {{ $spec.service.httpsPort }}
22 targetPort: {{ $spec.deployment.httpsPort }}
27 type: {{ $spec.service.type }}
28 {{- if and (eq $spec.service.type "ClusterIP") $spec.service.clusterIP }}
29 clusterIP: {{ $spec.service.clusterIP }}
31 {{- if and (eq $spec.service.type "LoadBalancer") $spec.service.loadBalancerIP }}
32 loadBalancerIP: {{ $spec.service.loadBalancerIP }}