From 3293222cd6589327cb6cafeea4204cdbab38cf3e Mon Sep 17 00:00:00 2001 From: TwinProduction Date: Tue, 27 Jul 2021 21:08:30 -0400 Subject: [PATCH] Add warning log about possible deprecation of Kubernetes integration --- config/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/config/config.go b/config/config.go index 0d8759d5..1c546fda 100644 --- a/config/config.go +++ b/config/config.go @@ -209,6 +209,7 @@ func validateWebConfig(config *Config) error { // I don't like the current implementation. func validateKubernetesConfig(config *Config) error { if config.Kubernetes != nil && config.Kubernetes.AutoDiscover { + log.Println("WARNING - The Kubernetes integration is planned to be removed in v3.0.0. If you're seeing this message, it's because you're currently using it, and you may want to give your opinion at https://github.com/TwinProduction/gatus/discussions/135") if config.Kubernetes.ServiceTemplate == nil { return errors.New("kubernetes.service-template cannot be nil") }