@@ -177,9 +177,6 @@ spec:
177
177
- " -kubernetes-default-lb-algorithm={{ .Cluster.ConfigItems.skipper_ingress_default_lb_algorithm }}"
178
178
- " -kubernetes-disable-catchall-routes={{ .Cluster.ConfigItems.skipper_ingress_disable_catchall_routes }}"
179
179
- " -enable-kubernetes-endpointslices={{ .Cluster.ConfigItems.skipper_endpointslices_enabled }}"
180
- {{ if and (eq .Cluster.Provider "zalando-eks") (eq .Cluster.ConfigItems.eks_ip_family "ipv6")}}
181
- - " -whitelisted-healthcheck-cidr={{ .Values.subnet_ipv6_cidrs }}"
182
- {{ end }}
183
180
{{ end }}
184
181
- " -address=:9999"
185
182
- " -wait-first-route-load"
@@ -325,21 +322,18 @@ spec:
325
322
- " -forwarded-headers=X-Forwarded-For,X-Forwarded-Proto=https,X-Forwarded-Port=443"
326
323
- ' -forwarded-headers-exclude-cidrs={{ .cluster_internal_cidrs | join "," }}'
327
324
{{ end }}
328
- - >-
329
- -inline-routes=
330
- kube__healthz_down:
331
- Path("/kube-system/healthz") &&
332
- Shutdown() &&
333
- SourceFromLast("10.0.0.0/8", "192.168.0.0/16", "172.16.0.0/12", "127.0.0.1/8", "::1/128"{{- if and (eq .Cluster.Provider "zalando-eks") (eq .Cluster.ConfigItems.eks_ip_family "ipv6")}}{{ range $ip := split .Values.subnet_ipv6_cidrs "," }},"{{ $ip }}"{{ end }}{{- else }}, "fd00::/8"{{- end }})
334
- -> disableAccessLog()
335
- -> status(503)
336
- -> <shunt>;
337
- kube__healthz_up:
338
- Path("/kube-system/healthz") &&
339
- SourceFromLast("10.0.0.0/8", "192.168.0.0/16", "172.16.0.0/12", "127.0.0.1/8", "::1/128"{{- if and (eq .Cluster.Provider "zalando-eks") (eq .Cluster.ConfigItems.eks_ip_family "ipv6")}}{{ range $ip := split .Values.subnet_ipv6_cidrs "," }},"{{ $ip }}"{{ end }}{{- else }}, "fd00::/8"{{- end }})
340
- -> disableAccessLog()
341
- -> status(200)
342
- -> <shunt>;
325
+ - " -inline-routes"
326
+ - |
327
+ kube__healthz_down: Path("/kube-system/healthz") && Shutdown()
328
+ && SourceFromLast("{{ .cluster_internal_cidrs | join `","` }}", "10.0.0.0/8", "192.168.0.0/16", "172.16.0.0/12", "127.0.0.1/8", "fd00::/8", "::1/128")
329
+ -> disableAccessLog()
330
+ -> status(503)
331
+ -> <shunt>;
332
+ kube__healthz_up: Path("/kube-system/healthz")
333
+ && SourceFromLast("{{ .cluster_internal_cidrs | join `","` }}", "10.0.0.0/8", "192.168.0.0/16", "172.16.0.0/12", "127.0.0.1/8", "fd00::/8", "::1/128")
334
+ -> disableAccessLog()
335
+ -> status(200)
336
+ -> <shunt>;
343
337
{{ .Cluster.ConfigItems.skipper_ingress_inline_routes }}
344
338
345
339
{{ if .Cluster.ConfigItems.skipper_ingress_health_check_options }}
0 commit comments