From 3815b3619368d66350601f2f559afae22c4eada8 Mon Sep 17 00:00:00 2001 From: Louis Taylor Date: Fri, 6 Jul 2018 17:27:41 +0100 Subject: [PATCH] Add git tag and commit to startup logs --- cmd/controller/start.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/controller/start.go b/cmd/controller/start.go index b7337de5f..7157ca949 100644 --- a/cmd/controller/start.go +++ b/cmd/controller/start.go @@ -59,6 +59,9 @@ to renew certificates at an appropriate time before expiry.`, if err := o.Validate(args); err != nil { glog.Fatalf("error validating options: %s", err.Error()) } + + glog.Infof("starting cert-manager %s (revision %s)", util.AppVersion, util.AppGitCommit) + go StartPrometheusMetricsServer(stopCh) o.RunCertManagerController(stopCh) },