1 {{- if .Values.gateway.enabled }}
2 {{- range $key, $spec := .Values.gatewayProxies }}
4 apiVersion: extensions/v1beta1
11 namespace: {{ $.Release.Namespace }}
13 replicas: {{ $spec.deployment.replicas }}
21 {{- with $spec.deployment.extraAnnotations }}
23 {{toYaml . | indent 8}}{{- end }}
26 - args: ["--disable-hot-restart"]
31 fieldPath: metadata.namespace
35 fieldPath: metadata.name
36 image: {{ $spec.deployment.image.repository }}:{{ $spec.deployment.image.tag }}
37 imagePullPolicy: {{ $spec.deployment.image.pullPolicy }}
40 readOnlyRootFilesystem: true
41 allowPrivilegeEscalation: false
48 - containerPort: {{ $spec.deployment.httpPort }}
51 - containerPort: {{ $spec.deployment.httpsPort }}
54 {{- with $spec.deployment.extraPorts }}
55 {{toYaml . | indent 8}}{{- end }}
57 - mountPath: /etc/envoy
59 {{- if $spec.deployment.image.pullSecret }}
61 - name: {{ $spec.deployment.image.pullSecret }}{{end}}
64 name: {{ $key }}-envoy-config