Merge pull request #718 from kragniz/version-in-logs

Add log message showing git tag and commit during startup
This commit is contained in:
jetstack-bot 2018-07-11 13:37:33 +01:00 committed by GitHub
commit 44e3793241
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
},