Skip to content

Conversation

cesnietor
Copy link
Collaborator

Open mcs with flag MCS_OPERATOR_ONLY=on then when adding a new Tenant, the storage classes listed should be the same as if you were doing kubectl get storageclasses.storage.k8s.io

@cesnietor cesnietor requested review from Alevsk, dvaldivia and bexsoft June 3, 2020 22:40
@cesnietor cesnietor self-assigned this Jun 3, 2020
restapi/mkube.go Outdated
@@ -30,6 +30,7 @@ import (
// serverMkube handles calls for mkube
func serverMkube(client *http.Client, w http.ResponseWriter, req *http.Request) {
// destination of the request, the mkube server
req.URL.Path = fmt.Sprintf("/api/v1/%s", strings.TrimPrefix(req.URL.Path, "/api/v1/mkube"))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps, you only need to remove the /mkube/ with / that way you don't have the /v1/ in multiple places

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes but they can potentially be different one is hitting mkube apis and the other one is mcs api.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

dvaldivia
dvaldivia previously approved these changes Jun 3, 2020
dvaldivia
dvaldivia previously approved these changes Jun 4, 2020
Alevsk
Alevsk previously approved these changes Jun 4, 2020
@dvaldivia dvaldivia merged commit 8949fbe into minio:master Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants