Skip to content

Commit

Permalink
allowing readonly k8s access
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanmcshane committed May 10, 2024
1 parent 039dffd commit 57b5570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/server/router/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ func getClusterRoutes(
// GET /api/projects/{project_id}/clusters/{cluster_id}/kubeconfig -> cluster.NewGetTemporaryKubeconfigHandler
getTemporaryKubeconfigEndpoint := factory.NewAPIEndpoint(
&types.APIRequestMetadata{
Verb: types.APIVerbUpdate, // we do not want users with no-write access to be able to use this
Verb: types.APIVerbGet,
Method: types.HTTPVerbGet,
Path: &types.Path{
Parent: basePath,
Expand Down

0 comments on commit 57b5570

Please sign in to comment.