From 4880ac4bbcf1306ab8772c502bf966a99f2ba8bd Mon Sep 17 00:00:00 2001 From: Jonada Hoxha Date: Thu, 26 Sep 2024 15:18:35 +0200 Subject: [PATCH] Log Icinga for Kubernetes version --- cmd/icinga-kubernetes/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/icinga-kubernetes/main.go b/cmd/icinga-kubernetes/main.go index 4fa30f8..1380a9e 100644 --- a/cmd/icinga-kubernetes/main.go +++ b/cmd/icinga-kubernetes/main.go @@ -62,6 +62,8 @@ func main() { os.Exit(0) } + klog.Infof("Starting Icinga for Kubernetes (%s)", internal.Version.Version) + kconfig, err := kclientcmd.NewNonInteractiveDeferredLoadingClientConfig(loadingRules, &overrides).ClientConfig() if err != nil { if kclientcmd.IsEmptyConfig(err) {