Skip to content

Commit

Permalink
Merge pull request #185 from kubescape/disabling-double-authorization…
Browse files Browse the repository at this point in the history
…-for-internal-endpoint

Disable authorization flow
  • Loading branch information
slashben authored Jan 15, 2025
2 parents 5d7cdf3 + c68d51e commit f7723c7
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 f7723c7

Please sign in to comment.