ConnectorsConfig [operator.connectors.alauda.io/v1alpha1]

描述
ConnectorsConfig is the Schema for the connectorsconfig API.
类型
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

ConnectorsConfigSpec defines the desired state of ConnectorsConfig.

statusobject

ConnectorsConfigStatus defines the observed state of ConnectorsConfig.

.spec

描述
ConnectorsConfigSpec defines the desired state of ConnectorsConfig.
类型
object
属性类型描述
annotationsobject

Annotations overrides annotations for the namespace and its template.

componentsobject

Components maps component name (e.g. "core", "git", "oci") to its config. Component names must match registered ComponentDefinitions. Components not present in the map are enabled with default settings.

imagePullSecretsarray

ImagePullSecrets lists Secret names used to pull private images for the component workloads. Each name must reference a kubernetes.io/dockerconfigjson Secret that already exists in the namespace where the workload runs. The names are injected into every workload pod template's imagePullSecrets, merged with (and deduplicated against) any the manifest already declares.

Set on ConnectorsConfig.spec to broadcast cluster-wide; set on a per-component CR to add component-specific pull secrets. The effective list is the union of the cluster-wide and per-component names.

installFlagsobject

InstallFlags supplies per-install-flag admin configuration for install-time gating. Map key is a kebab-case install-flag name; value is an arbitrary JSON value whose shape is documented per flag.

Currently registered flag:

pipeline-integration: "<=N" // string, semver constraint on the // ResourceInterface schema-version label. // e.g. "<=2" installs v1 and v2; skips v3+.

Future flags may use other value shapes (boolean toggle, enum string, struct, …); the CRD schema does not constrain inner value structure on purpose so each flag can own its own shape. Per-install-flag transformers (pkg/controllers/transformer/installflags/) parse the JSON value at Transform time; parse failures degrade to the maturity default for that flag (Alpha: skip all matched resources; Beta: install all). GA / Deprecated maturities are locked and ignore admin overrides entirely.

This is NOT a runtime feature flag (see ConnectorsCoreSpec.FeatureFlags for that) — it acts at install/Transform time and decides whether install-time manifests get applied to the cluster, not whether a running binary's code paths are enabled.

Set on ConnectorsConfig.spec to broadcast cluster-wide; set on a per-component CR (e.g. ConnectorsHarbor.spec.installFlags) to override the cluster-wide value on the matching key for THAT component only.

labelsobject

Labels overrides labels for the namespace and its template.

registrystring

Registry overrides the default registry for the workloads. The registry is used to replace the prefix of the image. the image reference format is /:@.

.spec.annotations

描述
Annotations overrides annotations for the namespace and its template.
类型
object

.spec.components

描述
Components maps component name (e.g. "core", "git", "oci") to its config. Component names must match registered ComponentDefinitions. Components not present in the map are enabled with default settings.
类型
object

.spec.imagePullSecrets

描述
ImagePullSecrets lists Secret names used to pull private images for the component workloads. Each name must reference a kubernetes.io/dockerconfigjson Secret that already exists in the namespace where the workload runs. The names are injected into every workload pod template's imagePullSecrets, merged with (and deduplicated against) any the manifest already declares. Set on ConnectorsConfig.spec to broadcast cluster-wide; set on a per-component CR to add component-specific pull secrets. The effective list is the union of the cluster-wide and per-component names.
类型
array

.spec.imagePullSecrets[]

类型
string

.spec.installFlags

描述
InstallFlags supplies per-install-flag admin configuration for install-time gating. Map key is a kebab-case install-flag name; value is an arbitrary JSON value whose shape is documented per flag. Currently registered flag: pipeline-integration: "<=N" // string, semver constraint on the // ResourceInterface schema-version label. // e.g. "<=2" installs v1 and v2; skips v3+. Future flags may use other value shapes (boolean toggle, enum string, struct, …); the CRD schema does not constrain inner value structure on purpose so each flag can own its own shape. Per-install-flag transformers (pkg/controllers/transformer/installflags/) parse the JSON value at Transform time; parse failures degrade to the maturity default for that flag (Alpha: skip all matched resources; Beta: install all). GA / Deprecated maturities are locked and ignore admin overrides entirely. This is NOT a runtime feature flag (see ConnectorsCoreSpec.FeatureFlags for that) — it acts at install/Transform time and decides whether install-time manifests get applied to the cluster, not whether a running binary's code paths are enabled. Set on ConnectorsConfig.spec to broadcast cluster-wide; set on a per-component CR (e.g. ConnectorsHarbor.spec.installFlags) to override the cluster-wide value on the matching key for THAT component only.
类型
object

.spec.labels

描述
Labels overrides labels for the namespace and its template.
类型
object

.status

描述
ConnectorsConfigStatus defines the observed state of ConnectorsConfig.
类型
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.

componentsobject

Components tracks the status of each managed component.

conditionsarray

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

migratedFromobject

MigratedFrom records the migration source when upgrading from standalone CRs. nil if this is a fresh install (no migration occurred).

observedGenerationinteger

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

.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.components

描述
Components tracks the status of each managed component.
类型
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.migratedFrom

描述
MigratedFrom records the migration source when upgrading from standalone CRs. nil if this is a fresh install (no migration occurred).
类型
object
必填
timestamp
属性类型描述
componentsarray

Components lists which components were migrated and from which namespace. Set once by the bootstrap; never mutated. Use this as the audit record.

pendingCleanuparray

PendingCleanup is the working set of pre-migration standalone CRs the controller still needs to delete. Initially equal to Components; entries are pruned as cleanup converges. Empty list means all leftover standalone CRs have been handled.

timestampstring

Timestamp when the migration was performed.

.status.migratedFrom.components

描述
Components lists which components were migrated and from which namespace. Set once by the bootstrap; never mutated. Use this as the audit record.
类型
array

.status.migratedFrom.components[]

描述
MigratedComponent records the origin of a migrated component.
类型
object
必填
nameoriginalNameoriginalNamespace
属性类型描述
namestring

Name is the component type (e.g. "core", "git", "oci").

originalNamestring

OriginalName is the original CR name (may differ from deterministic name).

originalNamespacestring

OriginalNamespace is the namespace where the old CR was found.

.status.migratedFrom.pendingCleanup

描述
PendingCleanup is the working set of pre-migration standalone CRs the controller still needs to delete. Initially equal to Components; entries are pruned as cleanup converges. Empty list means all leftover standalone CRs have been handled.
类型
array

.status.migratedFrom.pendingCleanup[]

描述
MigratedComponent records the origin of a migrated component.
类型
object
必填
nameoriginalNameoriginalNamespace
属性类型描述
namestring

Name is the component type (e.g. "core", "git", "oci").

originalNamestring

OriginalName is the original CR name (may differ from deterministic name).

originalNamespacestring

OriginalNamespace is the namespace where the old CR was found.

API 端点

可用的 API 端点如下:

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

/apis/operator.connectors.alauda.io/v1alpha1/namespaces/{namespace}/connectorsconfigs

HTTP 方法
DELETE
描述
delete collection of ConnectorsConfig
HTTP 响应
HTTP 状态码响应体
200 - OKStatus schema
401 - UnauthorizedEmpty
HTTP 方法
GET
描述
list objects of kind ConnectorsConfig
HTTP 响应
HTTP 状态码响应体
200 - OKConnectorsConfigList schema
401 - UnauthorizedEmpty
HTTP 方法
POST
描述
create a new ConnectorsConfig
查询参数
参数类型描述
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.
请求体参数
参数类型描述
bodyConnectorsConfig schemaapplication/json formatted
HTTP 响应
HTTP 状态码响应体
200 - OKConnectorsConfig schema
201 - CreatedConnectorsConfig schema
202 - AcceptedConnectorsConfig schema
401 - UnauthorizedEmpty

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

HTTP 方法
DELETE
描述
delete the specified ConnectorsConfig
查询参数
参数类型描述
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 ConnectorsConfig
HTTP 响应
HTTP 状态码响应体
200 - OKConnectorsConfig schema
401 - UnauthorizedEmpty
HTTP 方法
PATCH
描述
partially update the specified ConnectorsConfig
查询参数
参数类型描述
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 - OKConnectorsConfig schema
401 - UnauthorizedEmpty
HTTP 方法
PUT
描述
replace the specified ConnectorsConfig
查询参数
参数类型描述
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.
请求体参数
参数类型描述
bodyConnectorsConfig schemaapplication/json formatted
HTTP 响应
HTTP 状态码响应体
200 - OKConnectorsConfig schema
201 - CreatedConnectorsConfig schema
401 - UnauthorizedEmpty

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

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