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:
parent
dea17d7234
commit
061640cccf
@ -134,6 +134,10 @@ spec:
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: spec.nodeName
|
||||
- name: POD_IP
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: status.podIP
|
||||
securityContext:
|
||||
privileged: true
|
||||
volumeMounts:
|
||||
|
Loading…
x
Reference in New Issue
Block a user