From edc8946c74bf82dec336de532dca129e2d0ea204 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Renato=20Guimar=C3=A3es?= Date: Thu, 27 Jan 2022 10:46:47 -0300 Subject: [PATCH] fix(k8s): add webhooks config flag (#59) [PLT-184] --- pkg/common/config/manager_configuration.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/common/config/manager_configuration.go b/pkg/common/config/manager_configuration.go index 5bb19db..0df2315 100644 --- a/pkg/common/config/manager_configuration.go +++ b/pkg/common/config/manager_configuration.go @@ -11,6 +11,7 @@ type ManagerConfiguration struct { Port int `envconfig:"MANAGER_PORT" default:"9443"` MetricsServerPort int `envconfig:"METRICS_SERVER_PORT" default:"8080"` HealthProbeAddress string `envconfig:"HEALTH_PROBE_ADDRESS" default:":8081"` + EnableWebhooks bool `envconfig:"ENABLE_WEBHOOKS" default:"true"` } // LoadFromEnvVars from the Manager