跳到主要内容

KDO 平台 CRD

本页由 CRD 清单生成。字段以对应版本的 OpenAPI schema 为准;metadata 等标准字段不再重复。

AppEnv​

项目环境,定义环境类型、目标集群以及删除时是否清理命名空间。

项目值
Groupkube-do.cn
Versionv1
ScopeNamespaced
Pluralappenvs

metadata 为标准 Kubernetes 字段,下表只列出 spec 与 status。

Spec​

字段类型必填说明
aliasstring否Alias 项目的中文名,比如开发环境,测试环境这些
clusterstring是Cluster 集群名,用于多集群
disabledboolean否Disabled 这个环境是否启用,环境在禁用时不会同步项目信息,删除环境时要先把环境禁用
isPruneNSboolean否IsPruneNS 删除Env时是否删除对应的命名空间。未设置时默认为 true。
typestring否Type 环境类型

Status​

字段类型必填说明
imageRetentionobject否ImageRetention 记录本环境对应 Harbor 项目最近一次旧镜像清理策略的对齐结果。

AppProject​

应用项目,定义项目成员以及删除时是否清理命名空间。

项目值
Groupkube-do.cn
Versionv1
ScopeCluster
Pluralappprojects

metadata 为标准 Kubernetes 字段,下表只列出 spec 与 status。

Spec​

字段类型必填说明
aliasstring否Alias 是指项目的简短中文
descriptionstring否Description 是指关于项目的一段描述
isPruneNSboolean否IsPruneNS 删除Project时是否删除对应的命名空间。未设置时默认为 true。
projectMembersobject否ProjectMembers 项目成员

projectMembers 字段​

字段类型必填说明
developerarray<object>否Developer 开发者
opsarray<object>否Ops 运维人员
project-adminarray<object>是ProjectAdmin 项目管理员
qaarray<object>否QA 测试人员
viewarray<object>否View 仅查看人员

Status​

该 CRD 未定义 status 字段,或状态由控制器以其他资源记录。

Cluster​

纳管集群的连接、默认域名、监控日志地址、镜像仓库与 OIDC 配置。

项目值
Groupkube-do.cn
Versionv1
ScopeCluster
Pluralclusters

metadata 为标准 Kubernetes 字段,下表只列出 spec 与 status。

Spec​

字段类型必填说明
apiServerURLstring否ApiServerURL 集群K8S API Server的地址
clusterAlertManagerURLstring否ClusterAlertManagerURL 集群告警发送者URL,默认是AlertManager
clusterLoggingURLstring否ClusterLoggingURL 集群日志URL,默认是http://lokistack-dev-gateway-http.openshift-logging.svc:8080地址
clusterMeteringURLstring否ClusterMeteringURL 集群监控URL,默认是Prometheus地址
cnamestring否Cname 集群别名
defaultDomainstring否DefaultDomain Ingress所使用的默认后缀
descriptionstring否Description 集群描述
insecureSkipTLSVerifyboolean否InsecureSkipTLSVerify 访问该集群 API Server 时是否跳过 TLS 证书校验(默认 false)
mainClusterboolean否MainCluster 是否为管理集群
oidcIssuerURLstring否OIDCIssuerURL 该集群 API Server 信任的 OIDC Issuer 地址,用于校验 Console 登录身份是否可被目标集群接受
registryURLstring否RegistryURL 镜像仓库地址

Status​

字段类型必填说明
certificateExpirystring否CertificateExpiry 管理员 kubeconfig 客户端证书的到期时间
componentsarray<object>否Components 各组件(API Server、监控、告警、日志、镜像仓库)的可达性
conditionsarray<object>否Conditions 集群连接、OIDC 校验、证书状态等条件
lastConnectedTimestring否LastConnectedTime 最近一次成功连接目标集群的时间
versionstring否Version 目标集群的 Kubernetes 版本

Group​

用户组,映射 IdP 的 groups claim,并作为 RBAC 授权主体。

项目值
Groupkube-do.cn
Versionv1
ScopeCluster
Pluralgroups

metadata 为标准 Kubernetes 字段,下表只列出 spec 与 status。

Spec​

字段类型必填说明
displayNamestring否DisplayName 供 UI 展示,为空时回落到 GroupName 或 metadata.name。
groupNamestring否GroupName 是 IdP 组名在 token 中的最终取值,例如 kdo:test。 本地逻辑组可为空,此时 RBAC 使用 metadata.name。
usersarray<string>否Users 指这个组里面包含的用户,取值为 User.spec.username(不是 CR 名)。

Status​

字段类型必填说明
conditionsarray<object>否Conditions 描述同步与绑定状态,便于在 UI 上展示失败原因。
lastSyncTimestring否LastSyncTime 是最近一次成功同步的时间。
memberCountinteger否MemberCount 是组内成员数量,便于列表页直接展示。
observedGenerationinteger否ObservedGeneration 是控制器最近一次处理过的 spec 代次。
providerGroupIDstring否ProviderGroupID 是组在该 IdP 中的唯一 ID,用于维持绑定关系。
syncSourcestring否SyncSource 是当前同步来源的 Provider 名称。

Image​

容器镜像的不可变快照,包含镜像元数据与摘要。

项目值
Groupkube-do.cn
Versionv1
ScopeCluster
Pluralimages

metadata 为标准 Kubernetes 字段,下表只列出 spec 与 status。

Spec​

该层级没有可展示的字段。

Status​

该 CRD 未定义 status 字段,或状态由控制器以其他资源记录。

ImageSignature​

镜像签名,用于验证镜像来源与完整性。

项目值
Groupkube-do.cn
Versionv1
ScopeCluster
Pluralimagesignatures

metadata 为标准 Kubernetes 字段,下表只列出 spec 与 status。

Spec​

该层级没有可展示的字段。

Status​

该 CRD 未定义 status 字段,或状态由控制器以其他资源记录。

ImageStreamImage​

通过 digest 定位 ImageStream 中的某个具体镜像。

项目值
Groupkube-do.cn
Versionv1
ScopeNamespaced
Pluralimagestreamimages

metadata 为标准 Kubernetes 字段,下表只列出 spec 与 status。

Spec​

该层级没有可展示的字段。

Status​

该 CRD 未定义 status 字段,或状态由控制器以其他资源记录。

ImageStreamImport​

镜像导入请求,创建时把外部镜像导入 ImageStream。

项目值
Groupkube-do.cn
Versionv1
ScopeNamespaced
Pluralimagestreamimports

metadata 为标准 Kubernetes 字段,下表只列出 spec 与 status。

Spec​

字段类型必填说明
imagesarray<object>否images 是待导入的单个镜像列表。
importboolean是import 为 true 时执行实际导入并将结果写入目标 ImageStream; 为 false 时仅计算导入结果(dry-run),不修改 ImageStream。
repositoryobject否repository 可选的整个镜像仓库导入配置,用于批量导入仓库中的所有 tag。

images 字段​

字段类型必填说明
fromobject是from 是待导入镜像的来源引用。
importPolicyobject否importPolicy 控制导入行为。
includeManifestboolean否includeManifest 是否在导入时包含完整的 manifest 数据。
referencePolicyobject否referencePolicy 定义导入后镜像的引用方式。
toobject否to 是导入后的目标 tag 名称,若为空则不指定目标 tag。

repository 字段​

字段类型必填说明
fromobject是from 是待导入仓库的来源引用,目前仅支持 Kind=DockerImage。
importPolicyobject否importPolicy 控制导入行为。
includeManifestboolean否includeManifest 是否在导入时包含完整的 manifest 数据。
referencePolicyobject否referencePolicy 定义导入后镜像的引用方式。

Status​

字段类型必填说明
imagesarray<object>否images 是对应 spec.images 中每个镜像的导入结果。
importobject否import 是导入成功时更新后的目标 ImageStream。
observedGenerationinteger否observedGeneration 是最近一次被处理的 spec generation,用于判断是否需要重新导入。
repositoryobject否repository 是仓库批量导入的结果。

ImageStreamLayers​

ImageStream 中镜像的层索引,记录镜像由哪些 blob 组成。

项目值
Groupkube-do.cn
Versionv1
ScopeNamespaced
Pluralimagestreamlayers

metadata 为标准 Kubernetes 字段,下表只列出 spec 与 status。

Spec​

该层级没有可展示的字段。

Status​

该 CRD 未定义 status 字段,或状态由控制器以其他资源记录。

ImageStreamMapping​

把单个 tag 映射到指定容器镜像的请求对象。

项目值
Groupkube-do.cn
Versionv1
ScopeNamespaced
Pluralimagestreammappings

metadata 为标准 Kubernetes 字段,下表只列出 spec 与 status。

Spec​

该层级没有可展示的字段。

Status​

该 CRD 未定义 status 字段,或状态由控制器以其他资源记录。

ImageStream​

镜像流,维护 tag 到镜像的映射,可跟踪镜像版本变化。

项目值
Groupkube-do.cn
Versionv1
ScopeNamespaced
Pluralimagestreams

metadata 为标准 Kubernetes 字段,下表只列出 spec 与 status。

Spec​

字段类型必填说明
dockerImageRepositorystring否dockerImageRepository 镜像流底层对应的 Docker 仓库地址。
lookupPolicyobject否lookupPolicy 控制同一命名空间内其他资源如何引用此镜像流中的镜像, 启用后可让 Pod、Build 等通过短名称直接引用镜像流中的镜像。
tagsarray<object>否tags 镜像流中的 tag 列表,每个元素定义了一个 tag 及其镜像来源、导入策略和引用策略。

lookupPolicy 字段​

字段类型必填说明
localboolean否local 为 true 时,命名空间内的 Docker 短镜像引用(如 "mysql") 将直接解析为此 ImageStream 中对应 tag 的镜像 ID,而无需访问远程镜像仓库。

tags 字段​

字段类型必填说明
annotationsmap否annotations 是与此 tag 关联的注解,会复制到通过 ImageStreamTag 获取的镜像上。
fromobject否from 是此 tag 跟踪的镜像来源引用,可以是 DockerImage、ImageStreamTag 或 ImageStreamImage。
generationinteger否generation 是跟踪 spec tag 变更的计数器。当 spec tag 的 generation 大于 status 中的 generation 时,触发重新导入。设置为 nil 或 0 也会触发导入。
importPolicyobject否importPolicy 控制镜像的导入方式。
namestring是name 是 tag 的名称(如 "latest"、"v1.0"、"prod")
referenceboolean否reference 为 true 表示此 tag 是引用类型,直接使用 from 指向的镜像地址, 不执行实际的镜像导入。默认为 false。
referencePolicyobject否referencePolicy 定义其他组件(如构建、部署)应如何使用此 tag 的镜像拉取地址。

Status​

字段类型必填说明
dockerImageRepositorystring否dockerImageRepository 此镜像流在内部 Registry 中的有效访问地址。
publicDockerImageRepositorystring否publicDockerImageRepository 集群外部可访问的公开拉取地址。
tagsarray<object>否tags 记录每个 tag 的镜像历史。Items[0] 是最新的镜像版本。

ImageStreamTag​

ImageStream 中的标签及其对应镜像。

项目值
Groupkube-do.cn
Versionv1
ScopeNamespaced
Pluralimagestreamtags

metadata 为标准 Kubernetes 字段,下表只列出 spec 与 status。

Spec​

该层级没有可展示的字段。

Status​

该 CRD 未定义 status 字段,或状态由控制器以其他资源记录。

ImageTag​

镜像标签,记录 tag、历史与当前引用的镜像。

项目值
Groupkube-do.cn
Versionv1
ScopeNamespaced
Pluralimagetags

metadata 为标准 Kubernetes 字段,下表只列出 spec 与 status。

Spec​

字段类型必填说明
annotationsmap否annotations 是与此 tag 关联的注解,会复制到通过 ImageStreamTag 获取的镜像上。
fromobject否from 是此 tag 跟踪的镜像来源引用,可以是 DockerImage、ImageStreamTag 或 ImageStreamImage。
generationinteger否generation 是跟踪 spec tag 变更的计数器。当 spec tag 的 generation 大于 status 中的 generation 时,触发重新导入。设置为 nil 或 0 也会触发导入。
importPolicyobject否importPolicy 控制镜像的导入方式。
namestring是name 是 tag 的名称(如 "latest"、"v1.0"、"prod")
referenceboolean否reference 为 true 表示此 tag 是引用类型,直接使用 from 指向的镜像地址, 不执行实际的镜像导入。默认为 false。
referencePolicyobject否referencePolicy 定义其他组件(如构建、部署)应如何使用此 tag 的镜像拉取地址。

from 字段​

字段类型必填说明
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:…
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

importPolicy 字段​

字段类型必填说明
importModestring否importMode 控制如何导入镜像 manifest。
insecureboolean否insecure 为 true 时允许跳过 TLS 证书验证或使用 HTTP 连接。
scheduledboolean否scheduled 为 true 时,系统将定期检查此 tag 对应的镜像是否有更新。

referencePolicy 字段​

字段类型必填说明
typestring否type 决定镜像拉取地址的生成方式,可选 Source 或 Local。

Status​

字段类型必填说明
conditionsarray<object>否conditions 是该 tag 的状态条件列表
itemsarray<object>是items 是镜像历史记录列表,按时间倒序排列
tagstring是tag 是此历史记录对应的 tag 名称

KdcCertificate​

证书分发对象,按域名和集群把 TLS Secret 分发到目标命名空间。

项目值
Groupkube-do.cn
Versionv1
ScopeCluster
Pluralkdccertificates

metadata 为标准 Kubernetes 字段,下表只列出 spec 与 status。

Spec​

字段类型必填说明
clusterRefsarray<string>否ClusterRefs 目标集群名称列表(对应 Cluster CR 的 metadata.name)。 非空时精确指定这些集群;为空表示所有集群(含管理集群)。
deliveryPolicyobject否DeliveryPolicy 控制证书分发与替换的目标范围。
domainsarray<string>是Domains 证书覆盖的域名(SAN),支持精确域名与通配符(如 *.example.com)。 用于匹配 Ingress 的 host,并校验来源证书是否覆盖这些域名。
secretNamestring否SecretName 仅作为 Ingress TLS 未显式指定 secretName 时的兜底 Secret 名称, 默认等于 KdcCertificate 对象名。通常无需设置,因为 Ingress TLS 一般都会命名 Secret。
sourceSecretRefobject是SourceSecretRef 引用一个 kubernetes.io/tls 类型 Secret 作为证书来源(必须包含 tls.crt/tls.key)。 私钥不会写入本 CR,推荐通过此方式提供证书。

deliveryPolicy 字段​

字段类型必填说明
autoReplaceboolean否AutoReplace 为 true 时,发现目标证书到期时间早于本证书即自动替换,默认 true。
excludeNamespacesarray<string>否ExcludeNamespaces 显式排除的命名空间黑名单(优先级高于白名单)。
includeNamespacesarray<string>否IncludeNamespaces 显式包含的命名空间白名单。
ingressSelectorobject否IngressSelector 按 Ingress 标签选择参与替换的对象;为空时依据 Domains 匹配 host。
namespaceSelectorobject否NamespaceSelector 按命名空间标签选择(与 IncludeNamespaces 取并集)。
replaceBeforeDaysinteger否ReplaceBeforeDays 兜底阈值(天)。当无法解析目标证书到期时间失败时无法生效; 设置后,只要目标证书剩余天数低于该值也会触发替换。为空表示仅按到期时间比较。

sourceSecretRef 字段​

字段类型必填说明
namestring否name is unique within a namespace to reference a secret resource.
namespacestring否namespace defines the space within which the secret name must be unique.

Status​

字段类型必填说明
conditionsarray<object>否Conditions 证书有效性与同步状态条件。
domainsarray<string>否Domains 从证书实际解析出的域名(SAN)。
lastSyncTimestring否LastSyncTime 最近一次成功同步的时间。
notAfterstring否NotAfter 当前来源证书的到期时间。
observedGenerationinteger否ObservedGeneration 最近一次处理的 spec generation。
targetsarray<object>否Targets 已发现并管理的目标 Secret。

NotificationChannel​

可复用的通知渠道,定义提供商、凭据、限流和可见范围。

项目值
Groupkube-do.cn
Versionv1
ScopeCluster
Pluralnotificationchannels

metadata 为标准 Kubernetes 字段,下表只列出 spec 与 status。

Spec​

字段类型必填说明
allowedProjectsarray<string>否AllowedProjects limits project-scoped channels to these AppProject names.
defaultboolean否Default marks the platform default channel. Managed rules (for example the auto-created project-admin rule) use it when a project does not pick a channel explicitly. At most one channel should be default; Console rejects a second default and the notifier reports a condition.
displayNamestring否—
modestring是NotificationChannelMode is the delivery mode of a channel.
optionsobject否NotificationChannelOptions holds provider-specific options.
providerstring是NotificationChannelProvider is the IM provider used by a channel.
rateLimitobject否NotificationRateLimit configures a token bucket for one channel.
scopestring否NotificationScope controls who may use a channel.
secretRefobject是NotificationSecretReference points to a Secret holding channel credentials.
templatestring否Template overrides the built-in template for this channel.

options 字段​

字段类型必填说明
apiBasestring否APIBase overrides the provider API base URL for private deployments or proxies.
mentionableboolean否Mentionable indicates whether the channel supports mentioning recipients.

rateLimit 字段​

字段类型必填说明
burstinteger否Burst is the maximum burst size.
perMinuteinteger否PerMinute is the sustained requests per minute. It takes precedence over QPS when set.
qpsstring否QPS is the sustained requests per second.

secretRef 字段​

字段类型必填说明
namestring是Name is the Secret name.
namespacestring是Namespace must be the dedicated notification namespace.

Status​

字段类型必填说明
capabilitiesobject否NotificationCapabilities describes what a channel can render.
conditionsarray<object>否—
lastTestTimestring否—
observedGenerationinteger否—

NotificationPreference​

用户级通知偏好,定义渠道、类型、静默时段和摘要策略。

项目值
Groupkube-do.cn
Versionv1
ScopeCluster
Pluralnotificationpreferences

metadata 为标准 Kubernetes 字段,下表只列出 spec 与 status。

Spec​

字段类型必填说明
bindingsmap否—
categoriesarray<string>否—
channelTypesarray<string>否—
channelsarray<string>否Channels optionally limits delivery to these channel names.
digeststring否—
enabledboolean否Enabled defaults to true. It is a pointer so a preference that only sets bindings or quiet hours does not silently unsubscribe the user.
languagestring否—
overridesarray<object>否—
quietHoursobject否NotificationQuietHours suppresses non-urgent notifications in a time window.
severityThresholdstring否—
typesarray<string>否—
userstring是User is the User CR name.

overrides 字段​

字段类型必填说明
categorystring否—
enabledboolean否—
typestring否—

quietHours 字段​

字段类型必填说明
endstring否End is HH:MM in the configured timezone.
startstring否Start is HH:MM in the configured timezone.
timezonestring否Timezone is an IANA timezone name.

Status​

字段类型必填说明
conditionsarray<object>否—
observedGenerationinteger否—

NotificationRule​

项目级通知路由规则,按事件匹配接收人、渠道和静默时段。

项目值
Groupkube-do.cn
Versionv1
ScopeNamespaced
Pluralnotificationrules

metadata 为标准 Kubernetes 字段,下表只列出 spec 与 status。

Spec​

字段类型必填说明
aggregationobject否NotificationAggregation groups events into one Notification. Reserved: the notifier aggregates by NotificationSpec.Event.AggregationKey today, so the window and by fields are accepted but not evaluated.
enabledboolean否Enabled defaults to true. It is a pointer so a rule that omits the field is not silently disabled.
fallbackboolean否Fallback rules only apply when no regular rule matched the event. The auto-created project-admin rule is a fallback so a project rule for the same event never produces a duplicate notification.
matchobject否NotificationMatch filters events for a rule.
quietHoursobject否NotificationQuietHours suppresses non-urgent notifications in a time window.
recipientsobject否NotificationRecipients defines who should receive matching events.
templatestring否Template overrides the built-in template for this rule.
urgentTypesarray<string>否UrgentTypes bypass quiet hours.

aggregation 字段​

字段类型必填说明
byarray<string>否By lists event data keys used to build the aggregation key.
windowstring否Window is the aggregation window. Zero disables aggregation.

match 字段​

字段类型必填说明
appEnvsarray<string>否—
categoriesarray<string>否—
labelsmap否Labels are matched against EventEnvelope.labels using exact key/value matching.
repositoriesarray<string>否—
scopesarray<string>否—
severitiesarray<string>否—
typesarray<string>否—

quietHours 字段​

字段类型必填说明
endstring否End is HH:MM in the configured timezone.
startstring否Start is HH:MM in the configured timezone.
timezonestring否Timezone is an IANA timezone name.

recipients 字段​

字段类型必填说明
alsoGroupboolean否AlsoGroup sends a group copy even when direct messages are available.
channelsarray<string>否Channels limits delivery to these NotificationChannel names.
fallbackToGroupboolean否FallbackToGroup sends to the rule's project group when no user recipient is available.
groupMentionstring否GroupMention defaults to none. @all is deliberately unsupported.
modestring否Mode is union by default; fallback only uses later subject types when earlier ones yield nobody.
subjectsarray<object>否Subjects are evaluated in order.

Status​

字段类型必填说明
conditionsarray<object>否—
observedGenerationinteger否—

Notification​

通知事件与投递记录,由通知控制器创建和维护。

项目值
Groupkube-do.cn
Versionv1
ScopeNamespaced
Pluralnotifications

metadata 为标准 Kubernetes 字段,下表只列出 spec 与 status。

Spec​

字段类型必填说明
audienceobject否Audience is set for platform announcements. The console audience picker writes it; recipient resolution for announcements still broadcasts to platform group channels, so the field is advisory today.
batchIDstring否BatchID links shards of a large announcement. Reserved for sharded sends.
eventobject是EventEnvelope is the provider-neutral event carried by a Notification.

audience 字段​

字段类型必填说明
groupstring否—
projectRolestring否—
typestring是—

event 字段​

字段类型必填说明
actionsarray<object>否—
aggregationKeystring否AggregationKey groups events that should share one Notification object.
bodystring否—
categorystring是—
correlationIDstring否—
datamap否—
dedupeKeystring否—
labelsmap否—
linksarray<object>否—
occurredAtstring是—
projectstring否—
scopestring是—
severitystring是—
sourcestring是—
sourceEventIDstring是—
titlestring否—
typestring是—

Status​

字段类型必填说明
alertsarray<object>否Alerts tracks Alertmanager fingerprints for incident aggregation.
deliveriesarray<object>否—
deliveryHistoryarray<object>否DeliveryHistory keeps a bounded snapshot of deliveries from previous aggregation rounds so retries do not erase the audit trail.
eventsarray<object>否Events tracks appended events for aggregation.
lastEventAtstring否—
observedGenerationinteger否—
phasestring否—
rulesarray<string>否Rules are the matched NotificationRule names.
skippedarray<object>否—

User​

平台用户,保存 OIDC 身份、联系方式与启用状态。

项目值
Groupkube-do.cn
Versionv1
ScopeCluster
Pluralusers

metadata 为标准 Kubernetes 字段,下表只列出 spec 与 status。

Spec​

字段类型必填说明
dingtalkIdstring否DingTalkID 钉钉 ID
emailstring否Email 电子邮箱地址
enabledboolean否Enabled 指用户是否启用
feishuIdstring否FeishuID 飞书 ID
fullNamestring否FullName 全名
identitiesarray<string>否Identities 身份提供者身份列表(如 github:12345, ldap:uid=john...)
phonestring否Phone 手机号码
subjectstring否Subject 是 OIDC 的 sub,用户在该 IdP 中的唯一且不可变的身份锚点。
usernamestring否Username 是 OIDC 身份名(preferred_username),同时用于 Kubernetes username 与 RBAC subject。 保持 IdP 原值(可能包含大写、中文),不用于资源命名;创建后不可变更。
wechatWorkIdstring否WeChatWorkID 企业微信 ID

Status​

字段类型必填说明
conditionsarray<object>否Conditions 描述同步与绑定状态,便于在 UI 上展示失败原因。
lastSyncTimestring否LastSyncTime 是最近一次成功同步的时间。
observedGenerationinteger否ObservedGeneration 是控制器最近一次处理过的 spec 代次。
providerUserIDstring否ProviderUserID 是用户在该 IdP 中的唯一 ID,用于维持绑定关系。
syncSourcestring否SyncSource 是当前同步来源的 Provider 名称。