CCE.ConfigMap
Element Description
The CCE.ConfigMap element is used to provide basic configuration information storage services for the cluster creation of Huawei CCE. Sensitive information is prohibited in ConfigMap.
Currently, ConfigMap dynamic mounting is not supported.
Element Properties
Property |
Required |
Descripiton |
---|---|---|
k8sManifest |
No |
K8s-native manifest object of the ConfigMap, based on which you can create ConfigMap resources to replace other configuration items Type: dict Value Description: Supports customization. You are not advised to change the name and labels under the metadata during an update. |
name |
No |
ConfigMap name Type: string Value Description: Supports customization, for example, :my-configmap. Default: '' Value Constraint: The value supports a maximum of 63 characters and must start with a letter. Only lowercase letters, digits, and hyphens (-) are allowed. |
clusterId |
No |
ID of the cluster to which the resource belongs Type: HuaweiCloud.CCE.Cluster.Id Value Description: Indicates the ID of an existing or new container cluster. Value Constraint: The value must satisfy the UUID rule and support a maximum of 64 characters. |
namespace |
No |
Namespace in a cluster where a resource is located Type: string Value Description: Must be a valid namespace in the cluster, for example, default. Value Constraint: The value must start with a letter. Only lowercase letters, digits, and hyphens (-) are allowed. |
data |
No |
ConfigMap resource data, consisting of keys and values Type: dict Value Description: Supports customization. |
Relationships Between Elements
Description |
Target |
---|---|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
DependsOn |
|
ContainedIn |
Return Value
Property |
Type |
Description |
---|---|---|
refName |
string |
ConfigMap name |
Blueprint Example
tosca_definitions_version: huaweicloud_tosca_version_1_0 inputs: name: default: my-configmap xx-value: default: abcd yy-value: default: efgh node_templates: configmap: type: HuaweiCloud.CCE.ConfigMap properties: name: {get_input: name} data: xx: {get_input: xx-value} yy: {get_input: yy-value}
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.