ProductBase [product.alauda.io/v1alpha1]

Description
ProductBase is the Schema for the productbases API
Type
object

Specification

PropertyTypeDescription
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

ProductBaseSpec defines the desired state of ProductBase

statusobject

ProductBaseStatus defines the observed state of ProductBase

.spec

Description
ProductBaseSpec defines the desired state of ProductBase
Type
object
Required
defaultAdminhttpplatformURLregistryversion
PropertyTypeDescription
alternativeURLsarray

AlternativeURLs is the platform's alternative urls

defaultAdminobject

DefaultAdmin stands for the admin's config

defaultRedirectPathstring

DefaultRedirectPath stands for the default redirect path

globalConfigobject

GlobalConfig stands for the global config

httpobject

HTTP stands for the http config

ingressobject

Ingress stands for the ingress configs

platformPublicURLstring

PlatformPublicURL stands the platform's public url

platformURLstring

PlatformURL is the platform's access url

productBrandstring

ProductBrand values: TKE、ACP、Common

registryobject

Registry is Docker Registry's Config

replicasinteger

Replicas stands for the deploy replicas

versionstring

Version stands for this product's version to deploy

.spec.alternativeURLs

Description
AlternativeURLs is the platform's alternative urls
Type
array

.spec.alternativeURLs[]

Type
string

.spec.defaultAdmin

Description
DefaultAdmin stands for the admin's config
Type
object
Required
accountemail
PropertyTypeDescription
accountstring

Account stands for admin's account

emailstring

Email stands for admin's email

hashstring

Hash stands for admin's password hash

.spec.globalConfig

Description
GlobalConfig stands for the global config
Type
object
PropertyTypeDescription
labelsobject

.spec.globalConfig.labels

Type
object

.spec.http

Description
HTTP stands for the http config
Type
object
Required
forceRedirectHttps
PropertyTypeDescription
forceRedirectHttpsboolean

ForceRedirectHTTPS stands for if force redirect to https

httpPortinteger

HTTPPort is the port of http

httpsPortinteger

HTTPPort is the port of https

tlsobject

TLS statnds for the server's TLS Certificate

.spec.http.tls

Description
TLS statnds for the server's TLS Certificate
Type
object
PropertyTypeDescription
secretRefobject

SecretRef is the reference for tls secret

.spec.http.tls.secretRef

Description
SecretRef is the reference for tls secret
Type
object
Required
name
PropertyTypeDescription
namestring

Name is the name of secret

.spec.ingress

Description
Ingress stands for the ingress configs
Type
object
Required
controllerhostingressClassName
PropertyTypeDescription
annotationsobject
controllerobject

Controller stands for the ingress controller configs

hoststring

Host stands for the host config in ingress

ingressClassNamestring

IngressClassName stands for the ingressClassName of the ingress

.spec.ingress.annotations

Type
object

.spec.ingress.controller

Description
Controller stands for the ingress controller configs
Type
object
Required
install
PropertyTypeDescription
installboolean

Install stands for if install ingress controller

nodesarray

Nodes stands for the ingress controller's running node

.spec.ingress.controller.nodes

Description
Nodes stands for the ingress controller's running node
Type
array

.spec.ingress.controller.nodes[]

Type
string

.spec.registry

Description
Registry is Docker Registry's Config
Type
object
Required
addresspreferPlatformURL
PropertyTypeDescription
addressstring

Address is Docker Registry's address

externalboolean

External stands for a external registry

preferPlatformURLboolean

PreferPlatformURL stands for business cluster prefer platform URL as registry address

secretRefobject

SecretRef is the reference for pullImageSecret

.spec.registry.secretRef

Description
SecretRef is the reference for pullImageSecret
Type
object
Required
name
PropertyTypeDescription
namestring

Name is the name of secret

.status

Description
ProductBaseStatus defines the observed state of ProductBase
Type
object
Required
phaseversion
PropertyTypeDescription
artifactsarray

Artifacts stands for the product's artifacts

conditionsarray

Conditions contains this product's conditions

globalIDstring

GlobalID stands for the global Id

phasestring

Phase stands for this product's phase

replicasinteger

Replicas stands for the product workload replicas

versionstring

Version statnds for this product's current version

.status.artifacts

Description
Artifacts stands for the product's artifacts
Type
array

.status.artifacts[]

Description
Artifact stands for the artifact's info
Type
object
Required
channelsnamepackageType
PropertyTypeDescription
channelsarray

Channels stands for the artifact's channels

namestring

Name stands for the artifact's name

packageTypestring

PackageType stands for the artifact's package type

.status.artifacts[].channels

Description
Channels stands for the artifact's channels
Type
array

.status.artifacts[].channels[]

Description
Channel stands for the artifact's channel
Type
object
Required
artifactStatuschanneldefaultdisplayNamerepositorytag
PropertyTypeDescription
artifactStatusstring

ArtifactStatus stands for the channel's artifact status

briefobject

Brief stands for the artifact's brief

catalogSourcestring

CatalogSource stands for the catalog source to get the operator bundle

categoriesarray

Categories stands for the artifact's categories, such as: AI, Database, etc.

channelstring

Channel stands for the channel's name

defaultboolean

Default stands for the artifact's default channel

descriptionobject

Description stands for the channel's description

digeststring

Digest stands for the channel's digest

displayNameobject

DisplayName stands for the artifact's display name

hiddenboolean

Hidden stands for the artifact is hidden on the Marketplace's page

packIgnoreboolean

PackIgnore indicates whether to skip packaging

providerobject

Provider stands for the artifact's provider

providerTypestring

ProviderType stands for the artifact's provider type, such as: platform, certified, custom, community

repositorystring

Repository stands for the channel's repository

supportedArchitecturesarray

SupportedArchitectures stands for the supported architectures, such as: amd64, arm64, etc.

supportedPlatformVersionsarray

SupportedPlatformVersions stands for the supported platform versions, such as: v4.0, v4.1, etc.

supportedProtocolStacksarray

SupportedProtocolStacks stands for the supported protocol stacks, such as: IPv4, IPv6, DualStack, etc.

tagstring

Tag stands for the channel's tag

.status.artifacts[].channels[].brief

Description
Brief stands for the artifact's brief
Type
object
PropertyTypeDescription
enstring

EN stands for text with English

zhstring

ZH stands for text with Simple Chinese

.status.artifacts[].channels[].categories

Description
Categories stands for the artifact's categories, such as: AI, Database, etc.
Type
array

.status.artifacts[].channels[].categories[]

Type
string

.status.artifacts[].channels[].description

Description
Description stands for the channel's description
Type
object
PropertyTypeDescription
enstring

EN stands for text with English

zhstring

ZH stands for text with Simple Chinese

.status.artifacts[].channels[].displayName

Description
DisplayName stands for the artifact's display name
Type
object
PropertyTypeDescription
enstring

EN stands for text with English

zhstring

ZH stands for text with Simple Chinese

.status.artifacts[].channels[].provider

Description
Provider stands for the artifact's provider
Type
object
PropertyTypeDescription
enstring

EN stands for text with English

zhstring

ZH stands for text with Simple Chinese

.status.artifacts[].channels[].supportedArchitectures

Description
SupportedArchitectures stands for the supported architectures, such as: amd64, arm64, etc.
Type
array

.status.artifacts[].channels[].supportedArchitectures[]

Type
string

.status.artifacts[].channels[].supportedPlatformVersions

Description
SupportedPlatformVersions stands for the supported platform versions, such as: v4.0, v4.1, etc.
Type
array

.status.artifacts[].channels[].supportedPlatformVersions[]

Type
string

.status.artifacts[].channels[].supportedProtocolStacks

Description
SupportedProtocolStacks stands for the supported protocol stacks, such as: IPv4, IPv6, DualStack, etc.
Type
array

.status.artifacts[].channels[].supportedProtocolStacks[]

Type
string

.status.conditions

Description
Conditions contains this product's conditions
Type
array

.status.conditions[]

Description
ProductBaseCondition ...
Type
object
Required
statustype
PropertyTypeDescription
lastHeartbeatTimestring

LastHeartbeatTime stands for the timestamp to check Condition

lastTransitionTimestring

LastTransitionTime stands for the timestamp of Condition's status changed

messagestring

Message stands for Condition's message

reasonstring

Reason stands for Condition's reason

statusstring

Status stands for Condition's status

typestring

Type stands for Condition's type

API Endpoints

The following API endpoints are available:

  • /apis/product.alauda.io/v1alpha2/productbases
    • DELETE: delete collection of ProductBase
    • GET: list objects of kind ProductBase
    • POST: create a new ProductBase
  • /apis/product.alauda.io/v1alpha2/productbases/{name}
    • DELETE: delete the specified ProductBase
    • GET: read the specified ProductBase
    • PATCH: partially update the specified ProductBase
    • PUT: replace the specified ProductBase
  • /apis/product.alauda.io/v1alpha2/productbases/{name}/status
    • GET: read status of the specified ProductBase
    • PATCH: partially update status of the specified ProductBase
    • PUT: replace status of the specified ProductBase

/apis/product.alauda.io/v1alpha2/productbases

HTTP method
DELETE
Description
delete collection of ProductBase
HTTP responses
HTTP codeResponse body
200 - OKStatus schema
401 - UnauthorizedEmpty
HTTP method
GET
Description
list objects of kind ProductBase
HTTP responses
HTTP codeResponse body
200 - OKProductBaseList schema
401 - UnauthorizedEmpty
HTTP method
POST
Description
create a new ProductBase
Query parameters
ParameterTypeDescription
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.
Body parameters
ParameterTypeDescription
bodyProductBase schemaapplication/json formatted
HTTP responses
HTTP codeResponse body
200 - OKProductBase schema
201 - CreatedProductBase schema
202 - AcceptedProductBase schema
401 - UnauthorizedEmpty

/apis/product.alauda.io/v1alpha2/productbases/{name}

HTTP method
DELETE
Description
delete the specified ProductBase
Query parameters
ParameterTypeDescription
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 responses
HTTP codeResponse body
200 - OKStatus schema
202 - AcceptedStatus schema
401 - UnauthorizedEmpty
HTTP method
GET
Description
read the specified ProductBase
HTTP responses
HTTP codeResponse body
200 - OKProductBase schema
401 - UnauthorizedEmpty
HTTP method
PATCH
Description
partially update the specified ProductBase
Query parameters
ParameterTypeDescription
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 responses
HTTP codeResponse body
200 - OKProductBase schema
401 - UnauthorizedEmpty
HTTP method
PUT
Description
replace the specified ProductBase
Query parameters
ParameterTypeDescription
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.
Body parameters
ParameterTypeDescription
bodyProductBase schemaapplication/json formatted
HTTP responses
HTTP codeResponse body
200 - OKProductBase schema
201 - CreatedProductBase schema
401 - UnauthorizedEmpty

/apis/product.alauda.io/v1alpha2/productbases/{name}/status

HTTP method
GET
Description
read status of the specified ProductBase
HTTP responses
HTTP codeResponse body
200 - OKProductBase schema
401 - UnauthorizedEmpty
HTTP method
PATCH
Description
partially update status of the specified ProductBase
Query parameters
ParameterTypeDescription
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 responses
HTTP codeResponse body
200 - OKProductBase schema
401 - UnauthorizedEmpty
HTTP method
PUT
Description
replace status of the specified ProductBase
Query parameters
ParameterTypeDescription
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.
Body parameters
ParameterTypeDescription
bodyProductBase schemaapplication/json formatted
HTTP responses
HTTP codeResponse body
200 - OKProductBase schema
201 - CreatedProductBase schema
401 - UnauthorizedEmpty