feat: Normalize fields across various Boundary components (#5599)

Normalizes various IP/Address/Host fields across Boundary resources/components to comply with IPv6 specifications.
This commit is contained in:
Hugo authored and GitHub committed 2025-05-13 16:55:28 +01:00
1 parent 2d880326b7
commit a65d5d8573
37 files changed
+1028 -348

No files matched your search

@@ -95,6 +95,22 @@ func TestUnixListener(t *testing.T) {
helper.ExpectWorkers(t, c1)
require.NoError(c1.Controller().Shutdown())
conf, err = config.DevController()
require.NoError(err)
for _, l := range conf.Listeners {
switch l.Purpose[0] {
case "api":
l.Address = path.Join(tempDir, "api")
l.Type = "unix"
case "cluster":
l.Address = path.Join(tempDir, "cluster")
l.Type = "unix"
}
}
c2 := controller.NewTestController(t, &controller.TestControllerOpts{
Config: conf,
Logger: logger.Named("c2"),