Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions cluster/manifests/skipper/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{/* image-updater-bot detects *image variables so use name with suffix to disable it for the main image */}}

{{ $main_image_updated_manually := "container-registry.zalando.net/teapot/skipper-internal:v0.24.58-1387" }}
{{ $canary_image := "container-registry.zalando.net/teapot/skipper-internal:v0.24.64-1393" }}
{{ $main_image_updated_manually := "container-registry.zalando.net/teapot/skipper-internal:v0.24.64-1393" }}
{{ $canary_image := "container-registry.zalando.net/teapot/skipper-internal:v0.24.74-1406" }}

{{/* Allow to override manually canary image by config item */}}
{{ if ne .Cluster.ConfigItems.skipper_ingress_canary_image "" }}
Expand All @@ -10,6 +10,9 @@

{{/* Optional canary arguments separated by "[cf724afc]" to allow whitespaces, e.g. "-foo=has a whitespace[cf724afc]-baz=qux" */}}
{{ $canary_args := "" }}
{{ if eq .Cluster.ConfigItems.skipper_ingress_zone_aware_routing_enabled "true" }}
{{ $canary_args = "-routes-urls=http://skipper-ingress-routesrv.kube-system.svc.cluster.local/routes/$(KUBE_NODE_ZONE)" }}
{{ end }}

{{ $cluster_internal_cidrs := list "10.2.0.0/15" .Values.vpc_ipv4_cidr }}
{{ if eq .Cluster.Provider "zalando-eks" }}
Expand Down Expand Up @@ -158,6 +161,10 @@ spec:
protocol: TCP
{{ end }}
env:
- name: KUBE_NODE_ZONE
valueFrom:
fieldRef:
fieldPath: metadata.labels['topology.kubernetes.io/zone']
- name: LIGHTSTEP_TOKEN
valueFrom:
secretKeyRef:
Expand Down Expand Up @@ -212,7 +219,9 @@ spec:
- "-validate-query={{ .Cluster.ConfigItems.skipper_validate_query }}"
- "-validate-query-log={{ .Cluster.ConfigItems.skipper_validate_query_log }}"
{{ if eq .Cluster.ConfigItems.skipper_routesrv_enabled "exec" }}
{{ if ne "{{ .name }}" "skipper-ingress-canary" }}
- "-routes-urls=http://skipper-ingress-routesrv.kube-system.svc.cluster.local/routes"
{{ end }}
- "-normalize-host"
{{ else }}
- "-kubernetes"
Expand Down