Browse Source

Add GlobalConfigExtraMapData

Adds a new GlobalConfigExtraMapData parameter that can be used to inject
global_config_settings hieradata into the deployment. Any values generated
in the stack will override those passed in by the parameter value.

This will be used for the distributed compute node when deploying with separate
stacks and data from the control plane stack needs to be injected into the
compute stack.

Change-Id: Id3e52e272bae67ee4036c81b3d7640255e0349ae
James Slagle 2 months ago
parent
commit
2634ffaa5d

+ 6
- 0
overcloud.j2.yaml View File

@@ -238,6 +238,11 @@ parameters:
238 238
     description: >
239 239
       List of server hostnames to blacklist from any triggered deployments.
240 240
 
241
+  GlobalConfigExtraMapData:
242
+    type: json
243
+    default: {}
244
+    description: Map of extra global_config_settings data to set on each node.
245
+
241 246
 {% for role in roles %}
242 247
 {%- if role.deprecated_param_scheduler_hints is defined or role.deprecated_param_extraconfig is defined %}
243 248
 {%- if not parameter_groups_defined|default(false) %}
@@ -449,6 +454,7 @@ resources:
449 454
       type: json
450 455
       value:
451 456
         map_merge:
457
+          - get_param: GlobalConfigExtraMapData
452 458
           - get_attr: [{{role.name}}ServiceChainRoleData, value, config_settings]
453 459
           {% for r in roles %}
454 460
           - get_attr: [{{r.name}}ServiceChainRoleData, value, global_config_settings]

+ 5
- 0
releasenotes/notes/add-GlobalConfigExtraMapData-793757a2b767abe3.yaml View File

@@ -0,0 +1,5 @@
1
+---
2
+features:
3
+  - Adds a new GlobalConfigExtraMapData parameter that can be used to inject
4
+    global_config_settings hieradata into the deployment. Any values generated
5
+    in the stack will override those passed in by the parameter value.

Loading…
Cancel
Save