linkerd2/pkg/cmd
Andrew Seigner 7a477f7adc
Make `CheckURL` and `DefaultDockerRegistry` vars (#11128)
It's useful to modify values for `CheckURL` and `DefaultDockerRegistry`,
to test different configurations of Linkerd. To modify these at build
time, they must be public vars.

Make `CheckURL` and `DefaultDockerRegistry` public vars, to allow for
build-time modification using Go's `-ldflags`.

Also, DRY up `DefaultDockerRegistry`.

Signed-off-by: Andrew Seigner <siggy@buoyant.io>
2023-07-19 09:58:37 -07:00
..
cmd.go Make `CheckURL` and `DefaultDockerRegistry` vars (#11128) 2023-07-19 09:58:37 -07:00