diff --git a/cmd/webhook/main.go b/cmd/webhook/main.go index 099e8d4..63f55ae 100644 --- a/cmd/webhook/main.go +++ b/cmd/webhook/main.go @@ -30,7 +30,20 @@ import ( var GroupName = os.Getenv("GROUP_NAME") +const banner = ` +cert-manager-webhook-rackspace +version: %s (%s) + +` + +var ( + Version = "local" + Gitsha = "?" +) + func main() { + fmt.Printf(banner, Version, Gitsha) + if GroupName == "" { panic("GROUP_NAME must be specified") }