From 7d8ce09dd1107b696e28d119f260383aaefb9c9a Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Sat, 20 Dec 2025 22:40:27 -0500 Subject: [PATCH] Remove orphaned build/nsswitch.conf This file was added in 2018 (PR #69238) to ensure Go's netgo DNS resolver respects /etc/hosts in busybox-based control plane images. In 2021 (PR #99015), the build switched to on-disk Dockerfiles and distroless base images. The nsswitch.conf copying was dropped and the distroless base (Debian-based) already includes /etc/nsswitch.conf. Signed-off-by: Davanum Srinivas --- build/nsswitch.conf | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 build/nsswitch.conf diff --git a/build/nsswitch.conf b/build/nsswitch.conf deleted file mode 100644 index 997b2ed005f..00000000000 --- a/build/nsswitch.conf +++ /dev/null @@ -1,2 +0,0 @@ -# ensure go's non-cgo resolver respects /etc/hosts -hosts: files dns