Skip to content

Commit

Permalink
Disable authorization flow
Browse files Browse the repository at this point in the history
Signed-off-by: Ben <[email protected]>
  • Loading branch information
slashben committed Jan 15, 2025
1 parent 5d7cdf3 commit c68d51e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/cmd/server/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit c68d51e

Please sign in to comment.