From c68d51ebef61df8312ac45243a5a717f420e064d Mon Sep 17 00:00:00 2001 From: Ben Date: Wed, 15 Jan 2025 22:07:47 +0200 Subject: [PATCH] Disable authorization flow Signed-off-by: Ben --- pkg/cmd/server/start.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/cmd/server/start.go b/pkg/cmd/server/start.go index cee2463eb..df2dbf088 100644 --- a/pkg/cmd/server/start.go +++ b/pkg/cmd/server/start.go @@ -83,6 +83,9 @@ func NewWardleServerOptions(out, errOut io.Writer, osFs afero.Fs, pool *sqlitemi } o.RecommendedOptions.Etcd = nil + // Disable authorization since we are publishing an internal endpoint (that only answers the API server) + o.RecommendedOptions.Authorization = nil + // Set TLS up and bind to 8443 // read the client cert filenames from the environment variables value, exists := os.LookupEnv("TLS_CLIENT_CA_FILE")