VSphereClusterIdentity [infrastructure.cluster.x-k8s.io/v1beta1]
VSphereClusterIdentity 是一个集群范围的凭证,可让跨不同命名空间的多个 VSphereCluster 对象在命名空间选择器的限制下共享一组 vCenter 凭证。它是从 VSphereCluster.spec.identityRef 直接引用 Secret 的替代方案。
本指南中记录的工作流使用 identityRef.kind: Secret,并为每个业务集群单独提供凭证;此资源在此展示,是为了方便需要在多个集群之间共享凭证的运维人员完整了解相关内容。
- 描述
- VSphereClusterIdentity defines the account to be used for reconciling clusters.
- 类型
object
规格
.spec
- 描述
- VSphereClusterIdentitySpec contains a secret reference and a group of allowed namespaces.
- 类型
object
.spec.allowedNamespaces
- 描述
- AllowedNamespaces is used to identify which namespaces are allowed to use this account. Namespaces can be selected with a label selector. If this object is nil, no namespaces will be allowed
- 类型
object
.spec.allowedNamespaces.selector
- 描述
- Selector is a standard Kubernetes LabelSelector. A label query over a set of resources.
- 类型
object
.spec.allowedNamespaces.selector.matchExpressions
- 描述
- matchExpressions is a list of label selector requirements. The requirements are ANDed.
- 类型
array
.spec.allowedNamespaces.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
.spec.allowedNamespaces.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
.spec.allowedNamespaces.selector.matchExpressions[].values[]
- 类型
string
.spec.allowedNamespaces.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
- 描述
- VSphereClusterIdentityStatus contains the status of the VSphereClusterIdentity.
- 类型
object
.status.conditions
- 描述
- Conditions defines current service state of the VSphereClusterIdentity.
- 类型
array
.status.conditions[]
- 描述
- Condition defines an observation of a Cluster API resource operational state.
- 类型
object- 必填
lastTransitionTimestatustype
.status.v1beta2
- 描述
- v1beta2 groups all the fields that will be added or modified in VSphereClusterIdentity's status with the V1Beta2 version.
- 类型
object
.status.v1beta2.conditions
- 描述
- conditions represents the observations of a VSphereClusterIdentity's current state. Known condition types are Available and Paused.
- 类型
array
.status.v1beta2.conditions[]
- 描述
- Condition contains details for one aspect of the current state of this API Resource.
- 类型
object- 必填
lastTransitionTimemessagereasonstatustype
API 端点
可用的 API 端点如下:
/apis/infrastructure.cluster.x-k8s.io/v1beta1/vsphereclusteridentitiesDELETE: delete collection of VSphereClusterIdentityGET: list objects of kind VSphereClusterIdentityPOST: create a new VSphereClusterIdentity
/apis/infrastructure.cluster.x-k8s.io/v1beta1/vsphereclusteridentities/{name}DELETE: delete the specified VSphereClusterIdentityGET: read the specified VSphereClusterIdentityPATCH: partially update the specified VSphereClusterIdentityPUT: replace the specified VSphereClusterIdentity
/apis/infrastructure.cluster.x-k8s.io/v1beta1/vsphereclusteridentities/{name}/statusGET: read status of the specified VSphereClusterIdentityPATCH: partially update status of the specified VSphereClusterIdentityPUT: replace status of the specified VSphereClusterIdentity
/apis/infrastructure.cluster.x-k8s.io/v1beta1/vsphereclusteridentities
- HTTP 方法
DELETE- 描述
- delete collection of VSphereClusterIdentity
- HTTP 响应
- HTTP 方法
GET- 描述
- list objects of kind VSphereClusterIdentity
- HTTP 响应
- HTTP 方法
POST- 描述
- create a new VSphereClusterIdentity
- 查询参数
- 请求体参数
- HTTP 响应
/apis/infrastructure.cluster.x-k8s.io/v1beta1/vsphereclusteridentities/{name}
- HTTP 方法
DELETE- 描述
- delete the specified VSphereClusterIdentity
- 查询参数
- HTTP 响应
- HTTP 方法
GET- 描述
- read the specified VSphereClusterIdentity
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update the specified VSphereClusterIdentity
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace the specified VSphereClusterIdentity
- 查询参数
- 请求体参数
- HTTP 响应
/apis/infrastructure.cluster.x-k8s.io/v1beta1/vsphereclusteridentities/{name}/status
- HTTP 方法
GET- 描述
- read status of the specified VSphereClusterIdentity
- HTTP 响应
- HTTP 方法
PATCH- 描述
- partially update status of the specified VSphereClusterIdentity
- 查询参数
- HTTP 响应
- HTTP 方法
PUT- 描述
- replace status of the specified VSphereClusterIdentity
- 查询参数
- 请求体参数
- HTTP 响应