Skip to content

Commit

Permalink
Re-adding HostIP to helm charts (#5733)
Browse files Browse the repository at this point in the history
Signed-off-by: Tenshin Higashi <[email protected]>
(cherry picked from commit 680e3dc)

Signed-off-by: Flynn <[email protected]>
  • Loading branch information
tenshinhigashi authored and kflynn committed Aug 10, 2024
1 parent 648573a commit 0f5f892
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/emissary-ingress/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 4 additions & 0 deletions manifests/emissary/emissary-defaultns.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,10 @@ spec:
weight: 100
containers:
- env:
- name: HOST_IP
valueFrom:
fieldRef:
fieldPath: status.hostIP
- name: AMBASSADOR_NAMESPACE
valueFrom:
fieldRef:
Expand Down
4 changes: 4 additions & 0 deletions manifests/emissary/emissary-emissaryns.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,10 @@ spec:
weight: 100
containers:
- env:
- name: HOST_IP
valueFrom:
fieldRef:
fieldPath: status.hostIP
- name: AMBASSADOR_NAMESPACE
valueFrom:
fieldRef:
Expand Down
4 changes: 4 additions & 0 deletions python/tests/integration/manifests/ambassador.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ metadata:
spec:
containers:
- env:
- name: HOST_IP
valueFrom:
fieldRef:
fieldPath: status.hostIP
- name: AMBASSADOR_NAMESPACE
valueFrom:
fieldRef:
Expand Down

0 comments on commit 0f5f892

Please sign in to comment.