Brad Davidson
06ecbe8071
Fix wildcard entry upstream fallback
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-12 23:31:50 -07:00
Brad Davidson
4761befc83
Warn and suppress duplicate registry mirror endpoints
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Vitor Savian
023475a11c
Fix wildcard with embbeded registry test
...
Signed-off-by: Vitor Savian <vitor.savian@suse.com >
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit 59c724f7a6 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Brad Davidson
1a82cf9358
Fix additional corner cases in registries handling
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
(cherry picked from commit b164d7a270 )
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-03-07 16:37:15 -08:00
Brad Davidson
a14be04307
gofmt config_test.go
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-02-01 18:52:17 -08:00
Brad Davidson
6c64b4dd70
Fix issues with certs.d template generation
...
* Fix issue with bare host or IP as endpoint
* Fix issue with localhost registries not defaulting to http.
* Move the registry template prep to a separate function,
and adds tests of that function so that we can ensure we're
generating the correct content.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com >
2024-02-01 18:52:17 -08:00