ModuleConfig [moduleconfigs.cluster.alauda.io/v1alpha1]
- Description
- ModuleConfig is the Schema for the moduleconfigs API
- Type
object
Specification
.spec
- Description
- ModuleConfigSpec defines the desired state of ModuleConfig
- Type
object- Required
deleteabledescriptionlogoname
.spec.affinity
- Description
- Affinity is the affinity of the plugin.
- Type
object
.spec.affinity.clusterAffinity
- Description
- ClusterAffinity defines the cluster affinity
- Type
object
.spec.affinity.clusterAffinity.matchExpressions
- Description
- MatchExpressions is the list of match expressions
- Type
array
.spec.affinity.clusterAffinity.matchExpressions[]
- Description
- A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- Type
object- Required
keyoperator
.spec.affinity.clusterAffinity.matchExpressions[].values
- Description
- 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. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
- Type
array
.spec.affinity.clusterAffinity.matchExpressions[].values[]
- Type
string
.spec.affinity.clusterAffinity.matchLabels
- Description
- MatchLabels is the cluster selector
- Type
object
.spec.affinity.clusterAntiAffinity
- Description
- ClusterAntiAffinity defines the cluster anti-affinity
- Type
object
.spec.affinity.clusterAntiAffinity.matchExpressions
- Description
- MatchExpressions is the list of match expressions
- Type
array
.spec.affinity.clusterAntiAffinity.matchExpressions[]
- Description
- A node selector requirement is a selector that contains values, a key, and an operator that relates the key and values.
- Type
object- Required
keyoperator
.spec.affinity.clusterAntiAffinity.matchExpressions[].values
- Description
- 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. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
- Type
array
.spec.affinity.clusterAntiAffinity.matchExpressions[].values[]
- Type
string
.spec.affinity.clusterAntiAffinity.matchLabels
- Description
- MatchLabels is the cluster selector
- Type
object
.spec.affinity.pluginAntiAffinity
- Description
- PluginAntiAffinity defines the plugin anti-affinity
- Type
array
.spec.affinity.pluginAntiAffinity[]
- Type
string
.spec.appReleases
- Description
- AppReleases is the app releases of the module.
- Type
array
.spec.appReleases[]
- Description
- AppRelease is the release of an application
- Type
object- Required
chartVersionsname
.spec.appReleases[].chartVersions
- Description
- ChartVersions stands for the app's chart versions
- Type
array
.spec.appReleases[].chartVersions[]
- Description
- ChartVersion is the version of the chart
- Type
object- Required
namereleaseNameversion
.spec.config
- Description
- Config is the config of the module.
- Type
object
.spec.crossClusterDependencies
- Description
- CrossClusterDependencies indicates the cross-cluster dependencies of this module. Deprecated
- Type
array
.spec.crossClusterDependencies[]
- Type
string
.spec.dependencies
- Description
- Dependencies is the dependencies of the module.
- Type
array
.spec.dependencies[]
- Description
- ModuleDependency defines the module dependency
- Type
object- Required
moduleName
.spec.dependencies[].versionsMatch
- Description
- VersionMatch stands for the version requirements for the dependent module, any match will be acceptable.
- Type
array
.spec.dependencies[].versionsMatch[]
- Type
string
.spec.deployDescriptors
- Description
- DeployDescriptors is the descriptors of the module for deployment.
- Type
array
.spec.deployDescriptors[]
- Description
- Descriptors defines OLM descriptors http://confluence.alauda.cn/display/cp/OLM+Descriptor
- Type
object- Required
pathx-descriptors
.spec.deployDescriptors[].x-descriptors
- Description
- X-Descriptors is the list of descriptors
- Type
array
.spec.deployDescriptors[].x-descriptors[]
- Type
string
.spec.description
- Description
- Description is the description of the module.
- Type
object
.spec.editDescriptors
- Description
- EditDescriptors is the descriptors of the module for edit.
- Type
array
.spec.editDescriptors[]
- Description
- Descriptors defines OLM descriptors http://confluence.alauda.cn/display/cp/OLM+Descriptor
- Type
object- Required
pathx-descriptors
.spec.editDescriptors[].x-descriptors
- Description
- X-Descriptors is the list of descriptors
- Type
array
.spec.editDescriptors[].x-descriptors[]
- Type
string
.spec.pluginDependencies
- Description
- PluginDependencies define the plugins dependent relationship
- Type
object
.spec.pluginDependencies.crossCluster
- Type
object
.spec.pluginDependencies.crossCluster.oneOf
- Type
array
.spec.pluginDependencies.crossCluster.oneOf[]
- Type
object- Required
clusterNamepluginName
.spec.resourcesBlockRemove
- Description
- ResourcesBlockRemove stands for the resources reference with can block remove this plugin, all of theses resources must be deleted before you can remove this plugin.
- Type
array
.spec.resourcesBlockRemove[]
- Description
- ResourceReference defines the resource reference
- Type
object
.spec.targetClusterVersions
- Description
- TargetClusterVersions is the target clusters of the module.
- Type
array
.spec.targetClusterVersions[]
- Type
string
.spec.uiContext
- Description
- UIContext is the additional attributes for module config.
- Type
object
.spec.uiContext.sizeSettings
- Description
- SizeSettings defines a list of size config
- Type
object
.spec.uiContext.sizeSettings.quotaTip
- Description
- QuotaTip is quota tip
- Type
object
.spec.uiContext.sizeSettings.sizes
- Description
- Sizes defines a list of size config
- Type
array
.spec.uiContext.sizeSettings.sizes[]
- Description
- SizeConfig defines a list of components config
- Type
object- Required
componentsdescriptionnamesize
.spec.uiContext.sizeSettings.sizes[].components
- Description
- Components defines a list of component config
- Type
object
.spec.uiContext.sizeSettings.sizes[].description
- Description
- Description defines description for this size config
- Type
object
.spec.uiContext.sizeSettings.sizes[].name
- Description
- Name defines name for this size config
- Type
object
.spec.upgradeBefore
- Description
- UpgradeBefore stands for need upgrade before these mouldes
- Type
array
.spec.upgradeBefore[]
- Description
- ModuleRef defines the reference for the module
- Type
object- Required
moduleName
.spec.upgradeDescriptors
- Description
- UpgradeDescriptors is the descriptors of the module for upgrade.
- Type
array
.spec.upgradeDescriptors[]
- Description
- Descriptors defines OLM descriptors http://confluence.alauda.cn/display/cp/OLM+Descriptor
- Type
object- Required
pathx-descriptors
.spec.upgradeDescriptors[].x-descriptors
- Description
- X-Descriptors is the list of descriptors
- Type
array
.spec.upgradeDescriptors[].x-descriptors[]
- Type
string
.spec.valuesTemplates
- Description
- ValuesTemplates is the values templates of the module.
- Type
object
.status
- Description
- ModuleConfigStatus defines the observed state of ModuleConfig
- Type
object
.status.targetClusterVersions
- Description
- TargetClusterVersions is the target clusters of the module.
- Type
array
.status.targetClusterVersions[]
- Type
string
API Endpoints
The following API endpoints are available:
/apis/cluster.alauda.io/v1alpha1/moduleconfigsDELETE: delete collection of ModuleConfigGET: list objects of kind ModuleConfigPOST: create a new ModuleConfig
/apis/cluster.alauda.io/v1alpha1/moduleconfigs/{name}DELETE: delete the specified ModuleConfigGET: read the specified ModuleConfigPATCH: partially update the specified ModuleConfigPUT: replace the specified ModuleConfig
/apis/cluster.alauda.io/v1alpha1/moduleconfigs/{name}/statusGET: read status of the specified ModuleConfigPATCH: partially update status of the specified ModuleConfigPUT: replace status of the specified ModuleConfig
/apis/cluster.alauda.io/v1alpha1/moduleconfigs
- HTTP method
DELETE- Description
- delete collection of ModuleConfig
- HTTP responses
- HTTP method
GET- Description
- list objects of kind ModuleConfig
- HTTP responses
- HTTP method
POST- Description
- create a new ModuleConfig
- Query parameters
- Body parameters
- HTTP responses
/apis/cluster.alauda.io/v1alpha1/moduleconfigs/{name}
- HTTP method
DELETE- Description
- delete the specified ModuleConfig
- Query parameters
- HTTP responses
- HTTP method
GET- Description
- read the specified ModuleConfig
- HTTP responses
- HTTP method
PATCH- Description
- partially update the specified ModuleConfig
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace the specified ModuleConfig
- Query parameters
- Body parameters
- HTTP responses
/apis/cluster.alauda.io/v1alpha1/moduleconfigs/{name}/status
- HTTP method
GET- Description
- read status of the specified ModuleConfig
- HTTP responses
- HTTP method
PATCH- Description
- partially update status of the specified ModuleConfig
- Query parameters
- HTTP responses
- HTTP method
PUT- Description
- replace status of the specified ModuleConfig
- Query parameters
- Body parameters
- HTTP responses