diff --git a/.goreleaser.yaml b/.goreleaser.yaml index e6da4bcf65..2ab0283b19 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -7,7 +7,7 @@ version: 2 # Allow overriding the registry and image name with environment variables. env: - - ENVOY_IMAGE=envoyproxy/envoy:distroless-v1.30.1 + - ENVOY_IMAGE=envoyproxy/envoy:distroless-v1.30.3 - REGISTRY={{ if index .Env "REGISTRY" }}{{ .Env.REGISTRY }}{{ else }}ghcr.io/emissary-ingress{{ end }} - EMISSARY_IMAGE={{ if index .Env "EMISSARY_IMAGE" }}{{ .Env.EMISSARY_IMAGE }}{{ else }}emissary{{ end }} - APIEXT_IMAGE={{ if index .Env "APIEXT_IMAGE" }}{{ .Env.APIEXT_IMAGE }}{{ else }}apiext{{ end }} diff --git a/charts/emissary-ingress/templates/deployment.yaml b/charts/emissary-ingress/templates/deployment.yaml index bd2e22c3ca..46a402d091 100644 --- a/charts/emissary-ingress/templates/deployment.yaml +++ b/charts/emissary-ingress/templates/deployment.yaml @@ -216,6 +216,10 @@ spec: - name: admin containerPort: {{ .Values.adminService.port }} env: + - name: HOST_IP + valueFrom: + fieldRef: + fieldPath: status.hostIP {{- if .Values.prometheusExporter.enabled }} - name: STATSD_ENABLED value: "true" diff --git a/manifests/emissary/emissary-defaultns.yaml.in b/manifests/emissary/emissary-defaultns.yaml.in index c4b893f416..ee75be72ff 100644 --- a/manifests/emissary/emissary-defaultns.yaml.in +++ b/manifests/emissary/emissary-defaultns.yaml.in @@ -251,6 +251,10 @@ spec: weight: 100 containers: - env: + - name: HOST_IP + valueFrom: + fieldRef: + fieldPath: status.hostIP - name: AMBASSADOR_NAMESPACE valueFrom: fieldRef: diff --git a/manifests/emissary/emissary-emissaryns.yaml.in b/manifests/emissary/emissary-emissaryns.yaml.in index bf7871ed80..7caba51ea5 100644 --- a/manifests/emissary/emissary-emissaryns.yaml.in +++ b/manifests/emissary/emissary-emissaryns.yaml.in @@ -251,6 +251,10 @@ spec: weight: 100 containers: - env: + - name: HOST_IP + valueFrom: + fieldRef: + fieldPath: status.hostIP - name: AMBASSADOR_NAMESPACE valueFrom: fieldRef: diff --git a/python/tests/integration/manifests/ambassador.yaml b/python/tests/integration/manifests/ambassador.yaml index ec4d79b151..6a5dc834e5 100644 --- a/python/tests/integration/manifests/ambassador.yaml +++ b/python/tests/integration/manifests/ambassador.yaml @@ -112,6 +112,10 @@ metadata: spec: containers: - env: + - name: HOST_IP + valueFrom: + fieldRef: + fieldPath: status.hostIP - name: AMBASSADOR_NAMESPACE valueFrom: fieldRef: