mirror of
https://github.com/tailscale/tailscale.git
synced 2026-05-05 20:26:47 +02:00
cmd/k8s-operator: print version in startup logs
Fixes: #7813 Signed-off-by: Craig Rodrigues <rodrigc@crodrigues.org> (cherry picked from commit 827abbeeaaf21388ec0dc7046d61d8350afe98f7)
This commit is contained in:
parent
de26c1c3fa
commit
05493383ef
@ -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…
x
Reference in New Issue
Block a user