|
35723 | 35723 | }
|
35724 | 35724 | ]
|
35725 | 35725 | },
|
| 35726 | + "/oapi/v1/namespaces/{namespace}/subjectrulesreviews": { |
| 35727 | + "post": { |
| 35728 | + "description": "create a SubjectRulesReview", |
| 35729 | + "consumes": [ |
| 35730 | + "*/*" |
| 35731 | + ], |
| 35732 | + "produces": [ |
| 35733 | + "application/json", |
| 35734 | + "application/yaml", |
| 35735 | + "application/vnd.kubernetes.protobuf" |
| 35736 | + ], |
| 35737 | + "schemes": [ |
| 35738 | + "https" |
| 35739 | + ], |
| 35740 | + "operationId": "createNamespacedSubjectRulesReview", |
| 35741 | + "responses": { |
| 35742 | + "200": { |
| 35743 | + "description": "OK", |
| 35744 | + "schema": { |
| 35745 | + "$ref": "#/definitions/v1.SubjectRulesReview" |
| 35746 | + } |
| 35747 | + } |
| 35748 | + } |
| 35749 | + }, |
| 35750 | + "parameters": [ |
| 35751 | + { |
| 35752 | + "name": "body", |
| 35753 | + "in": "body", |
| 35754 | + "required": true, |
| 35755 | + "schema": { |
| 35756 | + "$ref": "#/definitions/v1.SubjectRulesReview" |
| 35757 | + } |
| 35758 | + }, |
| 35759 | + { |
| 35760 | + "uniqueItems": true, |
| 35761 | + "type": "string", |
| 35762 | + "description": "object name and auth scope, such as for teams and projects", |
| 35763 | + "name": "namespace", |
| 35764 | + "in": "path", |
| 35765 | + "required": true |
| 35766 | + }, |
| 35767 | + { |
| 35768 | + "uniqueItems": true, |
| 35769 | + "type": "string", |
| 35770 | + "description": "If 'true', then the output is pretty printed.", |
| 35771 | + "name": "pretty", |
| 35772 | + "in": "query" |
| 35773 | + } |
| 35774 | + ] |
| 35775 | + }, |
35726 | 35776 | "/oapi/v1/namespaces/{namespace}/templates": {
|
35727 | 35777 | "get": {
|
35728 | 35778 | "description": "list or watch objects of kind Template",
|
|
38704 | 38754 | }
|
38705 | 38755 | ]
|
38706 | 38756 | },
|
| 38757 | + "/oapi/v1/subjectrulesreviews": { |
| 38758 | + "post": { |
| 38759 | + "description": "create a SubjectRulesReview", |
| 38760 | + "consumes": [ |
| 38761 | + "*/*" |
| 38762 | + ], |
| 38763 | + "produces": [ |
| 38764 | + "application/json", |
| 38765 | + "application/yaml", |
| 38766 | + "application/vnd.kubernetes.protobuf" |
| 38767 | + ], |
| 38768 | + "schemes": [ |
| 38769 | + "https" |
| 38770 | + ], |
| 38771 | + "operationId": "createSubjectRulesReviewForAllNamespaces", |
| 38772 | + "responses": { |
| 38773 | + "200": { |
| 38774 | + "description": "OK", |
| 38775 | + "schema": { |
| 38776 | + "$ref": "#/definitions/v1.SubjectRulesReview" |
| 38777 | + } |
| 38778 | + } |
| 38779 | + } |
| 38780 | + }, |
| 38781 | + "parameters": [ |
| 38782 | + { |
| 38783 | + "name": "body", |
| 38784 | + "in": "body", |
| 38785 | + "required": true, |
| 38786 | + "schema": { |
| 38787 | + "$ref": "#/definitions/v1.SubjectRulesReview" |
| 38788 | + } |
| 38789 | + }, |
| 38790 | + { |
| 38791 | + "uniqueItems": true, |
| 38792 | + "type": "string", |
| 38793 | + "description": "If 'true', then the output is pretty printed.", |
| 38794 | + "name": "pretty", |
| 38795 | + "in": "query" |
| 38796 | + } |
| 38797 | + ] |
| 38798 | + }, |
38707 | 38799 | "/oapi/v1/templates": {
|
38708 | 38800 | "get": {
|
38709 | 38801 | "description": "list or watch objects of kind Template",
|
|
51569 | 51661 | }
|
51570 | 51662 | }
|
51571 | 51663 | },
|
| 51664 | + "v1.SubjectRulesReview": { |
| 51665 | + "description": "SubjectRulesReview is a resource you can create to determine which actions another user can perform in a namespace", |
| 51666 | + "required": [ |
| 51667 | + "spec" |
| 51668 | + ], |
| 51669 | + "properties": { |
| 51670 | + "apiVersion": { |
| 51671 | + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/release-1.4/docs/devel/api-conventions.md#resources", |
| 51672 | + "type": "string" |
| 51673 | + }, |
| 51674 | + "kind": { |
| 51675 | + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: http://releases.k8s.io/release-1.4/docs/devel/api-conventions.md#types-kinds", |
| 51676 | + "type": "string" |
| 51677 | + }, |
| 51678 | + "spec": { |
| 51679 | + "$ref": "#/definitions/v1.SubjectRulesReviewSpec" |
| 51680 | + }, |
| 51681 | + "status": { |
| 51682 | + "$ref": "#/definitions/v1.SubjectRulesReviewStatus" |
| 51683 | + } |
| 51684 | + } |
| 51685 | + }, |
| 51686 | + "v1.SubjectRulesReviewSpec": { |
| 51687 | + "description": "SubjectRulesReviewSpec adds information about how to conduct the check", |
| 51688 | + "required": [ |
| 51689 | + "user", |
| 51690 | + "groups", |
| 51691 | + "scopes" |
| 51692 | + ], |
| 51693 | + "properties": { |
| 51694 | + "groups": { |
| 51695 | + "description": "Groups is optional. Groups is the list of groups to which the User belongs. At least one of User and Groups must be specified.", |
| 51696 | + "type": "array", |
| 51697 | + "items": { |
| 51698 | + "type": "string" |
| 51699 | + } |
| 51700 | + }, |
| 51701 | + "scopes": { |
| 51702 | + "description": "Scopes to use for the evaluation. Empty means \"use the unscoped (full) permissions of the user/groups\".", |
| 51703 | + "type": "array", |
| 51704 | + "items": { |
| 51705 | + "type": "string" |
| 51706 | + } |
| 51707 | + }, |
| 51708 | + "user": { |
| 51709 | + "description": "User is optional. At least one of User and Groups must be specified.", |
| 51710 | + "type": "string" |
| 51711 | + } |
| 51712 | + } |
| 51713 | + }, |
51572 | 51714 | "v1.SubjectRulesReviewStatus": {
|
51573 | 51715 | "description": "SubjectRulesReviewStatus is contains the result of a rules check",
|
51574 | 51716 | "required": [
|
|
0 commit comments