feat: add pod ip to kube-proxy spec

Exposes the pod IP as the `POD_IP` environment variable via the downward
API in the kube-proxy pod for use in e.g. metrics-bind-addr.

Signed-off-by: Tim Jones <tim.jones@siderolabs.com>
This commit is contained in:
Tim Jones 2023-03-03 12:52:30 +01:00
parent dea17d7234
commit 061640cccf
No known key found for this signature in database
GPG Key ID: A2A702DD5B689F45

View File

@ -134,6 +134,10 @@ spec:
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
securityContext:
privileged: true
volumeMounts: