Remove build/verify scripts for swagger 1.2 API docs, API server swagger ui / swagger 1.2 config

This commit is contained in:
Jordan Liggitt
2019-01-15 10:44:36 -05:00
parent c3871e69ff
commit 9229399bd6
42 changed files with 16 additions and 47644 deletions

View File

@@ -199,8 +199,6 @@ func ClusterRoles() []rbacv1.ClusterRole {
Rules: []rbacv1.PolicyRule{
rbacv1helpers.NewRule("get").URLs(
"/healthz", "/version", "/version/",
// remove once swagger 1.2 support is removed
"/swaggerapi", "/swaggerapi/*",
// do not expand this pattern for openapi discovery docs
// move to a single openapi endpoint that takes accept/accept-encoding headers
"/swagger.json", "/swagger-2.0.0.pb-v1",

View File

@@ -552,8 +552,6 @@ items:
- /openapi/*
- /swagger-2.0.0.pb-v1
- /swagger.json
- /swaggerapi
- /swaggerapi/*
- /version
- /version/
verbs: