update required non-resource paths

This commit is contained in:
Jordan Liggitt
2016-11-14 21:10:10 -05:00
committed by Devin Donnelly
parent 69920baf18
commit b466b35727
+4 -4
View File
@@ -567,10 +567,10 @@ Access to non-resource paths are sent as:
Non-resource paths include: `/api`, `/apis`, `/metrics`, `/resetMetrics`, Non-resource paths include: `/api`, `/apis`, `/metrics`, `/resetMetrics`,
`/logs`, `/debug`, `/healthz`, `/swagger-ui/`, `/swaggerapi/`, `/ui`, and `/logs`, `/debug`, `/healthz`, `/swagger-ui/`, `/swaggerapi/`, `/ui`, and
`/version.` Clients require access to `/api`, `/api/*/`, `/apis/`, `/apis/*`, `/version.` Clients require access to `/api`, `/api/*`, `/apis`, `/apis/*`,
`/apis/*/*`, and `/version` to discover what resources and versions are present and `/version` to discover what resources and versions are present on the server.
on the server. Access to other non-resource paths can be disallowed without Access to other non-resource paths can be disallowed without restricting access
restricting access to the REST api. to the REST api.
For further documentation refer to the authorization.v1beta1 API objects and For further documentation refer to the authorization.v1beta1 API objects and
plugin/pkg/auth/authorizer/webhook/webhook.go. plugin/pkg/auth/authorizer/webhook/webhook.go.