Connector [accessrequests.alauda.io/v1alpha1]

描述
AccessRequest represents a subject's access application for a specific Connector, scoped to the lifecycle of a context object (Pod). It tracks matched AccessPolicies, approval check states, and authorization status via conditions.
类型
object

规格

属性类型描述
apiVersionstring

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

kindstring

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

metadataObjectMeta

ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

specobject

AccessRequestSpec defines the desired state of AccessRequest.

statusobject

AccessRequestStatus records the observed state of AccessRequest.

.spec

描述
AccessRequestSpec defines the desired state of AccessRequest.
类型
object
必填
connectorRefcontextsubject
属性类型描述
connectorRefobject

ConnectorRef references the target Connector in the same namespace. Only Name is required; Namespace is always the same as the AccessRequest.

contextobject

Context provides lifecycle context for this request. Currently only Kind=Pod is supported.

subjectobject

Subject is the identity requesting access (typically a ServiceAccount).

.spec.connectorRef

描述
ConnectorRef references the target Connector in the same namespace. Only Name is required; Namespace is always the same as the AccessRequest.
类型
object
属性类型描述
namestring

Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

.spec.context

描述
Context provides lifecycle context for this request. Currently only Kind=Pod is supported.
类型
object
必填
objectRef
属性类型描述
objectRefobject

ObjectRef points to the lifecycle object (e.g., a Pod). Currently only Kind=Pod is supported.

.spec.context.objectRef

描述
ObjectRef points to the lifecycle object (e.g., a Pod). Currently only Kind=Pod is supported.
类型
object
属性类型描述
apiVersionstring

API version of the referent.

fieldPathstring

If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.

kindstring

Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

namestring

Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

namespacestring

Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/

resourceVersionstring

Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency

uidstring

UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids

.spec.subject

描述
Subject is the identity requesting access (typically a ServiceAccount).
类型
object
必填
kindname
属性类型描述
apiGroupstring

APIGroup holds the API group of the referenced subject. Defaults to "" for ServiceAccount subjects. Defaults to "rbac.authorization.k8s.io" for User and Group subjects.

kindstring

Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount". If the Authorizer does not recognized the kind value, the Authorizer should report an error.

namestring

Name of the object being referenced.

namespacestring

Namespace of the referenced object. If the object kind is non-namespace, such as "User" or "Group", and this value is not empty the Authorizer should report an error.

.status

描述
AccessRequestStatus records the observed state of AccessRequest.
类型
object
属性类型描述
annotationsobject

Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.

conditionsarray

Conditions the latest available observations of a resource's current state.

observedGenerationinteger

ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.

policiesarray

Policies holds the matched AccessPolicy status list. Full AccessPolicy snapshots are stored to prevent policy changes from affecting in-flight authorization decisions.

.status.annotations

描述
Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.
类型
object

.status.conditions

描述
Conditions the latest available observations of a resource's current state.
类型
array

.status.conditions[]

描述
Condition defines a readiness condition for a Knative resource. See: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties
类型
object
必填
statustype
属性类型描述
lastTransitionTimestring

LastTransitionTime is the last time the condition transitioned from one status to another. We use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic differences (all other things held constant).

messagestring

A human readable message indicating details about the transition.

reasonstring

The reason for the condition's last transition.

severitystring

Severity with which to treat failures of this type of condition. When this is not specified, it defaults to Error.

statusstring

Status of the condition, one of True, False, Unknown.

typestring

Type of condition.

.status.policies

描述
Policies holds the matched AccessPolicy status list. Full AccessPolicy snapshots are stored to prevent policy changes from affecting in-flight authorization decisions.
类型
array

.status.policies[]

描述
AccessPolicyMatchedStatus records a matched AccessPolicy and its check results.
类型
object
必填
namepolicySpec
属性类型描述
matchedChecksarray

MatchedChecks records the matched Check Duck Type resources and their states.

namestring

Name is the AccessPolicy name, used as the list map key.

permissionSyncobject

PermissionSync records policy-level permission synchronization condition.

policySpecobject

PolicySpec is the full AccessPolicy spec snapshot at match time.

.status.policies[].matchedChecks

描述
MatchedChecks records the matched Check Duck Type resources and their states.
类型
array

.status.policies[].matchedChecks[]

描述
MatchedCheck records one matched Check Duck Type resource instance.
类型
object
必填
conditionnameref
属性类型描述
conditionobject

Condition records the computed approval condition of this check.

namestring

Name matches CheckRule.name in the AccessPolicy.

refobject

Ref identifies the matched Check Duck Type resource instance.

.status.policies[].matchedChecks[].condition

描述
Condition records the computed approval condition of this check.
类型
object
必填
statustype
属性类型描述
lastTransitionTimestring

LastTransitionTime is the last time the condition transitioned from one status to another. We use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic differences (all other things held constant).

messagestring

A human readable message indicating details about the transition.

reasonstring

The reason for the condition's last transition.

severitystring

Severity with which to treat failures of this type of condition. When this is not specified, it defaults to Error.

statusstring

Status of the condition, one of True, False, Unknown.

typestring

Type of condition.

.status.policies[].matchedChecks[].ref

描述
Ref identifies the matched Check Duck Type resource instance.
类型
object
属性类型描述
apiVersionstring

API version of the referent.

fieldPathstring

If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.

kindstring

Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

namestring

Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

namespacestring

Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/

resourceVersionstring

Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency

uidstring

UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids

.status.policies[].permissionSync

描述
PermissionSync records policy-level permission synchronization condition.
类型
object
必填
lastTransitionTimemessagereasonstatustype
属性类型描述
lastTransitionTimestring

lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.

messagestring

message is a human readable message indicating details about the transition. This may be an empty string.

observedGenerationinteger

observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.

reasonstring

reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty.

statusstring

status of the condition, one of True, False, Unknown.

typestring

type of condition in CamelCase or in foo.example.com/CamelCase.

.status.policies[].policySpec

描述
PolicySpec is the full AccessPolicy spec snapshot at match time.
类型
object
属性类型描述
checkGrantedPermissionobject

CheckGrantedPermission defines permissions granted only after approval checks pass.

connectorobject

Connector specifies which Connectors this policy applies to. If empty, the policy applies to all Connectors in the namespace.

defaultPermissionobject

DefaultPermission defines the Role and RoleBinding automatically granted without any approval check.

.status.policies[].policySpec.checkGrantedPermission

描述
CheckGrantedPermission defines permissions granted only after approval checks pass.
类型
object
必填
spec
属性类型描述
specobject

Spec contains the check rules and the permissions to grant after all checks pass.

.status.policies[].policySpec.checkGrantedPermission.spec

描述
Spec contains the check rules and the permissions to grant after all checks pass.
类型
object
必填
checksroleTemplate
属性类型描述
checksarray

Checks is the list of approval check rules.

roleTemplateobject

RoleTemplate defines the rules for the generated Role.

.status.policies[].policySpec.checkGrantedPermission.spec.checks

描述
Checks is the list of approval check rules.
类型
array

.status.policies[].policySpec.checkGrantedPermission.spec.checks[]

描述
CheckRule defines a check rule that must pass for a permission to be granted. it contains either a reference to a CheckRuleSpec stored in a ConfigMap or the CheckRuleSpec itself. you can specify either Ref or Spec, but not both.
类型
object
必填
name
属性类型描述
namestring

Name is the identifier of this check rule, referenced in AccessRequest status.

refobject

Ref is a reference to a CheckRuleSpec stored in a ConfigMap.

specobject

Spec contains the check rule specification.

.status.policies[].policySpec.checkGrantedPermission.spec.checks[].ref

描述
Ref is a reference to a CheckRuleSpec stored in a ConfigMap.
类型
object
必填
configMap
属性类型描述
configMapobject

ConfigMap references the ConfigMap containing the CheckRuleSpec.

.status.policies[].policySpec.checkGrantedPermission.spec.checks[].ref.configMap

描述
ConfigMap references the ConfigMap containing the CheckRuleSpec.
类型
object
属性类型描述
namestring

Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

.status.policies[].policySpec.checkGrantedPermission.spec.checks[].spec

描述
Spec contains the check rule specification.
类型
object
必填
selector
属性类型描述
selectorobject

Selector specifies how to find the Check Duck Type resource.

stateobject

State configures how the check result is computed. If empty, the default duck-type field status.state is used.

.status.policies[].policySpec.checkGrantedPermission.spec.checks[].spec.selector

描述
Selector specifies how to find the Check Duck Type resource.
类型
object
必填
objectRef
属性类型描述
matchExpressionsarray

matchExpressions is a list of label selector requirements. The requirements are ANDed.

matchLabelsobject

matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.

objectRefobject

ObjectRef specifies the reference to the object to check against. kind and apiVersion are required to distinguish different duck types

.status.policies[].policySpec.checkGrantedPermission.spec.checks[].spec.selector.matchExpressions

描述
matchExpressions is a list of label selector requirements. The requirements are ANDed.
类型
array

.status.policies[].policySpec.checkGrantedPermission.spec.checks[].spec.selector.matchExpressions[]

描述
A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
类型
object
必填
keyoperator
属性类型描述
keystring

key is the label key that the selector applies to.

operatorstring

operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.

valuesarray

values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.

.status.policies[].policySpec.checkGrantedPermission.spec.checks[].spec.selector.matchExpressions[].values

描述
values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
类型
array

.status.policies[].policySpec.checkGrantedPermission.spec.checks[].spec.selector.matchExpressions[].values[]

类型
string

.status.policies[].policySpec.checkGrantedPermission.spec.checks[].spec.selector.matchLabels

描述
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
类型
object

.status.policies[].policySpec.checkGrantedPermission.spec.checks[].spec.selector.objectRef

描述
ObjectRef specifies the reference to the object to check against. kind and apiVersion are required to distinguish different duck types
类型
object
属性类型描述
apiVersionstring

API version of the referent.

fieldPathstring

If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.

kindstring

Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

namestring

Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

namespacestring

Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/

resourceVersionstring

Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency

uidstring

UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids

.status.policies[].policySpec.checkGrantedPermission.spec.checks[].spec.state

描述
State configures how the check result is computed. If empty, the default duck-type field status.state is used.
类型
object
属性类型描述
regostring

Rego is an OPA Rego script (package "approval") that receives the full check resource as input and must output status = {"state": "approved|rejected|pending|passed"}. If empty, the default duck-type field status.state is used.

.status.policies[].policySpec.checkGrantedPermission.spec.roleTemplate

描述
RoleTemplate defines the rules for the generated Role.
类型
object
属性类型描述
refobject

Ref specifies a reference to a RoleTemplate

.status.policies[].policySpec.checkGrantedPermission.spec.roleTemplate.ref

描述
Ref specifies a reference to a RoleTemplate
类型
object
属性类型描述
configMapobject

ConfigMap specifies a local reference to a ConfigMap whose data["rules"] contains the YAML-encoded list of rbacv1.PolicyRule entries. Only ConfigMaps in the connectors system namespace are supported.

.status.policies[].policySpec.checkGrantedPermission.spec.roleTemplate.ref.configMap

描述
ConfigMap specifies a local reference to a ConfigMap whose data["rules"] contains the YAML-encoded list of rbacv1.PolicyRule entries. Only ConfigMaps in the connectors system namespace are supported.
类型
object
属性类型描述
namestring

Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

.status.policies[].policySpec.connector

描述
Connector specifies which Connectors this policy applies to. If empty, the policy applies to all Connectors in the namespace.
类型
object
属性类型描述
matchExpressionsarray

matchExpressions is a list of label selector requirements. The requirements are ANDed.

matchLabelsobject

matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.

namesarray

Names is an explicit list of resource names to match.

.status.policies[].policySpec.connector.matchExpressions

描述
matchExpressions is a list of label selector requirements. The requirements are ANDed.
类型
array

.status.policies[].policySpec.connector.matchExpressions[]

描述
A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
类型
object
必填
keyoperator
属性类型描述
keystring

key is the label key that the selector applies to.

operatorstring

operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.

valuesarray

values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.

.status.policies[].policySpec.connector.matchExpressions[].values

描述
values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
类型
array

.status.policies[].policySpec.connector.matchExpressions[].values[]

类型
string

.status.policies[].policySpec.connector.matchLabels

描述
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
类型
object

.status.policies[].policySpec.connector.names

描述
Names is an explicit list of resource names to match.
类型
array

.status.policies[].policySpec.connector.names[]

类型
string

.status.policies[].policySpec.defaultPermission

描述
DefaultPermission defines the Role and RoleBinding automatically granted without any approval check.
类型
object
必填
bindingTemplateroleTemplate
属性类型描述
bindingTemplateobject

BindingTemplate defines the subjects for the generated RoleBinding.

roleTemplateobject

RoleTemplate defines the rules to include in the generated Role.

.status.policies[].policySpec.defaultPermission.bindingTemplate

描述
BindingTemplate defines the subjects for the generated RoleBinding.
类型
object
属性类型描述
serviceAccountsarray

ServiceAccounts is the list of service account templates to bind.

.status.policies[].policySpec.defaultPermission.bindingTemplate.serviceAccounts

描述
ServiceAccounts is the list of service account templates to bind.
类型
array

.status.policies[].policySpec.defaultPermission.bindingTemplate.serviceAccounts[]

描述
ServiceAccountTemplate defines a template for binding ServiceAccounts. it extends rbacv1.Subject with dynamic label-based selectors.
类型
object
属性类型描述
namesarray

Names is the list of service account names to bind.

namespaceSelectorobject

NamespaceSelector selects Namespaces by label and/or name.

.status.policies[].policySpec.defaultPermission.bindingTemplate.serviceAccounts[].names

描述
Names is the list of service account names to bind.
类型
array

.status.policies[].policySpec.defaultPermission.bindingTemplate.serviceAccounts[].names[]

类型
string

.status.policies[].policySpec.defaultPermission.bindingTemplate.serviceAccounts[].namespaceSelector

描述
NamespaceSelector selects Namespaces by label and/or name.
类型
object
属性类型描述
matchExpressionsarray

matchExpressions is a list of label selector requirements. The requirements are ANDed.

matchLabelsobject

matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.

namesarray

Names is an explicit list of resource names to match.

.status.policies[].policySpec.defaultPermission.bindingTemplate.serviceAccounts[].namespaceSelector.matchExpressions

描述
matchExpressions is a list of label selector requirements. The requirements are ANDed.
类型
array

.status.policies[].policySpec.defaultPermission.bindingTemplate.serviceAccounts[].namespaceSelector.matchExpressions[]

描述
A label selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
类型
object
必填
keyoperator
属性类型描述
keystring

key is the label key that the selector applies to.

operatorstring

operator represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists and DoesNotExist.

valuesarray

values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.

.status.policies[].policySpec.defaultPermission.bindingTemplate.serviceAccounts[].namespaceSelector.matchExpressions[].values

描述
values is an array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. This array is replaced during a strategic merge patch.
类型
array

.status.policies[].policySpec.defaultPermission.bindingTemplate.serviceAccounts[].namespaceSelector.matchExpressions[].values[]

类型
string

.status.policies[].policySpec.defaultPermission.bindingTemplate.serviceAccounts[].namespaceSelector.matchLabels

描述
matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
类型
object

.status.policies[].policySpec.defaultPermission.bindingTemplate.serviceAccounts[].namespaceSelector.names

描述
Names is an explicit list of resource names to match.
类型
array

.status.policies[].policySpec.defaultPermission.bindingTemplate.serviceAccounts[].namespaceSelector.names[]

类型
string

.status.policies[].policySpec.defaultPermission.roleTemplate

描述
RoleTemplate defines the rules to include in the generated Role.
类型
object
属性类型描述
refobject

Ref specifies a reference to a RoleTemplate

.status.policies[].policySpec.defaultPermission.roleTemplate.ref

描述
Ref specifies a reference to a RoleTemplate
类型
object
属性类型描述
configMapobject

ConfigMap specifies a local reference to a ConfigMap whose data["rules"] contains the YAML-encoded list of rbacv1.PolicyRule entries. Only ConfigMaps in the connectors system namespace are supported.

.status.policies[].policySpec.defaultPermission.roleTemplate.ref.configMap

描述
ConfigMap specifies a local reference to a ConfigMap whose data["rules"] contains the YAML-encoded list of rbacv1.PolicyRule entries. Only ConfigMaps in the connectors system namespace are supported.
类型
object
属性类型描述
namestring

Name of the referent. This field is effectively required, but due to backwards compatibility is allowed to be empty. Instances of this type with an empty value here are almost certainly wrong. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names

API 端点

可用的 API 端点如下:

  • /apis/connectors.alauda.io/v1alpha1/namespaces/{namespace}/accessrequests
    • DELETE: delete collection of AccessRequest
    • GET: list objects of kind AccessRequest
    • POST: create a new AccessRequest
  • /apis/connectors.alauda.io/v1alpha1/namespaces/{namespace}/accessrequests/{name}
    • DELETE: delete the specified AccessRequest
    • GET: read the specified AccessRequest
    • PATCH: partially update the specified AccessRequest
    • PUT: replace the specified AccessRequest
  • /apis/connectors.alauda.io/v1alpha1/namespaces/{namespace}/accessrequests/{name}/status
    • GET: read status of the specified AccessRequest
    • PATCH: partially update status of the specified AccessRequest
    • PUT: replace status of the specified AccessRequest

/apis/connectors.alauda.io/v1alpha1/namespaces/{namespace}/accessrequests

HTTP 方法
DELETE
描述
delete collection of AccessRequest
HTTP 响应
HTTP 状态码响应体
200 - OKStatus schema
401 - UnauthorizedEmpty
HTTP 方法
GET
描述
list objects of kind AccessRequest
HTTP 响应
HTTP 状态码响应体
200 - OKAccessRequestList schema
401 - UnauthorizedEmpty
HTTP 方法
POST
描述
create a new AccessRequest
查询参数
参数类型描述
dryRunstringWhen 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
fieldValidationstringfieldValidation 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.
请求体参数
参数类型描述
bodyAccessRequest schemaapplication/json formatted
HTTP 响应
HTTP 状态码响应体
200 - OKAccessRequest schema
201 - CreatedAccessRequest schema
202 - AcceptedAccessRequest schema
401 - UnauthorizedEmpty

/apis/connectors.alauda.io/v1alpha1/namespaces/{namespace}/accessrequests/{name}

HTTP 方法
DELETE
描述
delete the specified AccessRequest
查询参数
参数类型描述
dryRunstringWhen 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
HTTP 响应
HTTP 状态码响应体
200 - OKStatus schema
202 - AcceptedStatus schema
401 - UnauthorizedEmpty
HTTP 方法
GET
描述
read the specified AccessRequest
HTTP 响应
HTTP 状态码响应体
200 - OKAccessRequest schema
401 - UnauthorizedEmpty
HTTP 方法
PATCH
描述
partially update the specified AccessRequest
查询参数
参数类型描述
dryRunstringWhen 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
fieldValidationstringfieldValidation 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.
HTTP 响应
HTTP 状态码响应体
200 - OKAccessRequest schema
401 - UnauthorizedEmpty
HTTP 方法
PUT
描述
replace the specified AccessRequest
查询参数
参数类型描述
dryRunstringWhen 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
fieldValidationstringfieldValidation 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.
请求体参数
参数类型描述
bodyAccessRequest schemaapplication/json formatted
HTTP 响应
HTTP 状态码响应体
200 - OKAccessRequest schema
201 - CreatedAccessRequest schema
401 - UnauthorizedEmpty

/apis/connectors.alauda.io/v1alpha1/namespaces/{namespace}/accessrequests/{name}/status

HTTP 方法
GET
描述
read status of the specified AccessRequest
HTTP 响应
HTTP 状态码响应体
200 - OKAccessRequest schema
401 - UnauthorizedEmpty
HTTP 方法
PATCH
描述
partially update status of the specified AccessRequest
查询参数
参数类型描述
dryRunstringWhen 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
fieldValidationstringfieldValidation 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.
HTTP 响应
HTTP 状态码响应体
200 - OKAccessRequest schema
401 - UnauthorizedEmpty
HTTP 方法
PUT
描述
replace status of the specified AccessRequest
查询参数
参数类型描述
dryRunstringWhen 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
fieldValidationstringfieldValidation 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.
请求体参数
参数类型描述
bodyAccessRequest schemaapplication/json formatted
HTTP 响应
HTTP 状态码响应体
200 - OKAccessRequest schema
201 - CreatedAccessRequest schema
401 - UnauthorizedEmpty