mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-21 22:51:13 +02:00
fix(proxyd): Fix backend deletion (#729)
Signed-off-by: Brad Beam <brad.beam@talos-systems.com>
This commit is contained in:
parent
fb320a894b
commit
c88b6fc422
@ -23,6 +23,7 @@ policies:
|
||||
- init
|
||||
- initramfs
|
||||
- kernel
|
||||
- proxyd
|
||||
- osctl
|
||||
- osd
|
||||
- rootfs
|
||||
|
@ -244,7 +244,7 @@ func (r *ReverseProxy) DeleteFunc() func(obj interface{}) {
|
||||
return
|
||||
}
|
||||
|
||||
if deleted := r.DeleteBackend(pod.Status.PodIP); deleted {
|
||||
if deleted := r.DeleteBackend(string(pod.UID)); deleted {
|
||||
log.Printf("deregistered API server %s (UID: %q) with IP: %s", pod.Name, pod.UID, pod.Status.PodIP)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user