From 1eaab385c10887c37b5c80710adbfab6fc6dbb02 Mon Sep 17 00:00:00 2001 From: Alexander Greene Date: Fri, 10 Nov 2023 12:34:55 -0800 Subject: [PATCH] Reintroduce webhook version flag Reintroduces the version flag to the webhook binary which was accidentally removed in Pull Request #754. Signed-off-by: Alexander Greene --- cmd/webhooks/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/webhooks/main.go b/cmd/webhooks/main.go index 66cd7351..68701a79 100644 --- a/cmd/webhooks/main.go +++ b/cmd/webhooks/main.go @@ -57,6 +57,7 @@ func main() { flag.StringVar(&metricsAddr, "metrics-bind-address", ":8080", "The address the metric endpoint binds to.") flag.StringVar(&probeAddr, "health-probe-bind-address", ":8081", "The address the probe endpoint binds to.") flag.StringVar(&systemNamespace, "system-namespace", "", "Configures the namespace that gets used to deploy system resources.") + flag.BoolVar(&rukpakVersion, "version", false, "Displays rukpak version information") flag.BoolVar(&enableHTTP2, "enable-http2", enableHTTP2, "If HTTP/2 should be enabled for the webhook servers.") opts := zap.Options{