k8s.io/kube-openapi@v0.0.0-20240228011516-70dd3763d340/pkg/spec3/testdata/authorizationv1spec.json (about) 1 { 2 "components": { 3 "schemas": { 4 "io.k8s.api.authorization.v1.LocalSubjectAccessReview": { 5 "description": "LocalSubjectAccessReview checks whether or not a user or group can perform an action in a given namespace. Having a namespace scoped resource makes it much easier to grant namespace scoped policy that includes permissions checking.", 6 "properties": { 7 "apiVersion": { 8 "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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 9 "type": "string" 10 }, 11 "kind": { 12 "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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 13 "type": "string" 14 }, 15 "metadata": { 16 "allOf": [ 17 { 18 "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" 19 } 20 ], 21 "default": {}, 22 "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" 23 }, 24 "spec": { 25 "allOf": [ 26 { 27 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SubjectAccessReviewSpec" 28 } 29 ], 30 "default": {}, 31 "description": "Spec holds information about the request being evaluated. spec.namespace must be equal to the namespace you made the request against. If empty, it is defaulted." 32 }, 33 "status": { 34 "allOf": [ 35 { 36 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SubjectAccessReviewStatus" 37 } 38 ], 39 "default": {}, 40 "description": "Status is filled in by the server and indicates whether the request is allowed or not" 41 } 42 }, 43 "required": [ 44 "spec" 45 ], 46 "type": "object", 47 "x-kubernetes-group-version-kind": [ 48 { 49 "group": "authorization.k8s.io", 50 "kind": "LocalSubjectAccessReview", 51 "version": "v1" 52 } 53 ] 54 }, 55 "io.k8s.api.authorization.v1.NonResourceAttributes": { 56 "description": "NonResourceAttributes includes the authorization attributes available for non-resource requests to the Authorizer interface", 57 "properties": { 58 "path": { 59 "description": "Path is the URL path of the request", 60 "type": "string" 61 }, 62 "verb": { 63 "description": "Verb is the standard HTTP verb", 64 "type": "string" 65 } 66 }, 67 "type": "object" 68 }, 69 "io.k8s.api.authorization.v1.NonResourceRule": { 70 "description": "NonResourceRule holds information that describes a rule for the non-resource", 71 "properties": { 72 "nonResourceURLs": { 73 "description": "NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. \"*\" means all.", 74 "items": { 75 "default": "", 76 "type": "string" 77 }, 78 "type": "array" 79 }, 80 "verbs": { 81 "description": "Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. \"*\" means all.", 82 "items": { 83 "default": "", 84 "type": "string" 85 }, 86 "type": "array" 87 } 88 }, 89 "required": [ 90 "verbs" 91 ], 92 "type": "object" 93 }, 94 "io.k8s.api.authorization.v1.ResourceAttributes": { 95 "description": "ResourceAttributes includes the authorization attributes available for resource requests to the Authorizer interface", 96 "properties": { 97 "group": { 98 "description": "Group is the API Group of the Resource. \"*\" means all.", 99 "type": "string" 100 }, 101 "name": { 102 "description": "Name is the name of the resource being requested for a \"get\" or deleted for a \"delete\". \"\" (empty) means all.", 103 "type": "string" 104 }, 105 "namespace": { 106 "description": "Namespace is the namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces \"\" (empty) is defaulted for LocalSubjectAccessReviews \"\" (empty) is empty for cluster-scoped resources \"\" (empty) means \"all\" for namespace scoped resources from a SubjectAccessReview or SelfSubjectAccessReview", 107 "type": "string" 108 }, 109 "resource": { 110 "description": "Resource is one of the existing resource types. \"*\" means all.", 111 "type": "string" 112 }, 113 "subresource": { 114 "description": "Subresource is one of the existing resource types. \"\" means none.", 115 "type": "string" 116 }, 117 "verb": { 118 "description": "Verb is a kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", 119 "type": "string" 120 }, 121 "version": { 122 "description": "Version is the API Version of the Resource. \"*\" means all.", 123 "type": "string" 124 } 125 }, 126 "type": "object" 127 }, 128 "io.k8s.api.authorization.v1.ResourceRule": { 129 "description": "ResourceRule is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", 130 "properties": { 131 "apiGroups": { 132 "description": "APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against one of the enumerated resources in any API group will be allowed. \"*\" means all.", 133 "items": { 134 "default": "", 135 "type": "string" 136 }, 137 "type": "array" 138 }, 139 "resourceNames": { 140 "description": "ResourceNames is an optional white list of names that the rule applies to. An empty set means that everything is allowed. \"*\" means all.", 141 "items": { 142 "default": "", 143 "type": "string" 144 }, 145 "type": "array" 146 }, 147 "resources": { 148 "description": "Resources is a list of resources this rule applies to. \"*\" means all in the specified apiGroups.\n \"*/foo\" represents the subresource 'foo' for all resources in the specified apiGroups.", 149 "items": { 150 "default": "", 151 "type": "string" 152 }, 153 "type": "array" 154 }, 155 "verbs": { 156 "description": "Verb is a list of kubernetes resource API verbs, like: get, list, watch, create, update, delete, proxy. \"*\" means all.", 157 "items": { 158 "default": "", 159 "type": "string" 160 }, 161 "type": "array" 162 } 163 }, 164 "required": [ 165 "verbs" 166 ], 167 "type": "object" 168 }, 169 "io.k8s.api.authorization.v1.SelfSubjectAccessReview": { 170 "description": "SelfSubjectAccessReview checks whether or the current user can perform an action. Not filling in a spec.namespace means \"in all namespaces\". Self is a special case, because users should always be able to check whether they can perform an action", 171 "properties": { 172 "apiVersion": { 173 "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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 174 "type": "string" 175 }, 176 "kind": { 177 "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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 178 "type": "string" 179 }, 180 "metadata": { 181 "allOf": [ 182 { 183 "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" 184 } 185 ], 186 "default": {}, 187 "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" 188 }, 189 "spec": { 190 "allOf": [ 191 { 192 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SelfSubjectAccessReviewSpec" 193 } 194 ], 195 "default": {}, 196 "description": "Spec holds information about the request being evaluated. user and groups must be empty" 197 }, 198 "status": { 199 "allOf": [ 200 { 201 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SubjectAccessReviewStatus" 202 } 203 ], 204 "default": {}, 205 "description": "Status is filled in by the server and indicates whether the request is allowed or not" 206 } 207 }, 208 "required": [ 209 "spec" 210 ], 211 "type": "object", 212 "x-kubernetes-group-version-kind": [ 213 { 214 "group": "authorization.k8s.io", 215 "kind": "SelfSubjectAccessReview", 216 "version": "v1" 217 } 218 ] 219 }, 220 "io.k8s.api.authorization.v1.SelfSubjectAccessReviewSpec": { 221 "description": "SelfSubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", 222 "properties": { 223 "nonResourceAttributes": { 224 "allOf": [ 225 { 226 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.NonResourceAttributes" 227 } 228 ], 229 "description": "NonResourceAttributes describes information for a non-resource access request" 230 }, 231 "resourceAttributes": { 232 "allOf": [ 233 { 234 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.ResourceAttributes" 235 } 236 ], 237 "description": "ResourceAuthorizationAttributes describes information for a resource access request" 238 } 239 }, 240 "type": "object" 241 }, 242 "io.k8s.api.authorization.v1.SelfSubjectRulesReview": { 243 "description": "SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. The returned list of actions may be incomplete depending on the server's authorization mode, and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to drive authorization decisions as this raises confused deputy, cache lifetime/revocation, and correctness concerns. SubjectAccessReview, and LocalAccessReview are the correct way to defer authorization decisions to the API server.", 244 "properties": { 245 "apiVersion": { 246 "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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 247 "type": "string" 248 }, 249 "kind": { 250 "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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 251 "type": "string" 252 }, 253 "metadata": { 254 "allOf": [ 255 { 256 "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" 257 } 258 ], 259 "default": {}, 260 "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" 261 }, 262 "spec": { 263 "allOf": [ 264 { 265 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SelfSubjectRulesReviewSpec" 266 } 267 ], 268 "default": {}, 269 "description": "Spec holds information about the request being evaluated." 270 }, 271 "status": { 272 "allOf": [ 273 { 274 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SubjectRulesReviewStatus" 275 } 276 ], 277 "default": {}, 278 "description": "Status is filled in by the server and indicates the set of actions a user can perform." 279 } 280 }, 281 "required": [ 282 "spec" 283 ], 284 "type": "object", 285 "x-kubernetes-group-version-kind": [ 286 { 287 "group": "authorization.k8s.io", 288 "kind": "SelfSubjectRulesReview", 289 "version": "v1" 290 } 291 ] 292 }, 293 "io.k8s.api.authorization.v1.SelfSubjectRulesReviewSpec": { 294 "description": "SelfSubjectRulesReviewSpec defines the specification for SelfSubjectRulesReview.", 295 "properties": { 296 "namespace": { 297 "description": "Namespace to evaluate rules for. Required.", 298 "type": "string" 299 } 300 }, 301 "type": "object" 302 }, 303 "io.k8s.api.authorization.v1.SubjectAccessReview": { 304 "description": "SubjectAccessReview checks whether or not a user or group can perform an action.", 305 "properties": { 306 "apiVersion": { 307 "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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 308 "type": "string" 309 }, 310 "kind": { 311 "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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 312 "type": "string" 313 }, 314 "metadata": { 315 "allOf": [ 316 { 317 "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" 318 } 319 ], 320 "default": {}, 321 "description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" 322 }, 323 "spec": { 324 "allOf": [ 325 { 326 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SubjectAccessReviewSpec" 327 } 328 ], 329 "default": {}, 330 "description": "Spec holds information about the request being evaluated" 331 }, 332 "status": { 333 "allOf": [ 334 { 335 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SubjectAccessReviewStatus" 336 } 337 ], 338 "default": {}, 339 "description": "Status is filled in by the server and indicates whether the request is allowed or not" 340 } 341 }, 342 "required": [ 343 "spec" 344 ], 345 "type": "object", 346 "x-kubernetes-group-version-kind": [ 347 { 348 "group": "authorization.k8s.io", 349 "kind": "SubjectAccessReview", 350 "version": "v1" 351 } 352 ] 353 }, 354 "io.k8s.api.authorization.v1.SubjectAccessReviewSpec": { 355 "description": "SubjectAccessReviewSpec is a description of the access request. Exactly one of ResourceAuthorizationAttributes and NonResourceAuthorizationAttributes must be set", 356 "properties": { 357 "extra": { 358 "additionalProperties": { 359 "items": { 360 "default": "", 361 "type": "string" 362 }, 363 "type": "array" 364 }, 365 "description": "Extra corresponds to the user.Info.GetExtra() method from the authenticator. Since that is input to the authorizer it needs a reflection here.", 366 "type": "object" 367 }, 368 "groups": { 369 "description": "Groups is the groups you're testing for.", 370 "items": { 371 "default": "", 372 "type": "string" 373 }, 374 "type": "array" 375 }, 376 "nonResourceAttributes": { 377 "allOf": [ 378 { 379 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.NonResourceAttributes" 380 } 381 ], 382 "description": "NonResourceAttributes describes information for a non-resource access request" 383 }, 384 "resourceAttributes": { 385 "allOf": [ 386 { 387 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.ResourceAttributes" 388 } 389 ], 390 "description": "ResourceAuthorizationAttributes describes information for a resource access request" 391 }, 392 "uid": { 393 "description": "UID information about the requesting user.", 394 "type": "string" 395 }, 396 "user": { 397 "description": "User is the user you're testing for. If you specify \"User\" but not \"Groups\", then is it interpreted as \"What if User were not a member of any groups", 398 "type": "string" 399 } 400 }, 401 "type": "object" 402 }, 403 "io.k8s.api.authorization.v1.SubjectAccessReviewStatus": { 404 "description": "SubjectAccessReviewStatus", 405 "properties": { 406 "allowed": { 407 "default": false, 408 "description": "Allowed is required. True if the action would be allowed, false otherwise.", 409 "type": "boolean" 410 }, 411 "denied": { 412 "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.", 413 "type": "boolean" 414 }, 415 "evaluationError": { 416 "description": "EvaluationError is an indication that some error occurred during the authorization check. It is entirely possible to get an error and be able to continue determine authorization status in spite of it. For instance, RBAC can be missing a role, but enough roles are still present and bound to reason about the request.", 417 "type": "string" 418 }, 419 "reason": { 420 "description": "Reason is optional. It indicates why a request was allowed or denied.", 421 "type": "string" 422 } 423 }, 424 "required": [ 425 "allowed" 426 ], 427 "type": "object" 428 }, 429 "io.k8s.api.authorization.v1.SubjectRulesReviewStatus": { 430 "description": "SubjectRulesReviewStatus contains the result of a rules check. This check can be incomplete depending on the set of authorizers the server is configured with and any errors experienced during evaluation. Because authorization rules are additive, if a rule appears in a list it's safe to assume the subject has that permission, even if that list is incomplete.", 431 "properties": { 432 "evaluationError": { 433 "description": "EvaluationError can appear in combination with Rules. It indicates an error occurred during rule evaluation, such as an authorizer that doesn't support rule evaluation, and that ResourceRules and/or NonResourceRules may be incomplete.", 434 "type": "string" 435 }, 436 "incomplete": { 437 "default": false, 438 "description": "Incomplete is true when the rules returned by this call are incomplete. This is most commonly encountered when an authorizer, such as an external authorizer, doesn't support rules evaluation.", 439 "type": "boolean" 440 }, 441 "nonResourceRules": { 442 "description": "NonResourceRules is the list of actions the subject is allowed to perform on non-resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", 443 "items": { 444 "allOf": [ 445 { 446 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.NonResourceRule" 447 } 448 ], 449 "default": {} 450 }, 451 "type": "array" 452 }, 453 "resourceRules": { 454 "description": "ResourceRules is the list of actions the subject is allowed to perform on resources. The list ordering isn't significant, may contain duplicates, and possibly be incomplete.", 455 "items": { 456 "allOf": [ 457 { 458 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.ResourceRule" 459 } 460 ], 461 "default": {} 462 }, 463 "type": "array" 464 } 465 }, 466 "required": [ 467 "resourceRules", 468 "nonResourceRules", 469 "incomplete" 470 ], 471 "type": "object" 472 }, 473 "io.k8s.apimachinery.pkg.apis.meta.v1.APIResource": { 474 "description": "APIResource specifies the name of a resource and whether it is namespaced.", 475 "properties": { 476 "categories": { 477 "description": "categories is a list of the grouped resources this resource belongs to (e.g. 'all')", 478 "items": { 479 "default": "", 480 "type": "string" 481 }, 482 "type": "array" 483 }, 484 "group": { 485 "description": "group is the preferred group of the resource. Empty implies the group of the containing resource list. For subresources, this may have a different value, for example: Scale\".", 486 "type": "string" 487 }, 488 "kind": { 489 "default": "", 490 "description": "kind is the kind for the resource (e.g. 'Foo' is the kind for a resource 'foo')", 491 "type": "string" 492 }, 493 "name": { 494 "default": "", 495 "description": "name is the plural name of the resource.", 496 "type": "string" 497 }, 498 "namespaced": { 499 "default": false, 500 "description": "namespaced indicates if a resource is namespaced or not.", 501 "type": "boolean" 502 }, 503 "shortNames": { 504 "description": "shortNames is a list of suggested short names of the resource.", 505 "items": { 506 "default": "", 507 "type": "string" 508 }, 509 "type": "array" 510 }, 511 "singularName": { 512 "default": "", 513 "description": "singularName is the singular name of the resource. This allows clients to handle plural and singular opaquely. The singularName is more correct for reporting status on a single item and both singular and plural are allowed from the kubectl CLI interface.", 514 "type": "string" 515 }, 516 "storageVersionHash": { 517 "description": "The hash value of the storage version, the version this resource is converted to when written to the data store. Value must be treated as opaque by clients. Only equality comparison on the value is valid. This is an alpha feature and may change or be removed in the future. The field is populated by the apiserver only if the StorageVersionHash feature gate is enabled. This field will remain optional even if it graduates.", 518 "type": "string" 519 }, 520 "verbs": { 521 "description": "verbs is a list of supported kube verbs (this includes get, list, watch, create, update, patch, delete, deletecollection, and proxy)", 522 "items": { 523 "default": "", 524 "type": "string" 525 }, 526 "type": "array" 527 }, 528 "version": { 529 "description": "version is the preferred version of the resource. Empty implies the version of the containing resource list For subresources, this may have a different value, for example: v1 (while inside a v1beta1 version of the core resource's group)\".", 530 "type": "string" 531 } 532 }, 533 "required": [ 534 "name", 535 "singularName", 536 "namespaced", 537 "kind", 538 "verbs" 539 ], 540 "type": "object" 541 }, 542 "io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList": { 543 "description": "APIResourceList is a list of APIResource, it is used to expose the name of the resources supported in a specific group and version, and if the resource is namespaced.", 544 "properties": { 545 "apiVersion": { 546 "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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", 547 "type": "string" 548 }, 549 "groupVersion": { 550 "default": "", 551 "description": "groupVersion is the group and version this APIResourceList is for.", 552 "type": "string" 553 }, 554 "kind": { 555 "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: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 556 "type": "string" 557 }, 558 "resources": { 559 "description": "resources contains the name of the resources and if they are namespaced.", 560 "items": { 561 "allOf": [ 562 { 563 "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.APIResource" 564 } 565 ], 566 "default": {} 567 }, 568 "type": "array" 569 } 570 }, 571 "required": [ 572 "groupVersion", 573 "resources" 574 ], 575 "type": "object", 576 "x-kubernetes-group-version-kind": [ 577 { 578 "group": "", 579 "kind": "APIResourceList", 580 "version": "v1" 581 } 582 ] 583 }, 584 "io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1": { 585 "description": "FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.\n\nEach key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.\n\nThe exact format is defined in sigs.k8s.io/structured-merge-diff", 586 "type": "object" 587 }, 588 "io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry": { 589 "description": "ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.", 590 "properties": { 591 "apiVersion": { 592 "description": "APIVersion defines the version of this resource that this field set applies to. The format is \"group/version\" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.", 593 "type": "string" 594 }, 595 "fieldsType": { 596 "description": "FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: \"FieldsV1\"", 597 "type": "string" 598 }, 599 "fieldsV1": { 600 "allOf": [ 601 { 602 "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.FieldsV1" 603 } 604 ], 605 "description": "FieldsV1 holds the first JSON version format as described in the \"FieldsV1\" type." 606 }, 607 "manager": { 608 "description": "Manager is an identifier of the workflow managing these fields.", 609 "type": "string" 610 }, 611 "operation": { 612 "description": "Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.", 613 "type": "string" 614 }, 615 "subresource": { 616 "description": "Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.", 617 "type": "string" 618 }, 619 "time": { 620 "allOf": [ 621 { 622 "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Time" 623 } 624 ], 625 "description": "Time is the timestamp of when the ManagedFields entry was added. The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over." 626 } 627 }, 628 "type": "object" 629 }, 630 "io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta": { 631 "description": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", 632 "properties": { 633 "annotations": { 634 "additionalProperties": { 635 "default": "", 636 "type": "string" 637 }, 638 "description": "Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations", 639 "type": "object" 640 }, 641 "creationTimestamp": { 642 "allOf": [ 643 { 644 "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Time" 645 } 646 ], 647 "default": {}, 648 "description": "CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It is represented in RFC3339 form and is in UTC.\n\nPopulated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" 649 }, 650 "deletionGracePeriodSeconds": { 651 "description": "Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.", 652 "format": "int64", 653 "type": "integer" 654 }, 655 "deletionTimestamp": { 656 "allOf": [ 657 { 658 "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.Time" 659 } 660 ], 661 "description": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata" 662 }, 663 "finalizers": { 664 "description": "Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list.", 665 "items": { 666 "default": "", 667 "type": "string" 668 }, 669 "type": "array", 670 "x-kubernetes-patch-strategy": "merge" 671 }, 672 "generateName": { 673 "description": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will return a 409.\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency", 674 "type": "string" 675 }, 676 "generation": { 677 "description": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", 678 "format": "int64", 679 "type": "integer" 680 }, 681 "labels": { 682 "additionalProperties": { 683 "default": "", 684 "type": "string" 685 }, 686 "description": "Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels", 687 "type": "object" 688 }, 689 "managedFields": { 690 "description": "ManagedFields maps workflow-id and version to the set of fields that are managed by that workflow. This is mostly for internal housekeeping, and users typically shouldn't need to set or understand this field. A workflow can be the user's name, a controller's name, or the name of a specific apply path like \"ci-cd\". The set of fields is always in the version that the workflow used when modifying the object.", 691 "items": { 692 "allOf": [ 693 { 694 "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.ManagedFieldsEntry" 695 } 696 ], 697 "default": {} 698 }, 699 "type": "array" 700 }, 701 "name": { 702 "description": "Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names", 703 "type": "string" 704 }, 705 "namespace": { 706 "description": "Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces", 707 "type": "string" 708 }, 709 "ownerReferences": { 710 "description": "List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller.", 711 "items": { 712 "allOf": [ 713 { 714 "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference" 715 } 716 ], 717 "default": {} 718 }, 719 "type": "array", 720 "x-kubernetes-patch-merge-key": "uid", 721 "x-kubernetes-patch-strategy": "merge" 722 }, 723 "resourceVersion": { 724 "description": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", 725 "type": "string" 726 }, 727 "selfLink": { 728 "description": "Deprecated: selfLink is a legacy read-only field that is no longer populated by the system.", 729 "type": "string" 730 }, 731 "uid": { 732 "description": "UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", 733 "type": "string" 734 } 735 }, 736 "type": "object" 737 }, 738 "io.k8s.apimachinery.pkg.apis.meta.v1.OwnerReference": { 739 "description": "OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.", 740 "properties": { 741 "apiVersion": { 742 "default": "", 743 "description": "API version of the referent.", 744 "type": "string" 745 }, 746 "blockOwnerDeletion": { 747 "description": "If true, AND if the owner has the \"foregroundDeletion\" finalizer, then the owner cannot be deleted from the key-value store until this reference is removed. See https://kubernetes.io/docs/concepts/architecture/garbage-collection/#foreground-deletion for how the garbage collector interacts with this field and enforces the foreground deletion. Defaults to false. To set this field, a user needs \"delete\" permission of the owner, otherwise 422 (Unprocessable Entity) will be returned.", 748 "type": "boolean" 749 }, 750 "controller": { 751 "description": "If true, this reference points to the managing controller.", 752 "type": "boolean" 753 }, 754 "kind": { 755 "default": "", 756 "description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", 757 "type": "string" 758 }, 759 "name": { 760 "default": "", 761 "description": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", 762 "type": "string" 763 }, 764 "uid": { 765 "default": "", 766 "description": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", 767 "type": "string" 768 } 769 }, 770 "required": [ 771 "apiVersion", 772 "kind", 773 "name", 774 "uid" 775 ], 776 "type": "object", 777 "x-kubernetes-map-type": "atomic" 778 }, 779 "io.k8s.apimachinery.pkg.apis.meta.v1.Time": { 780 "description": "Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.", 781 "format": "date-time", 782 "type": "string" 783 } 784 }, 785 "securitySchemes": { 786 "BearerToken": { 787 "description": "Bearer Token authentication", 788 "in": "header", 789 "name": "authorization", 790 "type": "apiKey" 791 } 792 } 793 }, 794 "info": { 795 "title": "Kubernetes", 796 "version": "unversioned" 797 }, 798 "openapi": "3.0.0", 799 "paths": { 800 "/apis/authorization.k8s.io/v1/": { 801 "get": { 802 "description": "get available resources", 803 "operationId": "getAuthorizationV1APIResources", 804 "responses": { 805 "200": { 806 "content": { 807 "application/json": { 808 "schema": { 809 "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" 810 } 811 }, 812 "application/vnd.kubernetes.protobuf": { 813 "schema": { 814 "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" 815 } 816 }, 817 "application/yaml": { 818 "schema": { 819 "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.apis.meta.v1.APIResourceList" 820 } 821 } 822 }, 823 "description": "OK" 824 }, 825 "401": { 826 "description": "Unauthorized" 827 } 828 }, 829 "tags": [ 830 "authorization_v1" 831 ] 832 } 833 }, 834 "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews": { 835 "parameters": [ 836 { 837 "description": "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", 838 "in": "query", 839 "name": "dryRun", 840 "schema": { 841 "type": "string", 842 "uniqueItems": true 843 } 844 }, 845 { 846 "description": "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.", 847 "in": "query", 848 "name": "fieldManager", 849 "schema": { 850 "type": "string", 851 "uniqueItems": true 852 } 853 }, 854 { 855 "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the `ServerSideFieldValidation` feature gate is also enabled. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23 and is the default behavior when the `ServerSideFieldValidation` feature gate is disabled. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default when the `ServerSideFieldValidation` feature gate is enabled. - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", 856 "in": "query", 857 "name": "fieldValidation", 858 "schema": { 859 "type": "string", 860 "uniqueItems": true 861 } 862 }, 863 { 864 "description": "object name and auth scope, such as for teams and projects", 865 "in": "path", 866 "name": "namespace", 867 "required": true, 868 "schema": { 869 "type": "string", 870 "uniqueItems": true 871 } 872 }, 873 { 874 "description": "If 'true', then the output is pretty printed.", 875 "in": "query", 876 "name": "pretty", 877 "schema": { 878 "type": "string", 879 "uniqueItems": true 880 } 881 } 882 ], 883 "post": { 884 "description": "create a LocalSubjectAccessReview", 885 "operationId": "createAuthorizationV1NamespacedLocalSubjectAccessReview", 886 "requestBody": { 887 "content": { 888 "*/*": { 889 "schema": { 890 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.LocalSubjectAccessReview" 891 } 892 } 893 } 894 }, 895 "responses": { 896 "200": { 897 "content": { 898 "application/json": { 899 "schema": { 900 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.LocalSubjectAccessReview" 901 } 902 }, 903 "application/vnd.kubernetes.protobuf": { 904 "schema": { 905 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.LocalSubjectAccessReview" 906 } 907 }, 908 "application/yaml": { 909 "schema": { 910 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.LocalSubjectAccessReview" 911 } 912 } 913 }, 914 "description": "OK" 915 }, 916 "201": { 917 "content": { 918 "application/json": { 919 "schema": { 920 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.LocalSubjectAccessReview" 921 } 922 }, 923 "application/vnd.kubernetes.protobuf": { 924 "schema": { 925 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.LocalSubjectAccessReview" 926 } 927 }, 928 "application/yaml": { 929 "schema": { 930 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.LocalSubjectAccessReview" 931 } 932 } 933 }, 934 "description": "Created" 935 }, 936 "202": { 937 "content": { 938 "application/json": { 939 "schema": { 940 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.LocalSubjectAccessReview" 941 } 942 }, 943 "application/vnd.kubernetes.protobuf": { 944 "schema": { 945 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.LocalSubjectAccessReview" 946 } 947 }, 948 "application/yaml": { 949 "schema": { 950 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.LocalSubjectAccessReview" 951 } 952 } 953 }, 954 "description": "Accepted" 955 }, 956 "401": { 957 "description": "Unauthorized" 958 } 959 }, 960 "tags": [ 961 "authorization_v1" 962 ], 963 "x-kubernetes-action": "post", 964 "x-kubernetes-group-version-kind": { 965 "group": "authorization.k8s.io", 966 "kind": "LocalSubjectAccessReview", 967 "version": "v1" 968 } 969 } 970 }, 971 "/apis/authorization.k8s.io/v1/selfsubjectaccessreviews": { 972 "parameters": [ 973 { 974 "description": "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", 975 "in": "query", 976 "name": "dryRun", 977 "schema": { 978 "type": "string", 979 "uniqueItems": true 980 } 981 }, 982 { 983 "description": "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.", 984 "in": "query", 985 "name": "fieldManager", 986 "schema": { 987 "type": "string", 988 "uniqueItems": true 989 } 990 }, 991 { 992 "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the `ServerSideFieldValidation` feature gate is also enabled. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23 and is the default behavior when the `ServerSideFieldValidation` feature gate is disabled. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default when the `ServerSideFieldValidation` feature gate is enabled. - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", 993 "in": "query", 994 "name": "fieldValidation", 995 "schema": { 996 "type": "string", 997 "uniqueItems": true 998 } 999 }, 1000 { 1001 "description": "If 'true', then the output is pretty printed.", 1002 "in": "query", 1003 "name": "pretty", 1004 "schema": { 1005 "type": "string", 1006 "uniqueItems": true 1007 } 1008 } 1009 ], 1010 "post": { 1011 "description": "create a SelfSubjectAccessReview", 1012 "operationId": "createAuthorizationV1SelfSubjectAccessReview", 1013 "requestBody": { 1014 "content": { 1015 "*/*": { 1016 "schema": { 1017 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SelfSubjectAccessReview" 1018 } 1019 } 1020 } 1021 }, 1022 "responses": { 1023 "200": { 1024 "content": { 1025 "application/json": { 1026 "schema": { 1027 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SelfSubjectAccessReview" 1028 } 1029 }, 1030 "application/vnd.kubernetes.protobuf": { 1031 "schema": { 1032 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SelfSubjectAccessReview" 1033 } 1034 }, 1035 "application/yaml": { 1036 "schema": { 1037 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SelfSubjectAccessReview" 1038 } 1039 } 1040 }, 1041 "description": "OK" 1042 }, 1043 "201": { 1044 "content": { 1045 "application/json": { 1046 "schema": { 1047 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SelfSubjectAccessReview" 1048 } 1049 }, 1050 "application/vnd.kubernetes.protobuf": { 1051 "schema": { 1052 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SelfSubjectAccessReview" 1053 } 1054 }, 1055 "application/yaml": { 1056 "schema": { 1057 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SelfSubjectAccessReview" 1058 } 1059 } 1060 }, 1061 "description": "Created" 1062 }, 1063 "202": { 1064 "content": { 1065 "application/json": { 1066 "schema": { 1067 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SelfSubjectAccessReview" 1068 } 1069 }, 1070 "application/vnd.kubernetes.protobuf": { 1071 "schema": { 1072 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SelfSubjectAccessReview" 1073 } 1074 }, 1075 "application/yaml": { 1076 "schema": { 1077 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SelfSubjectAccessReview" 1078 } 1079 } 1080 }, 1081 "description": "Accepted" 1082 }, 1083 "401": { 1084 "description": "Unauthorized" 1085 } 1086 }, 1087 "tags": [ 1088 "authorization_v1" 1089 ], 1090 "x-kubernetes-action": "post", 1091 "x-kubernetes-group-version-kind": { 1092 "group": "authorization.k8s.io", 1093 "kind": "SelfSubjectAccessReview", 1094 "version": "v1" 1095 } 1096 } 1097 }, 1098 "/apis/authorization.k8s.io/v1/selfsubjectrulesreviews": { 1099 "parameters": [ 1100 { 1101 "description": "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", 1102 "in": "query", 1103 "name": "dryRun", 1104 "schema": { 1105 "type": "string", 1106 "uniqueItems": true 1107 } 1108 }, 1109 { 1110 "description": "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.", 1111 "in": "query", 1112 "name": "fieldManager", 1113 "schema": { 1114 "type": "string", 1115 "uniqueItems": true 1116 } 1117 }, 1118 { 1119 "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the `ServerSideFieldValidation` feature gate is also enabled. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23 and is the default behavior when the `ServerSideFieldValidation` feature gate is disabled. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default when the `ServerSideFieldValidation` feature gate is enabled. - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", 1120 "in": "query", 1121 "name": "fieldValidation", 1122 "schema": { 1123 "type": "string", 1124 "uniqueItems": true 1125 } 1126 }, 1127 { 1128 "description": "If 'true', then the output is pretty printed.", 1129 "in": "query", 1130 "name": "pretty", 1131 "schema": { 1132 "type": "string", 1133 "uniqueItems": true 1134 } 1135 } 1136 ], 1137 "post": { 1138 "description": "create a SelfSubjectRulesReview", 1139 "operationId": "createAuthorizationV1SelfSubjectRulesReview", 1140 "requestBody": { 1141 "content": { 1142 "*/*": { 1143 "schema": { 1144 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SelfSubjectRulesReview" 1145 } 1146 } 1147 } 1148 }, 1149 "responses": { 1150 "200": { 1151 "content": { 1152 "application/json": { 1153 "schema": { 1154 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SelfSubjectRulesReview" 1155 } 1156 }, 1157 "application/vnd.kubernetes.protobuf": { 1158 "schema": { 1159 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SelfSubjectRulesReview" 1160 } 1161 }, 1162 "application/yaml": { 1163 "schema": { 1164 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SelfSubjectRulesReview" 1165 } 1166 } 1167 }, 1168 "description": "OK" 1169 }, 1170 "201": { 1171 "content": { 1172 "application/json": { 1173 "schema": { 1174 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SelfSubjectRulesReview" 1175 } 1176 }, 1177 "application/vnd.kubernetes.protobuf": { 1178 "schema": { 1179 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SelfSubjectRulesReview" 1180 } 1181 }, 1182 "application/yaml": { 1183 "schema": { 1184 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SelfSubjectRulesReview" 1185 } 1186 } 1187 }, 1188 "description": "Created" 1189 }, 1190 "202": { 1191 "content": { 1192 "application/json": { 1193 "schema": { 1194 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SelfSubjectRulesReview" 1195 } 1196 }, 1197 "application/vnd.kubernetes.protobuf": { 1198 "schema": { 1199 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SelfSubjectRulesReview" 1200 } 1201 }, 1202 "application/yaml": { 1203 "schema": { 1204 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SelfSubjectRulesReview" 1205 } 1206 } 1207 }, 1208 "description": "Accepted" 1209 }, 1210 "401": { 1211 "description": "Unauthorized" 1212 } 1213 }, 1214 "tags": [ 1215 "authorization_v1" 1216 ], 1217 "x-kubernetes-action": "post", 1218 "x-kubernetes-group-version-kind": { 1219 "group": "authorization.k8s.io", 1220 "kind": "SelfSubjectRulesReview", 1221 "version": "v1" 1222 } 1223 } 1224 }, 1225 "/apis/authorization.k8s.io/v1/subjectaccessreviews": { 1226 "parameters": [ 1227 { 1228 "description": "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", 1229 "in": "query", 1230 "name": "dryRun", 1231 "schema": { 1232 "type": "string", 1233 "uniqueItems": true 1234 } 1235 }, 1236 { 1237 "description": "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.", 1238 "in": "query", 1239 "name": "fieldManager", 1240 "schema": { 1241 "type": "string", 1242 "uniqueItems": true 1243 } 1244 }, 1245 { 1246 "description": "fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields, provided that the `ServerSideFieldValidation` feature gate is also enabled. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23 and is the default behavior when the `ServerSideFieldValidation` feature gate is disabled. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default when the `ServerSideFieldValidation` feature gate is enabled. - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.", 1247 "in": "query", 1248 "name": "fieldValidation", 1249 "schema": { 1250 "type": "string", 1251 "uniqueItems": true 1252 } 1253 }, 1254 { 1255 "description": "If 'true', then the output is pretty printed.", 1256 "in": "query", 1257 "name": "pretty", 1258 "schema": { 1259 "type": "string", 1260 "uniqueItems": true 1261 } 1262 } 1263 ], 1264 "post": { 1265 "description": "create a SubjectAccessReview", 1266 "operationId": "createAuthorizationV1SubjectAccessReview", 1267 "requestBody": { 1268 "content": { 1269 "*/*": { 1270 "schema": { 1271 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SubjectAccessReview" 1272 } 1273 } 1274 } 1275 }, 1276 "responses": { 1277 "200": { 1278 "content": { 1279 "application/json": { 1280 "schema": { 1281 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SubjectAccessReview" 1282 } 1283 }, 1284 "application/vnd.kubernetes.protobuf": { 1285 "schema": { 1286 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SubjectAccessReview" 1287 } 1288 }, 1289 "application/yaml": { 1290 "schema": { 1291 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SubjectAccessReview" 1292 } 1293 } 1294 }, 1295 "description": "OK" 1296 }, 1297 "201": { 1298 "content": { 1299 "application/json": { 1300 "schema": { 1301 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SubjectAccessReview" 1302 } 1303 }, 1304 "application/vnd.kubernetes.protobuf": { 1305 "schema": { 1306 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SubjectAccessReview" 1307 } 1308 }, 1309 "application/yaml": { 1310 "schema": { 1311 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SubjectAccessReview" 1312 } 1313 } 1314 }, 1315 "description": "Created" 1316 }, 1317 "202": { 1318 "content": { 1319 "application/json": { 1320 "schema": { 1321 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SubjectAccessReview" 1322 } 1323 }, 1324 "application/vnd.kubernetes.protobuf": { 1325 "schema": { 1326 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SubjectAccessReview" 1327 } 1328 }, 1329 "application/yaml": { 1330 "schema": { 1331 "$ref": "#/components/schemas/io.k8s.api.authorization.v1.SubjectAccessReview" 1332 } 1333 } 1334 }, 1335 "description": "Accepted" 1336 }, 1337 "401": { 1338 "description": "Unauthorized" 1339 } 1340 }, 1341 "tags": [ 1342 "authorization_v1" 1343 ], 1344 "x-kubernetes-action": "post", 1345 "x-kubernetes-group-version-kind": { 1346 "group": "authorization.k8s.io", 1347 "kind": "SubjectAccessReview", 1348 "version": "v1" 1349 } 1350 } 1351 } 1352 } 1353 }