CCI.ConfigMap
Element Description
The CCI.ConfigMap element is used to create a configMap.
Element Properties
Property |
Required |
Descripiton |
---|---|---|
k8sManifest |
Yes |
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. |
namespace |
Yes |
Namespace in a cluster where a resource is located Type: HuaweiCloud.CCI.Namespace.Name 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. |
Relationships Between Elements
Description |
Target |
---|---|
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: namespace: description: ns node_templates: ccei4xws: type: HuaweiCloud.CCI.ConfigMap properties: k8sManifest: apiVersion: v1 data: property_1: test kind: ConfigMap metadata: name: configmap-test1 namespace: get_input: namespace
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.