Download OpenAPI specification:Download
list objects of kind AuditPolicy
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "apiVersion": "string",
- "items": [
- {
- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "additionalRedactions": [
- {
- "headers": [
- "string"
], - "paths": [
- "string"
]
}
], - "enabled": true,
- "filters": [
- {
- "action": "string",
- "requestURI": "string"
}
], - "verbosity": {
- "level": 0,
- "request": {
- "body": true,
- "headers": true
}, - "response": {
- "body": true,
- "headers": true
}
}
}, - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
]
}
}
], - "kind": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}
}create an AuditPolicy
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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. |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| apiVersion | string 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 |
| kind | string 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 |
object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta) ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
required | object |
object |
{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "additionalRedactions": [
- {
- "headers": [
- "string"
], - "paths": [
- "string"
]
}
], - "enabled": true,
- "filters": [
- {
- "action": "string",
- "requestURI": "string"
}
], - "verbosity": {
- "level": 0,
- "request": {
- "body": true,
- "headers": true
}, - "response": {
- "body": true,
- "headers": true
}
}
}, - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
]
}
}{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "additionalRedactions": [
- {
- "headers": [
- "string"
], - "paths": [
- "string"
]
}
], - "enabled": true,
- "filters": [
- {
- "action": "string",
- "requestURI": "string"
}
], - "verbosity": {
- "level": 0,
- "request": {
- "body": true,
- "headers": true
}, - "response": {
- "body": true,
- "headers": true
}
}
}, - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
]
}
}delete collection of AuditPolicy
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "apiVersion": "string",
- "code": 0,
- "details": {
- "causes": [
- {
- "field": "string",
- "message": "string",
- "reason": "string"
}
], - "group": "string",
- "kind": "string",
- "name": "string",
- "retryAfterSeconds": 0,
- "uid": "string"
}, - "kind": "string",
- "message": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}, - "reason": "string",
- "status": "string"
}read the specified AuditPolicy
| name required | string unique name of the AuditPolicy |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "additionalRedactions": [
- {
- "headers": [
- "string"
], - "paths": [
- "string"
]
}
], - "enabled": true,
- "filters": [
- {
- "action": "string",
- "requestURI": "string"
}
], - "verbosity": {
- "level": 0,
- "request": {
- "body": true,
- "headers": true
}, - "response": {
- "body": true,
- "headers": true
}
}
}, - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
]
}
}replace the specified AuditPolicy
| name required | string unique name of the AuditPolicy |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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. |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| apiVersion | string 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 |
| kind | string 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 |
object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta) ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
required | object |
object |
{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "additionalRedactions": [
- {
- "headers": [
- "string"
], - "paths": [
- "string"
]
}
], - "enabled": true,
- "filters": [
- {
- "action": "string",
- "requestURI": "string"
}
], - "verbosity": {
- "level": 0,
- "request": {
- "body": true,
- "headers": true
}, - "response": {
- "body": true,
- "headers": true
}
}
}, - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
]
}
}{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "additionalRedactions": [
- {
- "headers": [
- "string"
], - "paths": [
- "string"
]
}
], - "enabled": true,
- "filters": [
- {
- "action": "string",
- "requestURI": "string"
}
], - "verbosity": {
- "level": 0,
- "request": {
- "body": true,
- "headers": true
}, - "response": {
- "body": true,
- "headers": true
}
}
}, - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
]
}
}delete an AuditPolicy
| name required | string unique name of the AuditPolicy |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 |
| gracePeriodSeconds | integer unique The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
| ignoreStoreReadErrorWithClusterBreakingPotential | boolean unique if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
| orphanDependents | boolean unique Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
| propagationPolicy | string unique Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. |
| apiVersion | string 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 |
| dryRun | Array of strings 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 |
| gracePeriodSeconds | integer <int64> The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
| ignoreStoreReadErrorWithClusterBreakingPotential | boolean if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
| kind | string 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 |
| orphanDependents | boolean Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
object (io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions) Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. | |
| propagationPolicy | string Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. |
{- "apiVersion": "string",
- "dryRun": [
- "string"
], - "gracePeriodSeconds": 0,
- "ignoreStoreReadErrorWithClusterBreakingPotential": true,
- "kind": "string",
- "orphanDependents": true,
- "preconditions": {
- "resourceVersion": "string",
- "uid": "string"
}, - "propagationPolicy": "string"
}{- "apiVersion": "string",
- "code": 0,
- "details": {
- "causes": [
- {
- "field": "string",
- "message": "string",
- "reason": "string"
}
], - "group": "string",
- "kind": "string",
- "name": "string",
- "retryAfterSeconds": 0,
- "uid": "string"
}, - "kind": "string",
- "message": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}, - "reason": "string",
- "status": "string"
}partially update the specified AuditPolicy
| name required | string unique name of the AuditPolicy |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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). |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| force | boolean unique 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. |
Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
{ }{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "additionalRedactions": [
- {
- "headers": [
- "string"
], - "paths": [
- "string"
]
}
], - "enabled": true,
- "filters": [
- {
- "action": "string",
- "requestURI": "string"
}
], - "verbosity": {
- "level": 0,
- "request": {
- "body": true,
- "headers": true
}, - "response": {
- "body": true,
- "headers": true
}
}
}, - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
]
}
}read status of the specified AuditPolicy
| name required | string unique name of the AuditPolicy |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "additionalRedactions": [
- {
- "headers": [
- "string"
], - "paths": [
- "string"
]
}
], - "enabled": true,
- "filters": [
- {
- "action": "string",
- "requestURI": "string"
}
], - "verbosity": {
- "level": 0,
- "request": {
- "body": true,
- "headers": true
}, - "response": {
- "body": true,
- "headers": true
}
}
}, - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
]
}
}replace status of the specified AuditPolicy
| name required | string unique name of the AuditPolicy |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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. |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| apiVersion | string 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 |
| kind | string 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 |
object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta) ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
required | object |
object |
{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "additionalRedactions": [
- {
- "headers": [
- "string"
], - "paths": [
- "string"
]
}
], - "enabled": true,
- "filters": [
- {
- "action": "string",
- "requestURI": "string"
}
], - "verbosity": {
- "level": 0,
- "request": {
- "body": true,
- "headers": true
}, - "response": {
- "body": true,
- "headers": true
}
}
}, - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
]
}
}{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "additionalRedactions": [
- {
- "headers": [
- "string"
], - "paths": [
- "string"
]
}
], - "enabled": true,
- "filters": [
- {
- "action": "string",
- "requestURI": "string"
}
], - "verbosity": {
- "level": 0,
- "request": {
- "body": true,
- "headers": true
}, - "response": {
- "body": true,
- "headers": true
}
}
}, - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
]
}
}partially update status of the specified AuditPolicy
| name required | string unique name of the AuditPolicy |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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). |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| force | boolean unique 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. |
Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
{ }{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "additionalRedactions": [
- {
- "headers": [
- "string"
], - "paths": [
- "string"
]
}
], - "enabled": true,
- "filters": [
- {
- "action": "string",
- "requestURI": "string"
}
], - "verbosity": {
- "level": 0,
- "request": {
- "body": true,
- "headers": true
}, - "response": {
- "body": true,
- "headers": true
}
}
}, - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
]
}
}list or watch objects of kind Kubeconfig
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "apiVersion": "string",
- "items": [
- {
- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "clusters": [
- "string"
], - "currentContext": "string",
- "description": "string",
- "ttl": 0
}, - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "string",
- "type": "string"
}
], - "summary": "string",
- "tokens": [
- "string"
], - "value": "string"
}
}
], - "kind": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}
}create a Kubeconfig
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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. |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| apiVersion | string 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 |
| kind | string 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 |
object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta) ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object (io.cattle.ext.v1.KubeconfigSpec) KubeconfigSpec defines the desired state of Kubeconfig. | |
object (io.cattle.ext.v1.KubeconfigStatus) KubeconfigStatus defines the most recently observed status of the Kubeconfig. |
{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "clusters": [
- "string"
], - "currentContext": "string",
- "description": "string",
- "ttl": 0
}, - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "string",
- "type": "string"
}
], - "summary": "string",
- "tokens": [
- "string"
], - "value": "string"
}
}delete collection of Kubeconfig
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| dryRun | string unique 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 |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| gracePeriodSeconds | integer unique The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
| ignoreStoreReadErrorWithClusterBreakingPotential | boolean unique if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| orphanDependents | boolean unique Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
| propagationPolicy | string unique Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| apiVersion | string 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 |
| dryRun | Array of strings 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 |
| gracePeriodSeconds | integer <int64> The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
| ignoreStoreReadErrorWithClusterBreakingPotential | boolean if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
| kind | string 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 |
| orphanDependents | boolean Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
object (io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions) Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. | |
| propagationPolicy | string Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. |
{- "apiVersion": "string",
- "code": 0,
- "details": {
- "causes": [
- {
- "field": "string",
- "message": "string",
- "reason": "string"
}
], - "group": "string",
- "kind": "string",
- "name": "string",
- "retryAfterSeconds": 0,
- "uid": "string"
}, - "kind": "string",
- "message": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}, - "reason": "string",
- "status": "string"
}read the specified Kubeconfig
| name required | string unique name of the Kubeconfig |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "clusters": [
- "string"
], - "currentContext": "string",
- "description": "string",
- "ttl": 0
}, - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "string",
- "type": "string"
}
], - "summary": "string",
- "tokens": [
- "string"
], - "value": "string"
}
}replace the specified Kubeconfig
| name required | string unique name of the Kubeconfig |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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. |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| apiVersion | string 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 |
| kind | string 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 |
object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta) ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object (io.cattle.ext.v1.KubeconfigSpec) KubeconfigSpec defines the desired state of Kubeconfig. | |
object (io.cattle.ext.v1.KubeconfigStatus) KubeconfigStatus defines the most recently observed status of the Kubeconfig. |
{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "clusters": [
- "string"
], - "currentContext": "string",
- "description": "string",
- "ttl": 0
}, - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "string",
- "type": "string"
}
], - "summary": "string",
- "tokens": [
- "string"
], - "value": "string"
}
}delete a Kubeconfig
| name required | string unique name of the Kubeconfig |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 |
| gracePeriodSeconds | integer unique The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
| ignoreStoreReadErrorWithClusterBreakingPotential | boolean unique if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
| orphanDependents | boolean unique Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
| propagationPolicy | string unique Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. |
| apiVersion | string 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 |
| dryRun | Array of strings 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 |
| gracePeriodSeconds | integer <int64> The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
| ignoreStoreReadErrorWithClusterBreakingPotential | boolean if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
| kind | string 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 |
| orphanDependents | boolean Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
object (io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions) Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. | |
| propagationPolicy | string Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. |
{- "apiVersion": "string",
- "code": 0,
- "details": {
- "causes": [
- {
- "field": "string",
- "message": "string",
- "reason": "string"
}
], - "group": "string",
- "kind": "string",
- "name": "string",
- "retryAfterSeconds": 0,
- "uid": "string"
}, - "kind": "string",
- "message": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}, - "reason": "string",
- "status": "string"
}partially update the specified Kubeconfig
| name required | string unique name of the Kubeconfig |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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). |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| force | boolean unique 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. |
Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
{ }{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "clusters": [
- "string"
], - "currentContext": "string",
- "description": "string",
- "ttl": 0
}, - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "string",
- "type": "string"
}
], - "summary": "string",
- "tokens": [
- "string"
], - "value": "string"
}
}list or watch objects of kind Token
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "apiVersion": "string",
- "items": [
- {
- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "clusterName": "string",
- "description": "string",
- "enabled": true,
- "kind": "string",
- "ttl": 0,
- "userID": "string",
- "userPrincipal": {
- "displayName": "string",
- "extraInfo": {
- "property1": "string",
- "property2": "string"
}, - "loginName": "string",
- "me": true,
- "memberOf": true,
- "name": "string",
- "principalType": "string",
- "profilePicture": "string",
- "profileURL": "string",
- "provider": "string"
}
}, - "status": {
- "bearerToken": "string",
- "current": true,
- "expired": true,
- "expiresAt": "string",
- "hash": "string",
- "lastActivitySeen": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "string",
- "lastUsedAt": "2019-08-24T14:15:22Z",
- "value": "string"
}
}
], - "kind": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}
}create a Token
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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. |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| apiVersion | string 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 |
| kind | string 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 |
object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta) ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
required | object (io.cattle.ext.v1.TokenSpec) TokenSpec defines the desired state of the Token. |
required | object (io.cattle.ext.v1.TokenStatus) TokenStatus defines the most recently observed status of the Token. |
{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "clusterName": "string",
- "description": "string",
- "enabled": true,
- "kind": "string",
- "ttl": 0,
- "userID": "string",
- "userPrincipal": {
- "displayName": "string",
- "extraInfo": {
- "property1": "string",
- "property2": "string"
}, - "loginName": "string",
- "me": true,
- "memberOf": true,
- "name": "string",
- "principalType": "string",
- "profilePicture": "string",
- "profileURL": "string",
- "provider": "string"
}
}, - "status": {
- "bearerToken": "string",
- "current": true,
- "expired": true,
- "expiresAt": "string",
- "hash": "string",
- "lastActivitySeen": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "string",
- "lastUsedAt": "2019-08-24T14:15:22Z",
- "value": "string"
}
}delete collection of Token
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| dryRun | string unique 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 |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| gracePeriodSeconds | integer unique The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
| ignoreStoreReadErrorWithClusterBreakingPotential | boolean unique if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| orphanDependents | boolean unique Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
| propagationPolicy | string unique Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| apiVersion | string 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 |
| dryRun | Array of strings 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 |
| gracePeriodSeconds | integer <int64> The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
| ignoreStoreReadErrorWithClusterBreakingPotential | boolean if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
| kind | string 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 |
| orphanDependents | boolean Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
object (io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions) Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. | |
| propagationPolicy | string Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. |
{- "apiVersion": "string",
- "code": 0,
- "details": {
- "causes": [
- {
- "field": "string",
- "message": "string",
- "reason": "string"
}
], - "group": "string",
- "kind": "string",
- "name": "string",
- "retryAfterSeconds": 0,
- "uid": "string"
}, - "kind": "string",
- "message": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}, - "reason": "string",
- "status": "string"
}read the specified Token
| name required | string unique name of the Token |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "clusterName": "string",
- "description": "string",
- "enabled": true,
- "kind": "string",
- "ttl": 0,
- "userID": "string",
- "userPrincipal": {
- "displayName": "string",
- "extraInfo": {
- "property1": "string",
- "property2": "string"
}, - "loginName": "string",
- "me": true,
- "memberOf": true,
- "name": "string",
- "principalType": "string",
- "profilePicture": "string",
- "profileURL": "string",
- "provider": "string"
}
}, - "status": {
- "bearerToken": "string",
- "current": true,
- "expired": true,
- "expiresAt": "string",
- "hash": "string",
- "lastActivitySeen": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "string",
- "lastUsedAt": "2019-08-24T14:15:22Z",
- "value": "string"
}
}replace the specified Token
| name required | string unique name of the Token |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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. |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| apiVersion | string 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 |
| kind | string 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 |
object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta) ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
required | object (io.cattle.ext.v1.TokenSpec) TokenSpec defines the desired state of the Token. |
required | object (io.cattle.ext.v1.TokenStatus) TokenStatus defines the most recently observed status of the Token. |
{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "clusterName": "string",
- "description": "string",
- "enabled": true,
- "kind": "string",
- "ttl": 0,
- "userID": "string",
- "userPrincipal": {
- "displayName": "string",
- "extraInfo": {
- "property1": "string",
- "property2": "string"
}, - "loginName": "string",
- "me": true,
- "memberOf": true,
- "name": "string",
- "principalType": "string",
- "profilePicture": "string",
- "profileURL": "string",
- "provider": "string"
}
}, - "status": {
- "bearerToken": "string",
- "current": true,
- "expired": true,
- "expiresAt": "string",
- "hash": "string",
- "lastActivitySeen": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "string",
- "lastUsedAt": "2019-08-24T14:15:22Z",
- "value": "string"
}
}delete a Token
| name required | string unique name of the Token |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 |
| gracePeriodSeconds | integer unique The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
| ignoreStoreReadErrorWithClusterBreakingPotential | boolean unique if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
| orphanDependents | boolean unique Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
| propagationPolicy | string unique Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. |
| apiVersion | string 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 |
| dryRun | Array of strings 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 |
| gracePeriodSeconds | integer <int64> The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
| ignoreStoreReadErrorWithClusterBreakingPotential | boolean if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
| kind | string 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 |
| orphanDependents | boolean Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
object (io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions) Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. | |
| propagationPolicy | string Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. |
{- "apiVersion": "string",
- "code": 0,
- "details": {
- "causes": [
- {
- "field": "string",
- "message": "string",
- "reason": "string"
}
], - "group": "string",
- "kind": "string",
- "name": "string",
- "retryAfterSeconds": 0,
- "uid": "string"
}, - "kind": "string",
- "message": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}, - "reason": "string",
- "status": "string"
}partially update the specified Token
| name required | string unique name of the Token |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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). |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| force | boolean unique 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. |
Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
{ }{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "clusterName": "string",
- "description": "string",
- "enabled": true,
- "kind": "string",
- "ttl": 0,
- "userID": "string",
- "userPrincipal": {
- "displayName": "string",
- "extraInfo": {
- "property1": "string",
- "property2": "string"
}, - "loginName": "string",
- "me": true,
- "memberOf": true,
- "name": "string",
- "principalType": "string",
- "profilePicture": "string",
- "profileURL": "string",
- "provider": "string"
}
}, - "status": {
- "bearerToken": "string",
- "current": true,
- "expired": true,
- "expiresAt": "string",
- "hash": "string",
- "lastActivitySeen": "2019-08-24T14:15:22Z",
- "lastUpdateTime": "string",
- "lastUsedAt": "2019-08-24T14:15:22Z",
- "value": "string"
}
}watch individual changes to a list of Kubeconfig. deprecated: use the 'watch' parameter with a list operation instead.
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "object": { },
- "type": "string"
}watch changes to an object of kind Kubeconfig. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
| name required | string unique name of the Kubeconfig |
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "object": { },
- "type": "string"
}watch individual changes to a list of Token. deprecated: use the 'watch' parameter with a list operation instead.
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "object": { },
- "type": "string"
}watch changes to an object of kind Token. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
| name required | string unique name of the Token |
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "object": { },
- "type": "string"
}list objects of kind ClusterRoleTemplateBinding
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "apiVersion": "string",
- "items": [
- {
- "apiVersion": "string",
- "clusterName": "string",
- "groupName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "roleTemplateName": "string",
- "status": {
- "lastUpdateTime": "string",
- "localConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "observedGenerationLocal": 0,
- "observedGenerationRemote": 0,
- "remoteConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "summary": "string",
- "summaryLocal": "string",
- "summaryRemote": "string"
}, - "userName": "string",
- "userPrincipalName": "string"
}
], - "kind": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}
}list objects of kind GlobalRoleBinding
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "apiVersion": "string",
- "items": [
- {
- "apiVersion": "string",
- "globalRoleName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "status": {
- "lastUpdateTime": "string",
- "localConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "observedGenerationLocal": 0,
- "observedGenerationRemote": 0,
- "remoteConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "summary": "string",
- "summaryLocal": "string",
- "summaryRemote": "string"
}, - "userName": "string",
- "userPrincipalName": "string"
}
], - "kind": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}
}create a GlobalRoleBinding
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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. |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| apiVersion | string 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 |
| globalRoleName required | string GlobalRoleName is the name of the Global Role that the subject will be bound to. Immutable. |
| groupPrincipalName | string GroupPrincipalName is the name of the group principal subject to be bound. Immutable. |
| kind | string 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 |
object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta) ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object Status is the most recently observed status of the GlobalRoleBinding. Note, that this is read from and written to by two controllers. | |
| userName | string UserName is the name of the user subject to be bound. Immutable. |
| userPrincipalName | string UserPrincipalName is the name of the user principal subject to be bound. Immutable. |
{- "apiVersion": "string",
- "globalRoleName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "status": {
- "lastUpdateTime": "string",
- "localConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "observedGenerationLocal": 0,
- "observedGenerationRemote": 0,
- "remoteConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "summary": "string",
- "summaryLocal": "string",
- "summaryRemote": "string"
}, - "userName": "string",
- "userPrincipalName": "string"
}{- "apiVersion": "string",
- "globalRoleName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "status": {
- "lastUpdateTime": "string",
- "localConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "observedGenerationLocal": 0,
- "observedGenerationRemote": 0,
- "remoteConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "summary": "string",
- "summaryLocal": "string",
- "summaryRemote": "string"
}, - "userName": "string",
- "userPrincipalName": "string"
}delete collection of GlobalRoleBinding
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "apiVersion": "string",
- "code": 0,
- "details": {
- "causes": [
- {
- "field": "string",
- "message": "string",
- "reason": "string"
}
], - "group": "string",
- "kind": "string",
- "name": "string",
- "retryAfterSeconds": 0,
- "uid": "string"
}, - "kind": "string",
- "message": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}, - "reason": "string",
- "status": "string"
}read the specified GlobalRoleBinding
| name required | string unique name of the GlobalRoleBinding |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
{- "apiVersion": "string",
- "globalRoleName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "status": {
- "lastUpdateTime": "string",
- "localConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "observedGenerationLocal": 0,
- "observedGenerationRemote": 0,
- "remoteConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "summary": "string",
- "summaryLocal": "string",
- "summaryRemote": "string"
}, - "userName": "string",
- "userPrincipalName": "string"
}replace the specified GlobalRoleBinding
| name required | string unique name of the GlobalRoleBinding |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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. |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| apiVersion | string 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 |
| globalRoleName required | string GlobalRoleName is the name of the Global Role that the subject will be bound to. Immutable. |
| groupPrincipalName | string GroupPrincipalName is the name of the group principal subject to be bound. Immutable. |
| kind | string 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 |
object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta) ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object Status is the most recently observed status of the GlobalRoleBinding. Note, that this is read from and written to by two controllers. | |
| userName | string UserName is the name of the user subject to be bound. Immutable. |
| userPrincipalName | string UserPrincipalName is the name of the user principal subject to be bound. Immutable. |
{- "apiVersion": "string",
- "globalRoleName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "status": {
- "lastUpdateTime": "string",
- "localConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "observedGenerationLocal": 0,
- "observedGenerationRemote": 0,
- "remoteConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "summary": "string",
- "summaryLocal": "string",
- "summaryRemote": "string"
}, - "userName": "string",
- "userPrincipalName": "string"
}{- "apiVersion": "string",
- "globalRoleName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "status": {
- "lastUpdateTime": "string",
- "localConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "observedGenerationLocal": 0,
- "observedGenerationRemote": 0,
- "remoteConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "summary": "string",
- "summaryLocal": "string",
- "summaryRemote": "string"
}, - "userName": "string",
- "userPrincipalName": "string"
}delete a GlobalRoleBinding
| name required | string unique name of the GlobalRoleBinding |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 |
| gracePeriodSeconds | integer unique The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
| ignoreStoreReadErrorWithClusterBreakingPotential | boolean unique if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
| orphanDependents | boolean unique Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
| propagationPolicy | string unique Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. |
| apiVersion | string 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 |
| dryRun | Array of strings 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 |
| gracePeriodSeconds | integer <int64> The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
| ignoreStoreReadErrorWithClusterBreakingPotential | boolean if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
| kind | string 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 |
| orphanDependents | boolean Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
object (io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions) Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. | |
| propagationPolicy | string Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. |
{- "apiVersion": "string",
- "dryRun": [
- "string"
], - "gracePeriodSeconds": 0,
- "ignoreStoreReadErrorWithClusterBreakingPotential": true,
- "kind": "string",
- "orphanDependents": true,
- "preconditions": {
- "resourceVersion": "string",
- "uid": "string"
}, - "propagationPolicy": "string"
}{- "apiVersion": "string",
- "code": 0,
- "details": {
- "causes": [
- {
- "field": "string",
- "message": "string",
- "reason": "string"
}
], - "group": "string",
- "kind": "string",
- "name": "string",
- "retryAfterSeconds": 0,
- "uid": "string"
}, - "kind": "string",
- "message": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}, - "reason": "string",
- "status": "string"
}partially update the specified GlobalRoleBinding
| name required | string unique name of the GlobalRoleBinding |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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). |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| force | boolean unique 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. |
Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
{ }{- "apiVersion": "string",
- "globalRoleName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "status": {
- "lastUpdateTime": "string",
- "localConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "observedGenerationLocal": 0,
- "observedGenerationRemote": 0,
- "remoteConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "summary": "string",
- "summaryLocal": "string",
- "summaryRemote": "string"
}, - "userName": "string",
- "userPrincipalName": "string"
}read status of the specified GlobalRoleBinding
| name required | string unique name of the GlobalRoleBinding |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
{- "apiVersion": "string",
- "globalRoleName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "status": {
- "lastUpdateTime": "string",
- "localConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "observedGenerationLocal": 0,
- "observedGenerationRemote": 0,
- "remoteConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "summary": "string",
- "summaryLocal": "string",
- "summaryRemote": "string"
}, - "userName": "string",
- "userPrincipalName": "string"
}replace status of the specified GlobalRoleBinding
| name required | string unique name of the GlobalRoleBinding |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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. |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| apiVersion | string 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 |
| globalRoleName required | string GlobalRoleName is the name of the Global Role that the subject will be bound to. Immutable. |
| groupPrincipalName | string GroupPrincipalName is the name of the group principal subject to be bound. Immutable. |
| kind | string 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 |
object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta) ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object Status is the most recently observed status of the GlobalRoleBinding. Note, that this is read from and written to by two controllers. | |
| userName | string UserName is the name of the user subject to be bound. Immutable. |
| userPrincipalName | string UserPrincipalName is the name of the user principal subject to be bound. Immutable. |
{- "apiVersion": "string",
- "globalRoleName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "status": {
- "lastUpdateTime": "string",
- "localConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "observedGenerationLocal": 0,
- "observedGenerationRemote": 0,
- "remoteConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "summary": "string",
- "summaryLocal": "string",
- "summaryRemote": "string"
}, - "userName": "string",
- "userPrincipalName": "string"
}{- "apiVersion": "string",
- "globalRoleName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "status": {
- "lastUpdateTime": "string",
- "localConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "observedGenerationLocal": 0,
- "observedGenerationRemote": 0,
- "remoteConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "summary": "string",
- "summaryLocal": "string",
- "summaryRemote": "string"
}, - "userName": "string",
- "userPrincipalName": "string"
}partially update status of the specified GlobalRoleBinding
| name required | string unique name of the GlobalRoleBinding |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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). |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| force | boolean unique 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. |
Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
{ }{- "apiVersion": "string",
- "globalRoleName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "status": {
- "lastUpdateTime": "string",
- "localConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "observedGenerationLocal": 0,
- "observedGenerationRemote": 0,
- "remoteConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "summary": "string",
- "summaryLocal": "string",
- "summaryRemote": "string"
}, - "userName": "string",
- "userPrincipalName": "string"
}list objects of kind GlobalRole
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "apiVersion": "string",
- "items": [
- {
- "apiVersion": "string",
- "builtin": true,
- "description": "string",
- "displayName": "string",
- "inheritedClusterRoles": [
- "string"
], - "inheritedFleetWorkspacePermissions": {
- "resourceRules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "workspaceVerbs": [
- "string"
]
}, - "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "namespacedRules": {
- "property1": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "property2": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
]
}, - "newUserDefault": true,
- "rules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "lastUpdateTime": "string",
- "observedGeneration": 0,
- "summary": "string"
}
}
], - "kind": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}
}create a GlobalRole
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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. |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| apiVersion | string 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 |
| builtin | boolean Builtin specifies that this GlobalRole was created by Rancher if true. Immutable. |
| description | string Description holds text that describes the resource. |
| displayName | string DisplayName is the human-readable name displayed in the UI for this resource. |
| inheritedClusterRoles | Array of strings InheritedClusterRoles are the names of RoleTemplates whose permissions are granted by this GlobalRole in every cluster besides the local cluster. To grant permissions in the local cluster, use the Rules field. |
object InheritedFleetWorkspacePermissions are the permissions granted by this GlobalRole in every fleet workspace besides the local one. | |
| kind | string 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 |
object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta) ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object NamespacedRules are the rules that are active in each namespace of this GlobalRole. These are applied to the local cluster only.
| |
| newUserDefault | boolean NewUserDefault specifies that all new users created should be bound to this GlobalRole if true. |
Array of objects Rules holds a list of PolicyRules that are applied to the local cluster only. | |
object Status is the most recently observed status of the GlobalRole. |
{- "apiVersion": "string",
- "builtin": true,
- "description": "string",
- "displayName": "string",
- "inheritedClusterRoles": [
- "string"
], - "inheritedFleetWorkspacePermissions": {
- "resourceRules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "workspaceVerbs": [
- "string"
]
}, - "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "namespacedRules": {
- "property1": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "property2": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
]
}, - "newUserDefault": true,
- "rules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "lastUpdateTime": "string",
- "observedGeneration": 0,
- "summary": "string"
}
}{- "apiVersion": "string",
- "builtin": true,
- "description": "string",
- "displayName": "string",
- "inheritedClusterRoles": [
- "string"
], - "inheritedFleetWorkspacePermissions": {
- "resourceRules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "workspaceVerbs": [
- "string"
]
}, - "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "namespacedRules": {
- "property1": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "property2": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
]
}, - "newUserDefault": true,
- "rules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "lastUpdateTime": "string",
- "observedGeneration": 0,
- "summary": "string"
}
}delete collection of GlobalRole
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "apiVersion": "string",
- "code": 0,
- "details": {
- "causes": [
- {
- "field": "string",
- "message": "string",
- "reason": "string"
}
], - "group": "string",
- "kind": "string",
- "name": "string",
- "retryAfterSeconds": 0,
- "uid": "string"
}, - "kind": "string",
- "message": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}, - "reason": "string",
- "status": "string"
}read the specified GlobalRole
| name required | string unique name of the GlobalRole |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
{- "apiVersion": "string",
- "builtin": true,
- "description": "string",
- "displayName": "string",
- "inheritedClusterRoles": [
- "string"
], - "inheritedFleetWorkspacePermissions": {
- "resourceRules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "workspaceVerbs": [
- "string"
]
}, - "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "namespacedRules": {
- "property1": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "property2": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
]
}, - "newUserDefault": true,
- "rules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "lastUpdateTime": "string",
- "observedGeneration": 0,
- "summary": "string"
}
}replace the specified GlobalRole
| name required | string unique name of the GlobalRole |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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. |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| apiVersion | string 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 |
| builtin | boolean Builtin specifies that this GlobalRole was created by Rancher if true. Immutable. |
| description | string Description holds text that describes the resource. |
| displayName | string DisplayName is the human-readable name displayed in the UI for this resource. |
| inheritedClusterRoles | Array of strings InheritedClusterRoles are the names of RoleTemplates whose permissions are granted by this GlobalRole in every cluster besides the local cluster. To grant permissions in the local cluster, use the Rules field. |
object InheritedFleetWorkspacePermissions are the permissions granted by this GlobalRole in every fleet workspace besides the local one. | |
| kind | string 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 |
object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta) ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object NamespacedRules are the rules that are active in each namespace of this GlobalRole. These are applied to the local cluster only.
| |
| newUserDefault | boolean NewUserDefault specifies that all new users created should be bound to this GlobalRole if true. |
Array of objects Rules holds a list of PolicyRules that are applied to the local cluster only. | |
object Status is the most recently observed status of the GlobalRole. |
{- "apiVersion": "string",
- "builtin": true,
- "description": "string",
- "displayName": "string",
- "inheritedClusterRoles": [
- "string"
], - "inheritedFleetWorkspacePermissions": {
- "resourceRules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "workspaceVerbs": [
- "string"
]
}, - "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "namespacedRules": {
- "property1": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "property2": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
]
}, - "newUserDefault": true,
- "rules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "lastUpdateTime": "string",
- "observedGeneration": 0,
- "summary": "string"
}
}{- "apiVersion": "string",
- "builtin": true,
- "description": "string",
- "displayName": "string",
- "inheritedClusterRoles": [
- "string"
], - "inheritedFleetWorkspacePermissions": {
- "resourceRules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "workspaceVerbs": [
- "string"
]
}, - "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "namespacedRules": {
- "property1": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "property2": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
]
}, - "newUserDefault": true,
- "rules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "lastUpdateTime": "string",
- "observedGeneration": 0,
- "summary": "string"
}
}delete a GlobalRole
| name required | string unique name of the GlobalRole |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 |
| gracePeriodSeconds | integer unique The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
| ignoreStoreReadErrorWithClusterBreakingPotential | boolean unique if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
| orphanDependents | boolean unique Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
| propagationPolicy | string unique Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. |
| apiVersion | string 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 |
| dryRun | Array of strings 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 |
| gracePeriodSeconds | integer <int64> The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
| ignoreStoreReadErrorWithClusterBreakingPotential | boolean if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
| kind | string 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 |
| orphanDependents | boolean Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
object (io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions) Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. | |
| propagationPolicy | string Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. |
{- "apiVersion": "string",
- "dryRun": [
- "string"
], - "gracePeriodSeconds": 0,
- "ignoreStoreReadErrorWithClusterBreakingPotential": true,
- "kind": "string",
- "orphanDependents": true,
- "preconditions": {
- "resourceVersion": "string",
- "uid": "string"
}, - "propagationPolicy": "string"
}{- "apiVersion": "string",
- "code": 0,
- "details": {
- "causes": [
- {
- "field": "string",
- "message": "string",
- "reason": "string"
}
], - "group": "string",
- "kind": "string",
- "name": "string",
- "retryAfterSeconds": 0,
- "uid": "string"
}, - "kind": "string",
- "message": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}, - "reason": "string",
- "status": "string"
}partially update the specified GlobalRole
| name required | string unique name of the GlobalRole |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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). |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| force | boolean unique 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. |
Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
{ }{- "apiVersion": "string",
- "builtin": true,
- "description": "string",
- "displayName": "string",
- "inheritedClusterRoles": [
- "string"
], - "inheritedFleetWorkspacePermissions": {
- "resourceRules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "workspaceVerbs": [
- "string"
]
}, - "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "namespacedRules": {
- "property1": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "property2": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
]
}, - "newUserDefault": true,
- "rules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "lastUpdateTime": "string",
- "observedGeneration": 0,
- "summary": "string"
}
}read status of the specified GlobalRole
| name required | string unique name of the GlobalRole |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
{- "apiVersion": "string",
- "builtin": true,
- "description": "string",
- "displayName": "string",
- "inheritedClusterRoles": [
- "string"
], - "inheritedFleetWorkspacePermissions": {
- "resourceRules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "workspaceVerbs": [
- "string"
]
}, - "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "namespacedRules": {
- "property1": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "property2": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
]
}, - "newUserDefault": true,
- "rules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "lastUpdateTime": "string",
- "observedGeneration": 0,
- "summary": "string"
}
}replace status of the specified GlobalRole
| name required | string unique name of the GlobalRole |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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. |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| apiVersion | string 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 |
| builtin | boolean Builtin specifies that this GlobalRole was created by Rancher if true. Immutable. |
| description | string Description holds text that describes the resource. |
| displayName | string DisplayName is the human-readable name displayed in the UI for this resource. |
| inheritedClusterRoles | Array of strings InheritedClusterRoles are the names of RoleTemplates whose permissions are granted by this GlobalRole in every cluster besides the local cluster. To grant permissions in the local cluster, use the Rules field. |
object InheritedFleetWorkspacePermissions are the permissions granted by this GlobalRole in every fleet workspace besides the local one. | |
| kind | string 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 |
object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta) ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object NamespacedRules are the rules that are active in each namespace of this GlobalRole. These are applied to the local cluster only.
| |
| newUserDefault | boolean NewUserDefault specifies that all new users created should be bound to this GlobalRole if true. |
Array of objects Rules holds a list of PolicyRules that are applied to the local cluster only. | |
object Status is the most recently observed status of the GlobalRole. |
{- "apiVersion": "string",
- "builtin": true,
- "description": "string",
- "displayName": "string",
- "inheritedClusterRoles": [
- "string"
], - "inheritedFleetWorkspacePermissions": {
- "resourceRules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "workspaceVerbs": [
- "string"
]
}, - "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "namespacedRules": {
- "property1": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "property2": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
]
}, - "newUserDefault": true,
- "rules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "lastUpdateTime": "string",
- "observedGeneration": 0,
- "summary": "string"
}
}{- "apiVersion": "string",
- "builtin": true,
- "description": "string",
- "displayName": "string",
- "inheritedClusterRoles": [
- "string"
], - "inheritedFleetWorkspacePermissions": {
- "resourceRules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "workspaceVerbs": [
- "string"
]
}, - "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "namespacedRules": {
- "property1": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "property2": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
]
}, - "newUserDefault": true,
- "rules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "lastUpdateTime": "string",
- "observedGeneration": 0,
- "summary": "string"
}
}partially update status of the specified GlobalRole
| name required | string unique name of the GlobalRole |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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). |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| force | boolean unique 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. |
Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
{ }{- "apiVersion": "string",
- "builtin": true,
- "description": "string",
- "displayName": "string",
- "inheritedClusterRoles": [
- "string"
], - "inheritedFleetWorkspacePermissions": {
- "resourceRules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "workspaceVerbs": [
- "string"
]
}, - "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "namespacedRules": {
- "property1": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "property2": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
]
}, - "newUserDefault": true,
- "rules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "status": {
- "conditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "lastUpdateTime": "string",
- "observedGeneration": 0,
- "summary": "string"
}
}list objects of kind ClusterRoleTemplateBinding
| namespace required | string unique object name and auth scope, such as for teams and projects |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "apiVersion": "string",
- "items": [
- {
- "apiVersion": "string",
- "clusterName": "string",
- "groupName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "roleTemplateName": "string",
- "status": {
- "lastUpdateTime": "string",
- "localConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "observedGenerationLocal": 0,
- "observedGenerationRemote": 0,
- "remoteConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "summary": "string",
- "summaryLocal": "string",
- "summaryRemote": "string"
}, - "userName": "string",
- "userPrincipalName": "string"
}
], - "kind": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}
}create a ClusterRoleTemplateBinding
| namespace required | string unique object name and auth scope, such as for teams and projects |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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. |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| apiVersion | string 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 |
| clusterName required | string ClusterName is the metadata.name of the cluster to which a subject is added. Must match the namespace. Immutable. |
| groupName | string GroupName is the name of the group subject added to the cluster. Immutable. |
| groupPrincipalName | string GroupPrincipalName is the name of the group principal subject added to the cluster. Immutable. |
| kind | string 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 |
object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta) ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
| roleTemplateName required | string RoleTemplateName is the name of the role template that defines permissions to perform actions on resources in the cluster. Immutable. |
object Status is the most recently observed status of the ClusterRoleTemplateBinding. BEWARE. This is read from and written to by two controllers. | |
| userName | string UserName is the name of the user subject added to the cluster. Immutable. |
| userPrincipalName | string UserPrincipalName is the name of the user principal subject added to the cluster. Immutable. |
{- "apiVersion": "string",
- "clusterName": "string",
- "groupName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "roleTemplateName": "string",
- "status": {
- "lastUpdateTime": "string",
- "localConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "observedGenerationLocal": 0,
- "observedGenerationRemote": 0,
- "remoteConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "summary": "string",
- "summaryLocal": "string",
- "summaryRemote": "string"
}, - "userName": "string",
- "userPrincipalName": "string"
}{- "apiVersion": "string",
- "clusterName": "string",
- "groupName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "roleTemplateName": "string",
- "status": {
- "lastUpdateTime": "string",
- "localConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "observedGenerationLocal": 0,
- "observedGenerationRemote": 0,
- "remoteConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "summary": "string",
- "summaryLocal": "string",
- "summaryRemote": "string"
}, - "userName": "string",
- "userPrincipalName": "string"
}delete collection of ClusterRoleTemplateBinding
| namespace required | string unique object name and auth scope, such as for teams and projects |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "apiVersion": "string",
- "code": 0,
- "details": {
- "causes": [
- {
- "field": "string",
- "message": "string",
- "reason": "string"
}
], - "group": "string",
- "kind": "string",
- "name": "string",
- "retryAfterSeconds": 0,
- "uid": "string"
}, - "kind": "string",
- "message": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}, - "reason": "string",
- "status": "string"
}read the specified ClusterRoleTemplateBinding
| name required | string unique name of the ClusterRoleTemplateBinding |
| namespace required | string unique object name and auth scope, such as for teams and projects |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
{- "apiVersion": "string",
- "clusterName": "string",
- "groupName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "roleTemplateName": "string",
- "status": {
- "lastUpdateTime": "string",
- "localConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "observedGenerationLocal": 0,
- "observedGenerationRemote": 0,
- "remoteConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "summary": "string",
- "summaryLocal": "string",
- "summaryRemote": "string"
}, - "userName": "string",
- "userPrincipalName": "string"
}replace the specified ClusterRoleTemplateBinding
| name required | string unique name of the ClusterRoleTemplateBinding |
| namespace required | string unique object name and auth scope, such as for teams and projects |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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. |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| apiVersion | string 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 |
| clusterName required | string ClusterName is the metadata.name of the cluster to which a subject is added. Must match the namespace. Immutable. |
| groupName | string GroupName is the name of the group subject added to the cluster. Immutable. |
| groupPrincipalName | string GroupPrincipalName is the name of the group principal subject added to the cluster. Immutable. |
| kind | string 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 |
object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta) ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
| roleTemplateName required | string RoleTemplateName is the name of the role template that defines permissions to perform actions on resources in the cluster. Immutable. |
object Status is the most recently observed status of the ClusterRoleTemplateBinding. BEWARE. This is read from and written to by two controllers. | |
| userName | string UserName is the name of the user subject added to the cluster. Immutable. |
| userPrincipalName | string UserPrincipalName is the name of the user principal subject added to the cluster. Immutable. |
{- "apiVersion": "string",
- "clusterName": "string",
- "groupName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "roleTemplateName": "string",
- "status": {
- "lastUpdateTime": "string",
- "localConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "observedGenerationLocal": 0,
- "observedGenerationRemote": 0,
- "remoteConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "summary": "string",
- "summaryLocal": "string",
- "summaryRemote": "string"
}, - "userName": "string",
- "userPrincipalName": "string"
}{- "apiVersion": "string",
- "clusterName": "string",
- "groupName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "roleTemplateName": "string",
- "status": {
- "lastUpdateTime": "string",
- "localConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "observedGenerationLocal": 0,
- "observedGenerationRemote": 0,
- "remoteConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "summary": "string",
- "summaryLocal": "string",
- "summaryRemote": "string"
}, - "userName": "string",
- "userPrincipalName": "string"
}delete a ClusterRoleTemplateBinding
| name required | string unique name of the ClusterRoleTemplateBinding |
| namespace required | string unique object name and auth scope, such as for teams and projects |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 |
| gracePeriodSeconds | integer unique The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
| ignoreStoreReadErrorWithClusterBreakingPotential | boolean unique if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
| orphanDependents | boolean unique Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
| propagationPolicy | string unique Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. |
| apiVersion | string 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 |
| dryRun | Array of strings 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 |
| gracePeriodSeconds | integer <int64> The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
| ignoreStoreReadErrorWithClusterBreakingPotential | boolean if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
| kind | string 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 |
| orphanDependents | boolean Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
object (io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions) Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. | |
| propagationPolicy | string Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. |
{- "apiVersion": "string",
- "dryRun": [
- "string"
], - "gracePeriodSeconds": 0,
- "ignoreStoreReadErrorWithClusterBreakingPotential": true,
- "kind": "string",
- "orphanDependents": true,
- "preconditions": {
- "resourceVersion": "string",
- "uid": "string"
}, - "propagationPolicy": "string"
}{- "apiVersion": "string",
- "code": 0,
- "details": {
- "causes": [
- {
- "field": "string",
- "message": "string",
- "reason": "string"
}
], - "group": "string",
- "kind": "string",
- "name": "string",
- "retryAfterSeconds": 0,
- "uid": "string"
}, - "kind": "string",
- "message": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}, - "reason": "string",
- "status": "string"
}partially update the specified ClusterRoleTemplateBinding
| name required | string unique name of the ClusterRoleTemplateBinding |
| namespace required | string unique object name and auth scope, such as for teams and projects |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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). |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| force | boolean unique 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. |
Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
{ }{- "apiVersion": "string",
- "clusterName": "string",
- "groupName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "roleTemplateName": "string",
- "status": {
- "lastUpdateTime": "string",
- "localConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "observedGenerationLocal": 0,
- "observedGenerationRemote": 0,
- "remoteConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "summary": "string",
- "summaryLocal": "string",
- "summaryRemote": "string"
}, - "userName": "string",
- "userPrincipalName": "string"
}read status of the specified ClusterRoleTemplateBinding
| name required | string unique name of the ClusterRoleTemplateBinding |
| namespace required | string unique object name and auth scope, such as for teams and projects |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
{- "apiVersion": "string",
- "clusterName": "string",
- "groupName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "roleTemplateName": "string",
- "status": {
- "lastUpdateTime": "string",
- "localConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "observedGenerationLocal": 0,
- "observedGenerationRemote": 0,
- "remoteConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "summary": "string",
- "summaryLocal": "string",
- "summaryRemote": "string"
}, - "userName": "string",
- "userPrincipalName": "string"
}replace status of the specified ClusterRoleTemplateBinding
| name required | string unique name of the ClusterRoleTemplateBinding |
| namespace required | string unique object name and auth scope, such as for teams and projects |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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. |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| apiVersion | string 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 |
| clusterName required | string ClusterName is the metadata.name of the cluster to which a subject is added. Must match the namespace. Immutable. |
| groupName | string GroupName is the name of the group subject added to the cluster. Immutable. |
| groupPrincipalName | string GroupPrincipalName is the name of the group principal subject added to the cluster. Immutable. |
| kind | string 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 |
object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta) ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
| roleTemplateName required | string RoleTemplateName is the name of the role template that defines permissions to perform actions on resources in the cluster. Immutable. |
object Status is the most recently observed status of the ClusterRoleTemplateBinding. BEWARE. This is read from and written to by two controllers. | |
| userName | string UserName is the name of the user subject added to the cluster. Immutable. |
| userPrincipalName | string UserPrincipalName is the name of the user principal subject added to the cluster. Immutable. |
{- "apiVersion": "string",
- "clusterName": "string",
- "groupName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "roleTemplateName": "string",
- "status": {
- "lastUpdateTime": "string",
- "localConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "observedGenerationLocal": 0,
- "observedGenerationRemote": 0,
- "remoteConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "summary": "string",
- "summaryLocal": "string",
- "summaryRemote": "string"
}, - "userName": "string",
- "userPrincipalName": "string"
}{- "apiVersion": "string",
- "clusterName": "string",
- "groupName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "roleTemplateName": "string",
- "status": {
- "lastUpdateTime": "string",
- "localConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "observedGenerationLocal": 0,
- "observedGenerationRemote": 0,
- "remoteConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "summary": "string",
- "summaryLocal": "string",
- "summaryRemote": "string"
}, - "userName": "string",
- "userPrincipalName": "string"
}partially update status of the specified ClusterRoleTemplateBinding
| name required | string unique name of the ClusterRoleTemplateBinding |
| namespace required | string unique object name and auth scope, such as for teams and projects |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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). |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| force | boolean unique 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. |
Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
{ }{- "apiVersion": "string",
- "clusterName": "string",
- "groupName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "roleTemplateName": "string",
- "status": {
- "lastUpdateTime": "string",
- "localConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "observedGenerationLocal": 0,
- "observedGenerationRemote": 0,
- "remoteConditions": [
- {
- "lastTransitionTime": "2019-08-24T14:15:22Z",
- "message": "string",
- "observedGeneration": 0,
- "reason": "string",
- "status": "True",
- "type": "string"
}
], - "summary": "string",
- "summaryLocal": "string",
- "summaryRemote": "string"
}, - "userName": "string",
- "userPrincipalName": "string"
}list objects of kind ProjectRoleTemplateBinding
| namespace required | string unique object name and auth scope, such as for teams and projects |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "apiVersion": "string",
- "items": [
- {
- "apiVersion": "string",
- "groupName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "projectName": "string",
- "roleTemplateName": "string",
- "serviceAccount": "string",
- "userName": "string",
- "userPrincipalName": "string"
}
], - "kind": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}
}create a ProjectRoleTemplateBinding
| namespace required | string unique object name and auth scope, such as for teams and projects |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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. |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| apiVersion | string 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 |
| groupName | string GroupName is the name of the group subject added to the project. Immutable. |
| groupPrincipalName | string GroupPrincipalName is the name of the group principal subject added to the project. Immutable. |
| kind | string 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 |
object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta) ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
| projectName required | string ProjectName is the name of the project to which a subject is added. Immutable. |
| roleTemplateName required | string RoleTemplateName is the name of the role template that defines permissions to perform actions on resources in the project. Immutable. |
| serviceAccount | string ServiceAccount is the name of the service account bound as a subject. Immutable. Deprecated. |
| userName | string UserName is the name of the user subject added to the project. Immutable. |
| userPrincipalName | string UserPrincipalName is the name of the user principal subject added to the project. Immutable. |
{- "apiVersion": "string",
- "groupName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "projectName": "string",
- "roleTemplateName": "string",
- "serviceAccount": "string",
- "userName": "string",
- "userPrincipalName": "string"
}{- "apiVersion": "string",
- "groupName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "projectName": "string",
- "roleTemplateName": "string",
- "serviceAccount": "string",
- "userName": "string",
- "userPrincipalName": "string"
}delete collection of ProjectRoleTemplateBinding
| namespace required | string unique object name and auth scope, such as for teams and projects |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "apiVersion": "string",
- "code": 0,
- "details": {
- "causes": [
- {
- "field": "string",
- "message": "string",
- "reason": "string"
}
], - "group": "string",
- "kind": "string",
- "name": "string",
- "retryAfterSeconds": 0,
- "uid": "string"
}, - "kind": "string",
- "message": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}, - "reason": "string",
- "status": "string"
}read the specified ProjectRoleTemplateBinding
| name required | string unique name of the ProjectRoleTemplateBinding |
| namespace required | string unique object name and auth scope, such as for teams and projects |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
{- "apiVersion": "string",
- "groupName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "projectName": "string",
- "roleTemplateName": "string",
- "serviceAccount": "string",
- "userName": "string",
- "userPrincipalName": "string"
}replace the specified ProjectRoleTemplateBinding
| name required | string unique name of the ProjectRoleTemplateBinding |
| namespace required | string unique object name and auth scope, such as for teams and projects |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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. |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| apiVersion | string 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 |
| groupName | string GroupName is the name of the group subject added to the project. Immutable. |
| groupPrincipalName | string GroupPrincipalName is the name of the group principal subject added to the project. Immutable. |
| kind | string 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 |
object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta) ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
| projectName required | string ProjectName is the name of the project to which a subject is added. Immutable. |
| roleTemplateName required | string RoleTemplateName is the name of the role template that defines permissions to perform actions on resources in the project. Immutable. |
| serviceAccount | string ServiceAccount is the name of the service account bound as a subject. Immutable. Deprecated. |
| userName | string UserName is the name of the user subject added to the project. Immutable. |
| userPrincipalName | string UserPrincipalName is the name of the user principal subject added to the project. Immutable. |
{- "apiVersion": "string",
- "groupName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "projectName": "string",
- "roleTemplateName": "string",
- "serviceAccount": "string",
- "userName": "string",
- "userPrincipalName": "string"
}{- "apiVersion": "string",
- "groupName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "projectName": "string",
- "roleTemplateName": "string",
- "serviceAccount": "string",
- "userName": "string",
- "userPrincipalName": "string"
}delete a ProjectRoleTemplateBinding
| name required | string unique name of the ProjectRoleTemplateBinding |
| namespace required | string unique object name and auth scope, such as for teams and projects |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 |
| gracePeriodSeconds | integer unique The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
| ignoreStoreReadErrorWithClusterBreakingPotential | boolean unique if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
| orphanDependents | boolean unique Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
| propagationPolicy | string unique Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. |
| apiVersion | string 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 |
| dryRun | Array of strings 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 |
| gracePeriodSeconds | integer <int64> The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
| ignoreStoreReadErrorWithClusterBreakingPotential | boolean if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
| kind | string 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 |
| orphanDependents | boolean Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
object (io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions) Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. | |
| propagationPolicy | string Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. |
{- "apiVersion": "string",
- "dryRun": [
- "string"
], - "gracePeriodSeconds": 0,
- "ignoreStoreReadErrorWithClusterBreakingPotential": true,
- "kind": "string",
- "orphanDependents": true,
- "preconditions": {
- "resourceVersion": "string",
- "uid": "string"
}, - "propagationPolicy": "string"
}{- "apiVersion": "string",
- "code": 0,
- "details": {
- "causes": [
- {
- "field": "string",
- "message": "string",
- "reason": "string"
}
], - "group": "string",
- "kind": "string",
- "name": "string",
- "retryAfterSeconds": 0,
- "uid": "string"
}, - "kind": "string",
- "message": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}, - "reason": "string",
- "status": "string"
}partially update the specified ProjectRoleTemplateBinding
| name required | string unique name of the ProjectRoleTemplateBinding |
| namespace required | string unique object name and auth scope, such as for teams and projects |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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). |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| force | boolean unique 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. |
Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
{ }{- "apiVersion": "string",
- "groupName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "projectName": "string",
- "roleTemplateName": "string",
- "serviceAccount": "string",
- "userName": "string",
- "userPrincipalName": "string"
}list objects of kind Project
| namespace required | string unique object name and auth scope, such as for teams and projects |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "apiVersion": "string",
- "items": [
- {
- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "clusterName": "string",
- "containerDefaultResourceLimit": {
- "limitsCpu": "string",
- "limitsMemory": "string",
- "requestsCpu": "string",
- "requestsMemory": "string"
}, - "description": "string",
- "displayName": "string",
- "namespaceDefaultResourceQuota": {
- "limit": {
- "configMaps": "string",
- "limitsCpu": "string",
- "limitsMemory": "string",
- "persistentVolumeClaims": "string",
- "pods": "string",
- "replicationControllers": "string",
- "requestsCpu": "string",
- "requestsMemory": "string",
- "requestsStorage": "string",
- "secrets": "string",
- "services": "string",
- "servicesLoadBalancers": "string",
- "servicesNodePorts": "string"
}
}, - "resourceQuota": {
- "limit": {
- "configMaps": "string",
- "limitsCpu": "string",
- "limitsMemory": "string",
- "persistentVolumeClaims": "string",
- "pods": "string",
- "replicationControllers": "string",
- "requestsCpu": "string",
- "requestsMemory": "string",
- "requestsStorage": "string",
- "secrets": "string",
- "services": "string",
- "servicesLoadBalancers": "string",
- "servicesNodePorts": "string"
}, - "usedLimit": {
- "configMaps": "string",
- "limitsCpu": "string",
- "limitsMemory": "string",
- "persistentVolumeClaims": "string",
- "pods": "string",
- "replicationControllers": "string",
- "requestsCpu": "string",
- "requestsMemory": "string",
- "requestsStorage": "string",
- "secrets": "string",
- "services": "string",
- "servicesLoadBalancers": "string",
- "servicesNodePorts": "string"
}
}
}, - "status": {
- "backingNamespace": "string",
- "conditions": [
- {
- "lastTransitionTime": "string",
- "lastUpdateTime": "string",
- "message": "string",
- "reason": "string",
- "status": "string",
- "type": "string"
}
]
}
}
], - "kind": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}
}create a Project
| namespace required | string unique object name and auth scope, such as for teams and projects |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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. |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| apiVersion | string 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 |
| kind | string 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 |
object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta) ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object Spec is the specification of the desired configuration for the project. | |
object Status is the most recently observed status of the project. |
{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "clusterName": "string",
- "containerDefaultResourceLimit": {
- "limitsCpu": "string",
- "limitsMemory": "string",
- "requestsCpu": "string",
- "requestsMemory": "string"
}, - "description": "string",
- "displayName": "string",
- "namespaceDefaultResourceQuota": {
- "limit": {
- "configMaps": "string",
- "limitsCpu": "string",
- "limitsMemory": "string",
- "persistentVolumeClaims": "string",
- "pods": "string",
- "replicationControllers": "string",
- "requestsCpu": "string",
- "requestsMemory": "string",
- "requestsStorage": "string",
- "secrets": "string",
- "services": "string",
- "servicesLoadBalancers": "string",
- "servicesNodePorts": "string"
}
}, - "resourceQuota": {
- "limit": {
- "configMaps": "string",
- "limitsCpu": "string",
- "limitsMemory": "string",
- "persistentVolumeClaims": "string",
- "pods": "string",
- "replicationControllers": "string",
- "requestsCpu": "string",
- "requestsMemory": "string",
- "requestsStorage": "string",
- "secrets": "string",
- "services": "string",
- "servicesLoadBalancers": "string",
- "servicesNodePorts": "string"
}, - "usedLimit": {
- "configMaps": "string",
- "limitsCpu": "string",
- "limitsMemory": "string",
- "persistentVolumeClaims": "string",
- "pods": "string",
- "replicationControllers": "string",
- "requestsCpu": "string",
- "requestsMemory": "string",
- "requestsStorage": "string",
- "secrets": "string",
- "services": "string",
- "servicesLoadBalancers": "string",
- "servicesNodePorts": "string"
}
}
}, - "status": {
- "backingNamespace": "string",
- "conditions": [
- {
- "lastTransitionTime": "string",
- "lastUpdateTime": "string",
- "message": "string",
- "reason": "string",
- "status": "string",
- "type": "string"
}
]
}
}{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "clusterName": "string",
- "containerDefaultResourceLimit": {
- "limitsCpu": "string",
- "limitsMemory": "string",
- "requestsCpu": "string",
- "requestsMemory": "string"
}, - "description": "string",
- "displayName": "string",
- "namespaceDefaultResourceQuota": {
- "limit": {
- "configMaps": "string",
- "limitsCpu": "string",
- "limitsMemory": "string",
- "persistentVolumeClaims": "string",
- "pods": "string",
- "replicationControllers": "string",
- "requestsCpu": "string",
- "requestsMemory": "string",
- "requestsStorage": "string",
- "secrets": "string",
- "services": "string",
- "servicesLoadBalancers": "string",
- "servicesNodePorts": "string"
}
}, - "resourceQuota": {
- "limit": {
- "configMaps": "string",
- "limitsCpu": "string",
- "limitsMemory": "string",
- "persistentVolumeClaims": "string",
- "pods": "string",
- "replicationControllers": "string",
- "requestsCpu": "string",
- "requestsMemory": "string",
- "requestsStorage": "string",
- "secrets": "string",
- "services": "string",
- "servicesLoadBalancers": "string",
- "servicesNodePorts": "string"
}, - "usedLimit": {
- "configMaps": "string",
- "limitsCpu": "string",
- "limitsMemory": "string",
- "persistentVolumeClaims": "string",
- "pods": "string",
- "replicationControllers": "string",
- "requestsCpu": "string",
- "requestsMemory": "string",
- "requestsStorage": "string",
- "secrets": "string",
- "services": "string",
- "servicesLoadBalancers": "string",
- "servicesNodePorts": "string"
}
}
}, - "status": {
- "backingNamespace": "string",
- "conditions": [
- {
- "lastTransitionTime": "string",
- "lastUpdateTime": "string",
- "message": "string",
- "reason": "string",
- "status": "string",
- "type": "string"
}
]
}
}delete collection of Project
| namespace required | string unique object name and auth scope, such as for teams and projects |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "apiVersion": "string",
- "code": 0,
- "details": {
- "causes": [
- {
- "field": "string",
- "message": "string",
- "reason": "string"
}
], - "group": "string",
- "kind": "string",
- "name": "string",
- "retryAfterSeconds": 0,
- "uid": "string"
}, - "kind": "string",
- "message": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}, - "reason": "string",
- "status": "string"
}read the specified Project
| name required | string unique name of the Project |
| namespace required | string unique object name and auth scope, such as for teams and projects |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "clusterName": "string",
- "containerDefaultResourceLimit": {
- "limitsCpu": "string",
- "limitsMemory": "string",
- "requestsCpu": "string",
- "requestsMemory": "string"
}, - "description": "string",
- "displayName": "string",
- "namespaceDefaultResourceQuota": {
- "limit": {
- "configMaps": "string",
- "limitsCpu": "string",
- "limitsMemory": "string",
- "persistentVolumeClaims": "string",
- "pods": "string",
- "replicationControllers": "string",
- "requestsCpu": "string",
- "requestsMemory": "string",
- "requestsStorage": "string",
- "secrets": "string",
- "services": "string",
- "servicesLoadBalancers": "string",
- "servicesNodePorts": "string"
}
}, - "resourceQuota": {
- "limit": {
- "configMaps": "string",
- "limitsCpu": "string",
- "limitsMemory": "string",
- "persistentVolumeClaims": "string",
- "pods": "string",
- "replicationControllers": "string",
- "requestsCpu": "string",
- "requestsMemory": "string",
- "requestsStorage": "string",
- "secrets": "string",
- "services": "string",
- "servicesLoadBalancers": "string",
- "servicesNodePorts": "string"
}, - "usedLimit": {
- "configMaps": "string",
- "limitsCpu": "string",
- "limitsMemory": "string",
- "persistentVolumeClaims": "string",
- "pods": "string",
- "replicationControllers": "string",
- "requestsCpu": "string",
- "requestsMemory": "string",
- "requestsStorage": "string",
- "secrets": "string",
- "services": "string",
- "servicesLoadBalancers": "string",
- "servicesNodePorts": "string"
}
}
}, - "status": {
- "backingNamespace": "string",
- "conditions": [
- {
- "lastTransitionTime": "string",
- "lastUpdateTime": "string",
- "message": "string",
- "reason": "string",
- "status": "string",
- "type": "string"
}
]
}
}replace the specified Project
| name required | string unique name of the Project |
| namespace required | string unique object name and auth scope, such as for teams and projects |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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. |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| apiVersion | string 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 |
| kind | string 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 |
object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta) ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
object Spec is the specification of the desired configuration for the project. | |
object Status is the most recently observed status of the project. |
{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "clusterName": "string",
- "containerDefaultResourceLimit": {
- "limitsCpu": "string",
- "limitsMemory": "string",
- "requestsCpu": "string",
- "requestsMemory": "string"
}, - "description": "string",
- "displayName": "string",
- "namespaceDefaultResourceQuota": {
- "limit": {
- "configMaps": "string",
- "limitsCpu": "string",
- "limitsMemory": "string",
- "persistentVolumeClaims": "string",
- "pods": "string",
- "replicationControllers": "string",
- "requestsCpu": "string",
- "requestsMemory": "string",
- "requestsStorage": "string",
- "secrets": "string",
- "services": "string",
- "servicesLoadBalancers": "string",
- "servicesNodePorts": "string"
}
}, - "resourceQuota": {
- "limit": {
- "configMaps": "string",
- "limitsCpu": "string",
- "limitsMemory": "string",
- "persistentVolumeClaims": "string",
- "pods": "string",
- "replicationControllers": "string",
- "requestsCpu": "string",
- "requestsMemory": "string",
- "requestsStorage": "string",
- "secrets": "string",
- "services": "string",
- "servicesLoadBalancers": "string",
- "servicesNodePorts": "string"
}, - "usedLimit": {
- "configMaps": "string",
- "limitsCpu": "string",
- "limitsMemory": "string",
- "persistentVolumeClaims": "string",
- "pods": "string",
- "replicationControllers": "string",
- "requestsCpu": "string",
- "requestsMemory": "string",
- "requestsStorage": "string",
- "secrets": "string",
- "services": "string",
- "servicesLoadBalancers": "string",
- "servicesNodePorts": "string"
}
}
}, - "status": {
- "backingNamespace": "string",
- "conditions": [
- {
- "lastTransitionTime": "string",
- "lastUpdateTime": "string",
- "message": "string",
- "reason": "string",
- "status": "string",
- "type": "string"
}
]
}
}{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "clusterName": "string",
- "containerDefaultResourceLimit": {
- "limitsCpu": "string",
- "limitsMemory": "string",
- "requestsCpu": "string",
- "requestsMemory": "string"
}, - "description": "string",
- "displayName": "string",
- "namespaceDefaultResourceQuota": {
- "limit": {
- "configMaps": "string",
- "limitsCpu": "string",
- "limitsMemory": "string",
- "persistentVolumeClaims": "string",
- "pods": "string",
- "replicationControllers": "string",
- "requestsCpu": "string",
- "requestsMemory": "string",
- "requestsStorage": "string",
- "secrets": "string",
- "services": "string",
- "servicesLoadBalancers": "string",
- "servicesNodePorts": "string"
}
}, - "resourceQuota": {
- "limit": {
- "configMaps": "string",
- "limitsCpu": "string",
- "limitsMemory": "string",
- "persistentVolumeClaims": "string",
- "pods": "string",
- "replicationControllers": "string",
- "requestsCpu": "string",
- "requestsMemory": "string",
- "requestsStorage": "string",
- "secrets": "string",
- "services": "string",
- "servicesLoadBalancers": "string",
- "servicesNodePorts": "string"
}, - "usedLimit": {
- "configMaps": "string",
- "limitsCpu": "string",
- "limitsMemory": "string",
- "persistentVolumeClaims": "string",
- "pods": "string",
- "replicationControllers": "string",
- "requestsCpu": "string",
- "requestsMemory": "string",
- "requestsStorage": "string",
- "secrets": "string",
- "services": "string",
- "servicesLoadBalancers": "string",
- "servicesNodePorts": "string"
}
}
}, - "status": {
- "backingNamespace": "string",
- "conditions": [
- {
- "lastTransitionTime": "string",
- "lastUpdateTime": "string",
- "message": "string",
- "reason": "string",
- "status": "string",
- "type": "string"
}
]
}
}delete a Project
| name required | string unique name of the Project |
| namespace required | string unique object name and auth scope, such as for teams and projects |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 |
| gracePeriodSeconds | integer unique The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
| ignoreStoreReadErrorWithClusterBreakingPotential | boolean unique if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
| orphanDependents | boolean unique Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
| propagationPolicy | string unique Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. |
| apiVersion | string 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 |
| dryRun | Array of strings 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 |
| gracePeriodSeconds | integer <int64> The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
| ignoreStoreReadErrorWithClusterBreakingPotential | boolean if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
| kind | string 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 |
| orphanDependents | boolean Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
object (io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions) Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. | |
| propagationPolicy | string Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. |
{- "apiVersion": "string",
- "dryRun": [
- "string"
], - "gracePeriodSeconds": 0,
- "ignoreStoreReadErrorWithClusterBreakingPotential": true,
- "kind": "string",
- "orphanDependents": true,
- "preconditions": {
- "resourceVersion": "string",
- "uid": "string"
}, - "propagationPolicy": "string"
}{- "apiVersion": "string",
- "code": 0,
- "details": {
- "causes": [
- {
- "field": "string",
- "message": "string",
- "reason": "string"
}
], - "group": "string",
- "kind": "string",
- "name": "string",
- "retryAfterSeconds": 0,
- "uid": "string"
}, - "kind": "string",
- "message": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}, - "reason": "string",
- "status": "string"
}partially update the specified Project
| name required | string unique name of the Project |
| namespace required | string unique object name and auth scope, such as for teams and projects |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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). |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| force | boolean unique 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. |
Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
{ }{- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "clusterName": "string",
- "containerDefaultResourceLimit": {
- "limitsCpu": "string",
- "limitsMemory": "string",
- "requestsCpu": "string",
- "requestsMemory": "string"
}, - "description": "string",
- "displayName": "string",
- "namespaceDefaultResourceQuota": {
- "limit": {
- "configMaps": "string",
- "limitsCpu": "string",
- "limitsMemory": "string",
- "persistentVolumeClaims": "string",
- "pods": "string",
- "replicationControllers": "string",
- "requestsCpu": "string",
- "requestsMemory": "string",
- "requestsStorage": "string",
- "secrets": "string",
- "services": "string",
- "servicesLoadBalancers": "string",
- "servicesNodePorts": "string"
}
}, - "resourceQuota": {
- "limit": {
- "configMaps": "string",
- "limitsCpu": "string",
- "limitsMemory": "string",
- "persistentVolumeClaims": "string",
- "pods": "string",
- "replicationControllers": "string",
- "requestsCpu": "string",
- "requestsMemory": "string",
- "requestsStorage": "string",
- "secrets": "string",
- "services": "string",
- "servicesLoadBalancers": "string",
- "servicesNodePorts": "string"
}, - "usedLimit": {
- "configMaps": "string",
- "limitsCpu": "string",
- "limitsMemory": "string",
- "persistentVolumeClaims": "string",
- "pods": "string",
- "replicationControllers": "string",
- "requestsCpu": "string",
- "requestsMemory": "string",
- "requestsStorage": "string",
- "secrets": "string",
- "services": "string",
- "servicesLoadBalancers": "string",
- "servicesNodePorts": "string"
}
}
}, - "status": {
- "backingNamespace": "string",
- "conditions": [
- {
- "lastTransitionTime": "string",
- "lastUpdateTime": "string",
- "message": "string",
- "reason": "string",
- "status": "string",
- "type": "string"
}
]
}
}list objects of kind ProjectRoleTemplateBinding
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "apiVersion": "string",
- "items": [
- {
- "apiVersion": "string",
- "groupName": "string",
- "groupPrincipalName": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "projectName": "string",
- "roleTemplateName": "string",
- "serviceAccount": "string",
- "userName": "string",
- "userPrincipalName": "string"
}
], - "kind": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}
}list objects of kind Project
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "apiVersion": "string",
- "items": [
- {
- "apiVersion": "string",
- "kind": "string",
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "spec": {
- "clusterName": "string",
- "containerDefaultResourceLimit": {
- "limitsCpu": "string",
- "limitsMemory": "string",
- "requestsCpu": "string",
- "requestsMemory": "string"
}, - "description": "string",
- "displayName": "string",
- "namespaceDefaultResourceQuota": {
- "limit": {
- "configMaps": "string",
- "limitsCpu": "string",
- "limitsMemory": "string",
- "persistentVolumeClaims": "string",
- "pods": "string",
- "replicationControllers": "string",
- "requestsCpu": "string",
- "requestsMemory": "string",
- "requestsStorage": "string",
- "secrets": "string",
- "services": "string",
- "servicesLoadBalancers": "string",
- "servicesNodePorts": "string"
}
}, - "resourceQuota": {
- "limit": {
- "configMaps": "string",
- "limitsCpu": "string",
- "limitsMemory": "string",
- "persistentVolumeClaims": "string",
- "pods": "string",
- "replicationControllers": "string",
- "requestsCpu": "string",
- "requestsMemory": "string",
- "requestsStorage": "string",
- "secrets": "string",
- "services": "string",
- "servicesLoadBalancers": "string",
- "servicesNodePorts": "string"
}, - "usedLimit": {
- "configMaps": "string",
- "limitsCpu": "string",
- "limitsMemory": "string",
- "persistentVolumeClaims": "string",
- "pods": "string",
- "replicationControllers": "string",
- "requestsCpu": "string",
- "requestsMemory": "string",
- "requestsStorage": "string",
- "secrets": "string",
- "services": "string",
- "servicesLoadBalancers": "string",
- "servicesNodePorts": "string"
}
}
}, - "status": {
- "backingNamespace": "string",
- "conditions": [
- {
- "lastTransitionTime": "string",
- "lastUpdateTime": "string",
- "message": "string",
- "reason": "string",
- "status": "string",
- "type": "string"
}
]
}
}
], - "kind": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}
}list objects of kind RoleTemplate
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "apiVersion": "string",
- "items": [
- {
- "administrative": true,
- "apiVersion": "string",
- "builtin": true,
- "clusterCreatorDefault": true,
- "context": "project",
- "description": "string",
- "displayName": "string",
- "external": true,
- "externalRules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "hidden": true,
- "kind": "string",
- "locked": true,
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "projectCreatorDefault": true,
- "roleTemplateNames": [
- "string"
], - "rules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
]
}
], - "kind": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}
}create a RoleTemplate
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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. |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| administrative | boolean Administrative field is deprecated and no longer used. |
| apiVersion | string 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 |
| builtin | boolean Builtin if true specifies that this RoleTemplate was created by Rancher and is immutable. Default to false. |
| clusterCreatorDefault | boolean ClusterCreatorDefault if true, a binding with this RoleTemplate will be created for a users when they create a new cluster. ClusterCreatorDefault is only evaluated if the context of the RoleTemplate is set to cluster. Default to false. |
| context | string Enum: "project" "cluster" "" Context describes if the roleTemplate applies to clusters or projects. Valid values are "project", "cluster" or "". |
| description | string Description holds text that describes the resource. |
| displayName | string DisplayName is the human-readable name displayed in the UI for this resource. |
| external | boolean External if true specifies that rules for this RoleTemplate should be gathered from a ClusterRole with the matching name. If set to true the Rules on the template will not be evaluated. External's value is only evaluated if the RoleTemplate's context is set to "cluster" Default to false. |
Array of objects ExternalRules hold the external PolicyRules that will be used for authorization. This field is required when External=true and no underlying ClusterRole exists in the local cluster. This field is just used when the feature flag 'external-rules' is on. | |
| hidden | boolean Hidden if true informs the Rancher UI not to display this RoleTemplate. Default to false. |
| kind | string 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 |
| locked | boolean Locked if true, new bindings will not be able to use this RoleTemplate. Default to false. |
object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta) ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
| projectCreatorDefault | boolean ProjectCreatorDefault if true, a binding with this RoleTemplate will be created for a user when they create a new project. ProjectCreatorDefault is only evaluated if the context of the RoleTemplate is set to project. Default to false. |
| roleTemplateNames | Array of strings RoleTemplateNames list of RoleTemplate names that this RoleTemplate will inherit. This RoleTemplate will grant all rules defined in an inherited RoleTemplate. Inherited RoleTemplates must already exist. |
Array of objects Rules hold all the PolicyRules for this RoleTemplate. |
{- "administrative": true,
- "apiVersion": "string",
- "builtin": true,
- "clusterCreatorDefault": true,
- "context": "project",
- "description": "string",
- "displayName": "string",
- "external": true,
- "externalRules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "hidden": true,
- "kind": "string",
- "locked": true,
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "projectCreatorDefault": true,
- "roleTemplateNames": [
- "string"
], - "rules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
]
}{- "administrative": true,
- "apiVersion": "string",
- "builtin": true,
- "clusterCreatorDefault": true,
- "context": "project",
- "description": "string",
- "displayName": "string",
- "external": true,
- "externalRules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "hidden": true,
- "kind": "string",
- "locked": true,
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "projectCreatorDefault": true,
- "roleTemplateNames": [
- "string"
], - "rules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
]
}delete collection of RoleTemplate
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "apiVersion": "string",
- "code": 0,
- "details": {
- "causes": [
- {
- "field": "string",
- "message": "string",
- "reason": "string"
}
], - "group": "string",
- "kind": "string",
- "name": "string",
- "retryAfterSeconds": 0,
- "uid": "string"
}, - "kind": "string",
- "message": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}, - "reason": "string",
- "status": "string"
}read the specified RoleTemplate
| name required | string unique name of the RoleTemplate |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
{- "administrative": true,
- "apiVersion": "string",
- "builtin": true,
- "clusterCreatorDefault": true,
- "context": "project",
- "description": "string",
- "displayName": "string",
- "external": true,
- "externalRules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "hidden": true,
- "kind": "string",
- "locked": true,
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "projectCreatorDefault": true,
- "roleTemplateNames": [
- "string"
], - "rules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
]
}replace the specified RoleTemplate
| name required | string unique name of the RoleTemplate |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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. |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| administrative | boolean Administrative field is deprecated and no longer used. |
| apiVersion | string 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 |
| builtin | boolean Builtin if true specifies that this RoleTemplate was created by Rancher and is immutable. Default to false. |
| clusterCreatorDefault | boolean ClusterCreatorDefault if true, a binding with this RoleTemplate will be created for a users when they create a new cluster. ClusterCreatorDefault is only evaluated if the context of the RoleTemplate is set to cluster. Default to false. |
| context | string Enum: "project" "cluster" "" Context describes if the roleTemplate applies to clusters or projects. Valid values are "project", "cluster" or "". |
| description | string Description holds text that describes the resource. |
| displayName | string DisplayName is the human-readable name displayed in the UI for this resource. |
| external | boolean External if true specifies that rules for this RoleTemplate should be gathered from a ClusterRole with the matching name. If set to true the Rules on the template will not be evaluated. External's value is only evaluated if the RoleTemplate's context is set to "cluster" Default to false. |
Array of objects ExternalRules hold the external PolicyRules that will be used for authorization. This field is required when External=true and no underlying ClusterRole exists in the local cluster. This field is just used when the feature flag 'external-rules' is on. | |
| hidden | boolean Hidden if true informs the Rancher UI not to display this RoleTemplate. Default to false. |
| kind | string 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 |
| locked | boolean Locked if true, new bindings will not be able to use this RoleTemplate. Default to false. |
object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta) ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
| projectCreatorDefault | boolean ProjectCreatorDefault if true, a binding with this RoleTemplate will be created for a user when they create a new project. ProjectCreatorDefault is only evaluated if the context of the RoleTemplate is set to project. Default to false. |
| roleTemplateNames | Array of strings RoleTemplateNames list of RoleTemplate names that this RoleTemplate will inherit. This RoleTemplate will grant all rules defined in an inherited RoleTemplate. Inherited RoleTemplates must already exist. |
Array of objects Rules hold all the PolicyRules for this RoleTemplate. |
{- "administrative": true,
- "apiVersion": "string",
- "builtin": true,
- "clusterCreatorDefault": true,
- "context": "project",
- "description": "string",
- "displayName": "string",
- "external": true,
- "externalRules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "hidden": true,
- "kind": "string",
- "locked": true,
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "projectCreatorDefault": true,
- "roleTemplateNames": [
- "string"
], - "rules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
]
}{- "administrative": true,
- "apiVersion": "string",
- "builtin": true,
- "clusterCreatorDefault": true,
- "context": "project",
- "description": "string",
- "displayName": "string",
- "external": true,
- "externalRules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "hidden": true,
- "kind": "string",
- "locked": true,
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "projectCreatorDefault": true,
- "roleTemplateNames": [
- "string"
], - "rules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
]
}delete a RoleTemplate
| name required | string unique name of the RoleTemplate |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 |
| gracePeriodSeconds | integer unique The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
| ignoreStoreReadErrorWithClusterBreakingPotential | boolean unique if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
| orphanDependents | boolean unique Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
| propagationPolicy | string unique Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. |
| apiVersion | string 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 |
| dryRun | Array of strings 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 |
| gracePeriodSeconds | integer <int64> The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
| ignoreStoreReadErrorWithClusterBreakingPotential | boolean if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
| kind | string 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 |
| orphanDependents | boolean Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
object (io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions) Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. | |
| propagationPolicy | string Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. |
{- "apiVersion": "string",
- "dryRun": [
- "string"
], - "gracePeriodSeconds": 0,
- "ignoreStoreReadErrorWithClusterBreakingPotential": true,
- "kind": "string",
- "orphanDependents": true,
- "preconditions": {
- "resourceVersion": "string",
- "uid": "string"
}, - "propagationPolicy": "string"
}{- "apiVersion": "string",
- "code": 0,
- "details": {
- "causes": [
- {
- "field": "string",
- "message": "string",
- "reason": "string"
}
], - "group": "string",
- "kind": "string",
- "name": "string",
- "retryAfterSeconds": 0,
- "uid": "string"
}, - "kind": "string",
- "message": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}, - "reason": "string",
- "status": "string"
}partially update the specified RoleTemplate
| name required | string unique name of the RoleTemplate |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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). |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| force | boolean unique 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. |
Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
{ }{- "administrative": true,
- "apiVersion": "string",
- "builtin": true,
- "clusterCreatorDefault": true,
- "context": "project",
- "description": "string",
- "displayName": "string",
- "external": true,
- "externalRules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
], - "hidden": true,
- "kind": "string",
- "locked": true,
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "projectCreatorDefault": true,
- "roleTemplateNames": [
- "string"
], - "rules": [
- {
- "apiGroups": [
- "string"
], - "nonResourceURLs": [
- "string"
], - "resourceNames": [
- "string"
], - "resources": [
- "string"
], - "verbs": [
- "string"
]
}
]
}list objects of kind User
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "apiVersion": "string",
- "items": [
- {
- "apiVersion": "string",
- "description": "string",
- "displayName": "string",
- "enabled": true,
- "kind": "string",
- "me": true,
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "mustChangePassword": true,
- "password": "string",
- "principalIds": [
- "string"
], - "status": {
- "conditions": [
- {
- "lastTransitionTime": "string",
- "lastUpdateTime": "string",
- "message": "string",
- "reason": "string",
- "status": "string",
- "type": "string"
}
]
}, - "username": "string"
}
], - "kind": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}
}create an User
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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. |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| apiVersion | string 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 |
| description | string Description provides a brief summary about the user. |
| displayName | string DisplayName is the user friendly name shown in the UI. |
| enabled | boolean Enabled indicates whether the user account is active. |
| kind | string 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 |
| me | boolean Deprecated. Only used by /v3 Rancher API. |
object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta) ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
| mustChangePassword | boolean MustChangePassword is a flag that, if true, forces the user to change their password upon their next login. |
| password | string Deprecated. Password are stored in secrets in the cattle-local-user-passwords namespace. |
| principalIds | Array of strings PrincipalIDs lists the authentication provider identities (e.g. GitHub, Keycloak or Active Directory) that are associated with this user account. |
object Status contains the most recent observed state of the user. | |
| username | string Username is the unique login identifier for the user. |
{- "apiVersion": "string",
- "description": "string",
- "displayName": "string",
- "enabled": true,
- "kind": "string",
- "me": true,
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "mustChangePassword": true,
- "password": "string",
- "principalIds": [
- "string"
], - "status": {
- "conditions": [
- {
- "lastTransitionTime": "string",
- "lastUpdateTime": "string",
- "message": "string",
- "reason": "string",
- "status": "string",
- "type": "string"
}
]
}, - "username": "string"
}{- "apiVersion": "string",
- "description": "string",
- "displayName": "string",
- "enabled": true,
- "kind": "string",
- "me": true,
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "mustChangePassword": true,
- "password": "string",
- "principalIds": [
- "string"
], - "status": {
- "conditions": [
- {
- "lastTransitionTime": "string",
- "lastUpdateTime": "string",
- "message": "string",
- "reason": "string",
- "status": "string",
- "type": "string"
}
]
}, - "username": "string"
}delete collection of User
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| allowWatchBookmarks | boolean unique allowWatchBookmarks requests watch events with type "BOOKMARK". Servers that do not implement bookmarks may ignore this flag and bookmarks are sent at the server's discretion. Clients should not assume bookmarks are returned at any specific interval, nor may they assume the server will send any BOOKMARK event during a session. If this is not a watch, this field is ignored. |
| continue | string unique The continue option should be set when retrieving more results from the server. Since this value is server defined, clients may only use the continue value from a previous query result with identical query parameters (except for the value of continue) and the server may reject a continue value it does not recognize. If the specified continue value is no longer valid whether due to expiration (generally five to fifteen minutes) or a configuration change on the server, the server will respond with a 410 ResourceExpired error together with a continue token. If the client needs a consistent list, it must restart their list without the continue field. Otherwise, the client may send another list request with the token received with the 410 error, the server will respond with a list starting from the next key, but from the latest snapshot, which is inconsistent from the previous list results - objects that are created, modified, or deleted after the first list request will be included in the response, as long as their keys are after the "next key". This field is not supported when watch is true. Clients may start a watch from the last resourceVersion value returned by the server and not miss any modifications. |
| fieldSelector | string unique A selector to restrict the list of returned objects by their fields. Defaults to everything. |
| labelSelector | string unique A selector to restrict the list of returned objects by their labels. Defaults to everything. |
| limit | integer unique limit is a maximum number of responses to return for a list call. If more items exist, the server will set the The server guarantees that the objects returned when using continue will be identical to issuing a single list call without a limit - that is, no objects created, modified, or deleted after the first request is issued will be included in any subsequent continued requests. This is sometimes referred to as a consistent snapshot, and ensures that a client that is using limit to receive smaller chunks of a very large result can ensure they see all possible objects. If objects are updated during a chunked list the version of the object that was present at the time the first list result was calculated is returned. |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| resourceVersionMatch | string unique resourceVersionMatch determines how resourceVersion is applied to list calls. It is highly recommended that resourceVersionMatch be set for list calls where resourceVersion is set See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
| sendInitialEvents | boolean unique
When
Defaults to true if |
| timeoutSeconds | integer unique Timeout for the list/watch call. This limits the duration of the call, regardless of any activity or inactivity. |
| watch | boolean unique Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. |
{- "apiVersion": "string",
- "code": 0,
- "details": {
- "causes": [
- {
- "field": "string",
- "message": "string",
- "reason": "string"
}
], - "group": "string",
- "kind": "string",
- "name": "string",
- "retryAfterSeconds": 0,
- "uid": "string"
}, - "kind": "string",
- "message": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}, - "reason": "string",
- "status": "string"
}read the specified User
| name required | string unique name of the User |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| resourceVersion | string unique resourceVersion sets a constraint on what resource versions a request may be served from. See https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-versions for details. Defaults to unset |
{- "apiVersion": "string",
- "description": "string",
- "displayName": "string",
- "enabled": true,
- "kind": "string",
- "me": true,
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "mustChangePassword": true,
- "password": "string",
- "principalIds": [
- "string"
], - "status": {
- "conditions": [
- {
- "lastTransitionTime": "string",
- "lastUpdateTime": "string",
- "message": "string",
- "reason": "string",
- "status": "string",
- "type": "string"
}
]
}, - "username": "string"
}replace the specified User
| name required | string unique name of the User |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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. |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| apiVersion | string 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 |
| description | string Description provides a brief summary about the user. |
| displayName | string DisplayName is the user friendly name shown in the UI. |
| enabled | boolean Enabled indicates whether the user account is active. |
| kind | string 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 |
| me | boolean Deprecated. Only used by /v3 Rancher API. |
object (io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta) ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create. | |
| mustChangePassword | boolean MustChangePassword is a flag that, if true, forces the user to change their password upon their next login. |
| password | string Deprecated. Password are stored in secrets in the cattle-local-user-passwords namespace. |
| principalIds | Array of strings PrincipalIDs lists the authentication provider identities (e.g. GitHub, Keycloak or Active Directory) that are associated with this user account. |
object Status contains the most recent observed state of the user. | |
| username | string Username is the unique login identifier for the user. |
{- "apiVersion": "string",
- "description": "string",
- "displayName": "string",
- "enabled": true,
- "kind": "string",
- "me": true,
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "mustChangePassword": true,
- "password": "string",
- "principalIds": [
- "string"
], - "status": {
- "conditions": [
- {
- "lastTransitionTime": "string",
- "lastUpdateTime": "string",
- "message": "string",
- "reason": "string",
- "status": "string",
- "type": "string"
}
]
}, - "username": "string"
}{- "apiVersion": "string",
- "description": "string",
- "displayName": "string",
- "enabled": true,
- "kind": "string",
- "me": true,
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "mustChangePassword": true,
- "password": "string",
- "principalIds": [
- "string"
], - "status": {
- "conditions": [
- {
- "lastTransitionTime": "string",
- "lastUpdateTime": "string",
- "message": "string",
- "reason": "string",
- "status": "string",
- "type": "string"
}
]
}, - "username": "string"
}delete an User
| name required | string unique name of the User |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 |
| gracePeriodSeconds | integer unique The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
| ignoreStoreReadErrorWithClusterBreakingPotential | boolean unique if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
| orphanDependents | boolean unique Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
| propagationPolicy | string unique Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. |
| apiVersion | string 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 |
| dryRun | Array of strings 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 |
| gracePeriodSeconds | integer <int64> The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. |
| ignoreStoreReadErrorWithClusterBreakingPotential | boolean if set to true, it will trigger an unsafe deletion of the resource in case the normal deletion flow fails with a corrupt object error. A resource is considered corrupt if it can not be retrieved from the underlying storage successfully because of a) its data can not be transformed e.g. decryption failure, or b) it fails to decode into an object. NOTE: unsafe deletion ignores finalizer constraints, skips precondition checks, and removes the object from the storage. WARNING: This may potentially break the cluster if the workload associated with the resource being unsafe-deleted relies on normal deletion flow. Use only if you REALLY know what you are doing. The default value is false, and the user must opt in to enable it |
| kind | string 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 |
| orphanDependents | boolean Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. |
object (io.k8s.apimachinery.pkg.apis.meta.v1.Preconditions) Preconditions must be fulfilled before an operation (update, delete, etc.) is carried out. | |
| propagationPolicy | string Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground. |
{- "apiVersion": "string",
- "dryRun": [
- "string"
], - "gracePeriodSeconds": 0,
- "ignoreStoreReadErrorWithClusterBreakingPotential": true,
- "kind": "string",
- "orphanDependents": true,
- "preconditions": {
- "resourceVersion": "string",
- "uid": "string"
}, - "propagationPolicy": "string"
}{- "apiVersion": "string",
- "code": 0,
- "details": {
- "causes": [
- {
- "field": "string",
- "message": "string",
- "reason": "string"
}
], - "group": "string",
- "kind": "string",
- "name": "string",
- "retryAfterSeconds": 0,
- "uid": "string"
}, - "kind": "string",
- "message": "string",
- "metadata": {
- "continue": "string",
- "remainingItemCount": 0,
- "resourceVersion": "string",
- "selfLink": "string"
}, - "reason": "string",
- "status": "string"
}partially update the specified User
| name required | string unique name of the User |
| pretty | string unique If 'true', then the output is pretty printed. Defaults to 'false' unless the user-agent indicates a browser or command-line HTTP tool (curl and wget). |
| dryRun | string unique 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 unique 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). |
| fieldValidation | string unique fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. 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. - 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 in v1.23+ - 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. |
| force | boolean unique 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. |
Patch is provided to give a concrete name and type to the Kubernetes PATCH request body.
{ }{- "apiVersion": "string",
- "description": "string",
- "displayName": "string",
- "enabled": true,
- "kind": "string",
- "me": true,
- "metadata": {
- "annotations": {
- "property1": "string",
- "property2": "string"
}, - "creationTimestamp": "2019-08-24T14:15:22Z",
- "deletionGracePeriodSeconds": 0,
- "deletionTimestamp": "2019-08-24T14:15:22Z",
- "finalizers": [
- "string"
], - "generateName": "string",
- "generation": 0,
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "managedFields": [
- {
- "apiVersion": "string",
- "fieldsType": "string",
- "fieldsV1": { },
- "manager": "string",
- "operation": "string",
- "subresource": "string",
- "time": "2019-08-24T14:15:22Z"
}
], - "name": "string",
- "namespace": "string",
- "ownerReferences": [
- {
- "apiVersion": "string",
- "blockOwnerDeletion": true,
- "controller": true,
- "kind": "string",
- "name": "string",
- "uid": "string"
}
], - "resourceVersion": "string",
- "selfLink": "string",
- "uid": "string"
}, - "mustChangePassword": true,
- "password": "string",
- "principalIds": [
- "string"
], - "status": {
- "conditions": [
- {
- "lastTransitionTime": "string",
- "lastUpdateTime": "string",
- "message": "string",
- "reason": "string",
- "status": "string",
- "type": "string"
}
]
}, - "username": "string"
}