|
|
@@ -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,
|