connectors.alauda.io group
ConnectorClass is the Schema for the connectorclasses API
v1alpha1 versionobjectSpec defines the desired state of ConnectorClass
objectAddress indicates address param constraints for this ConnectorClass of connectors we only support string param type
Default is the value a parameter takes if no input value is supplied.
stringDescription is a user-facing description of the parameter that may be used to populate a UI.
[]stringEnum declares a set of allowed param input values. If Enum is not set, no input validation is performed for the param.
string requiredName declares the name by which a parameter is referenced.
objectProperties is the JSON Schema properties to support key-value pairs parameter.
stringType is the user-specified type of the parameter. The possible types are currently "string", "array" and "object", and "string" is the default.
objectAPI defines connectorclass plugin api address and openapi specification
api.ref can be address of plugin api, it should be a kubernetes svc
api.uri can be an absolute URL(non-empty scheme and non-empty host) pointing to the target or a relative URI. Relative URIs will be resolved using the base URI retrieved from Ref.
api.CACerts and api.audience is not implemented now
stringCACerts are Certification Authority (CA) certificates in PEM format according to https://www.rfc-editor.org/rfc/rfc7468. If set, these CAs are appended to the set of CAs provided by the Addressable target, if any.
stringAudience is the OIDC audience. This need only be set, if the target is not an Addressable and thus the Audience can't be received from the Addressable itself. In case the Addressable specifies an Audience too, the Destinations Audience takes preference.
OpenAPI defines the openapi specification for the connectorclass api This OpenAPI specification can describe an API customized for the ConnectorClass, or it can describe the original tool's API exposed via the ConnectorClass's proxy. if client request path is not in the OpenAPI specification, it will just forward the request to proxy of the connectorclass.
objectRef points to an Addressable.
stringAddress points to a specific Address Name.
stringAPI version of the referent.
stringGroup of the API, without the version of the group. This can be used as an alternative to the APIVersion, and then resolved using ResolveGroup. Note: This API is EXPERIMENTAL and might break anytime. For more details: https://github.com/knative/eventing/issues/5086
string requiredKind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
string requiredName of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
stringNamespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ This is optional field, it gets defaulted to the object holding it if left out.
stringURI can be an absolute URL(non-empty scheme and non-empty host) pointing to the target or a relative URI. Relative URIs will be resolved using the base URI retrieved from Ref.
objectAuth indicates authentication constraints for this ConnectorClass of connectors
[]objectConnectorClassAuthType represent the authentication types supported by connectors of the current connectorclass type
stringDescription is the description of the AuthType
stringDisplayName is the human readable name of the AuthType
objectGenerator specifies how to generate authentication data dynamically. Can be used to implement custom authentication logic.
stringRego contains the Rego policy script that will be evaluated to generate authentication data. The script must define an 'auth' object that matches the following rules:
string requiredName of the AuthType Must be unique within the ConnectorClass.
booleanOptional indicates whether the authentication information is optional for this ConnectorClass of connectors the default value is false
[]objectParamSpec defines arbitrary parameters needed beyond typed inputs (such as resources).
Default is the value a parameter takes if no input value is supplied.
stringDescription is a user-facing description of the parameter that may be used to populate a UI.
[]stringEnum declares a set of allowed param input values. If Enum is not set, no input validation is performed for the param.
string requiredName declares the name by which a parameter is referenced.
objectProperties is the JSON Schema properties to support key-value pairs parameter.
stringType is the user-specified type of the parameter. The possible types are currently "string", "array" and "object", and "string" is the default.
stringSecretType represents the secret type of the current authentication information follow k8s secret type definition. eg.kubernetes.io/basic-auth, kubernetes.io/ssh-auth, kubernetes.io/opaque
[]objectConnectorClassAuthProbe represents network the detection configuration
string requiredAuthName corresponds to spec.auth.types[].name,
indicating the way to check for the corresponding authentication type
[]objectParamSpec defines arbitrary parameters needed beyond typed inputs (such as resources).
Default is the value a parameter takes if no input value is supplied.
stringDescription is a user-facing description of the parameter that may be used to populate a UI.
[]stringEnum declares a set of allowed param input values. If Enum is not set, no input validation is performed for the param.
string requiredName declares the name by which a parameter is referenced.
objectProperties is the JSON Schema properties to support key-value pairs parameter.
stringType is the user-specified type of the parameter. The possible types are currently "string", "array" and "object", and "string" is the default.
objectProbe represents current detection configuration
objectAPI defines a network detection probe that uses the ConnectorClass API.
The API endpoint for the probe is resolved from the ConnectorClass's spec.api configuration.
If spec.api is not configured or is invalid, no API detection will be performed.
The Path field within APIProbeAction specifies a relative path that is appended to the host of URI resolved from spec.api (e.g., spec.api.uri).
stringPath represents the API address accessed during the current detection
it is relative path, it will be appended to the host of URI resolved from spec.api (e.g., spec.api.uri) when execute the probe
objectHttp represents the network detection using the http get method
booleanDisableRedirect indicates whether the probe should follow redirects, default is false
stringHost represents the tool address for the current detection.
usually, it would be empty, it will use the spec.address of connector
[]objectHTTPHeader describes a custom header to be used in HTTP probes
string requiredThe header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.
string requiredThe header field value
stringMethod represents the HTTP method to use for the probe, support method: GET, POST. default is GET
string requiredPath represents the API address accessed during the current detection
it is relative path, it will be appended to the host of URI resolved from spec.address of connector when execute the probe
stringScheme to use for connecting to the host. If empty:
[]objectConnectorClassConfiguration defines connectorclass configuration
objectAnnotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations
objectData contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'.
stringName of the configuration
objectLivenessProbe defines liveness probe for this ConnectorClass of connectors
objectAPI defines a network detection probe that uses the ConnectorClass API.
The API endpoint for the probe is resolved from the ConnectorClass's spec.api configuration.
If spec.api is not configured or is invalid, no API detection will be performed.
The Path field within APIProbeAction specifies a relative path that is appended to the host of URI resolved from spec.api (e.g., spec.api.uri).
stringPath represents the API address accessed during the current detection
it is relative path, it will be appended to the host of URI resolved from spec.api (e.g., spec.api.uri) when execute the probe
objectHttp represents the network detection using the http get method
booleanDisableRedirect indicates whether the probe should follow redirects, default is false
stringHost represents the tool address for the current detection.
usually, it would be empty, it will use the spec.address of connector
[]objectHTTPHeader describes a custom header to be used in HTTP probes
string requiredThe header field name. This will be canonicalized upon output, so case-variant names will be understood as the same header.
string requiredThe header field value
stringMethod represents the HTTP method to use for the probe, support method: GET, POST. default is GET
string requiredPath represents the API address accessed during the current detection
it is relative path, it will be appended to the host of URI resolved from spec.address of connector when execute the probe
stringScheme to use for connecting to the host. If empty:
[]objectParamSpec defines arbitrary parameters needed beyond typed inputs (such as resources).
Default is the value a parameter takes if no input value is supplied.
stringDescription is a user-facing description of the parameter that may be used to populate a UI.
[]stringEnum declares a set of allowed param input values. If Enum is not set, no input validation is performed for the param.
string requiredName declares the name by which a parameter is referenced.
objectProperties is the JSON Schema properties to support key-value pairs parameter.
stringType is the user-specified type of the parameter. The possible types are currently "string", "array" and "object", and "string" is the default.
objectProxy defines the proxy configuration for this ConnectorClass. Specifies how network traffic should be routed through a proxy server.
stringCACerts are Certification Authority (CA) certificates in PEM format according to https://www.rfc-editor.org/rfc/rfc7468. If set, these CAs are appended to the set of CAs provided by the Addressable target, if any.
stringAudience is the OIDC audience. This need only be set, if the target is not an Addressable and thus the Audience can't be received from the Addressable itself. In case the Addressable specifies an Audience too, the Destinations Audience takes preference.
objectAuthExtractor specifies the method used to extract authentication data from incoming requests. The AuthExtractor is responsible for extracting the token required to perform proxy permission validation.
stringRego contains the Rego policy script that will be evaluated to extract proxy authentication data from the request. The script must define an 'auth' object that matches the following rules:
objectRef points to an Addressable.
stringAddress points to a specific Address Name.
stringAPI version of the referent.
stringGroup of the API, without the version of the group. This can be used as an alternative to the APIVersion, and then resolved using ResolveGroup. Note: This API is EXPERIMENTAL and might break anytime. For more details: https://github.com/knative/eventing/issues/5086
string requiredKind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
string requiredName of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
stringNamespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ This is optional field, it gets defaulted to the object holding it if left out.
stringURI can be an absolute URL(non-empty scheme and non-empty host) pointing to the target or a relative URI. Relative URIs will be resolved using the base URI retrieved from Ref.
objectStatus defines the actual state of ConnectorClass
objectAnnotations 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.
objectAPI represents status of connectorclass api
it will resolved based on spec.api
if spec.api is empty or invalid, it will not be set
if current field is empty, the connectorclass cannot provides any api service.
objectAddress is a single Addressable address.
stringCACerts is the Certification Authority (CA) certificates in PEM format according to https://www.rfc-editor.org/rfc/rfc7468.
stringAudience is the OIDC audience for this address.
stringName is the name of the address.
string[]objectCondition 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
stringLastTransitionTime 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).
stringA human readable message indicating details about the transition.
stringThe reason for the condition's last transition.
stringSeverity with which to treat failures of this type of condition. When this is not specified, it defaults to Error.
string requiredStatus of the condition, one of True, False, Unknown.
string requiredType of condition.
integerObservedGeneration is the 'Generation' of the Service that was last processed by the controller.
objectProxy represents status of connectorclass proxy
it will resolved based on spec.proxy
if spec.proxy is empty or invalid, it will not be set
if current field is empty, the connectorclass cannot provides any proxy service.
objectHttpAddress is a single Addressable address.
stringCACerts is the Certification Authority (CA) certificates in PEM format according to https://www.rfc-editor.org/rfc/rfc7468.
stringAudience is the OIDC audience for this address.
stringName is the name of the address.
string