patch Rbac Authorization V1alpha1Cluster Role
PATCH {{baseUrl}}/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/:name?dryRun=<string>&fieldManager=<string>&force=<boolean>&pretty=<string>
partially update the specified ClusterRole
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
dryRun | string | When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed | |
fieldManager | string | fieldManager is a name associated with the actor or entity that is making these changes. The value must be less than or 128 characters long, and only contain printable characters, as defined by https://golang.org/pkg/unicode/#IsPrint. This field is required for apply requests (application/apply-patch) but optional for non-apply patch types (JsonPatch, MergePatch, StrategicMergePatch). | |
force | string | Force is going to "force" Apply requests. It means user will re-acquire conflicting fields owned by other people. Force flag must be unset for non-apply patch requests. | |
pretty | string | If 'true', then the output is pretty printed. |
Request Body
<object>
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"aggregationRule":{"clusterRoleSelectors":[{"matchExpressions":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"matchLabels":{}},{"matchExpressions":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],"matchLabels":{}}]},"apiVersion":"\u003cstring\u003e","kind":"\u003cstring\u003e","metadata":{"annotations":{},"clusterName":"amet ut ut sed","creationTimestamp":"1941-02-20T09:28:22.303Z","deletionGracePeriodSeconds":-27322121,"deletionTimestamp":"1966-08-09T16:54:45.531Z","finalizers":["sint","commodo voluptate"],"generateName":"ut eiusmod sunt","generation":-36222012,"labels":{},"managedFields":[{"apiVersion":"ex aliquip","fieldsType":"Excepteur ex eiusmod commodo","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"velit in labore ","operation":"commodo exercitation ut","time":"1989-06-27T12:18:47.208Z"},{"apiVersion":"ea veniam sint","fieldsType":"pariatur","fieldsV1":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"manager":"Duis in consequat ullamco","operation":"labor","time":"2013-05-27T09:59:25.056Z"}],"name":"labore","namespace":"ut sint qui","ownerReferences":[{"apiVersion":"sit","kind":"tempor aliqua quis officia","name":"et tempor","uid":"ipsum","blockOwnerDeletion":true,"controller":false},{"apiVersion":"Duis veniam","kind":"eu nostrud","name":"nisi","uid":"officia aute ut","blockOwnerDeletion":true,"controller":true}],"resourceVersion":"ex ve","selfLink":"dolore in qu","uid":"anim"},"rules":[{"verbs":["et i","mollit commodo Lorem ipsum"],"apiGroups":["sed fugiat eu Excepteur","pariatur nulla"],"nonResourceURLs":["do mollit","moll"],"resourceNames":["veniam Excepteur laborum ut qui","in minim laborum"],"resources":["Ut laboris consequat","sed deserunt do occaecat"]},{"verbs":["dolor laboris","voluptate id dolor"],"apiGroups":["Duis esse eu id","occaecat in cupidatat"],"nonResourceURLs":["id minim ad qui","Duis in"],"resourceNames":["proi","anim ea velit"],"resources":["commodo quis","qui irure"]}]}