cmd/k8s-operator: print version in startup logs

Fixes: #7813

Signed-off-by: Craig Rodrigues <rodrigc@crodrigues.org>
pull/8105/head
Craig Rodrigues 1 year ago committed by Dave Anderson
parent d1ecb1f43b
commit 827abbeeaa

@ -48,6 +48,7 @@ import (
"tailscale.com/types/logger"
"tailscale.com/types/opt"
"tailscale.com/util/dnsname"
"tailscale.com/version"
)
func main() {
@ -235,7 +236,7 @@ waitOnline:
startlog.Fatalf("could not create controller: %v", err)
}
startlog.Infof("Startup complete, operator running")
startlog.Infof("Startup complete, operator running, version: %s", version.Long())
if shouldRunAuthProxy {
cfg, err := restConfig.TransportConfig()
if err != nil {

Loading…
Cancel
Save