commit b3fcf880e9d39bac3dd7503fb92a531b88ced4ff
Author: Daniel Safta <email address hidden>
Date: Fri Aug 13 10:23:18 2021 +0000
Updated hieradata with label value
platform::kubernetes::params::host_labels
in hieradata contains all the labels assigned
for a node but does not contain the values
for that keys.
Some label values are needed in the kubernetes
puppet code, e.g :
('openstack-compute-node' in $host_labels) will
not check if the key openstack-compute-node has
the value enabled or disabled.
This commit fixes the bug by also providing access
to the values in the hieradata.
Partial-bug: 1940042
Change-Id: Iefbcb1cde7db27250d9a3629472810d20f208248
Signed-off-by: Daniel Safta <email address hidden>
Reviewed: https:/ /review. opendev. org/c/starlingx /config/ +/804526 /opendev. org/starlingx/ config/ commit/ b3fcf880e9d39ba c3dd7503fb92a53 1b88ced4ff
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit b3fcf880e9d39ba c3dd7503fb92a53 1b88ced4ff
Author: Daniel Safta <email address hidden>
Date: Fri Aug 13 10:23:18 2021 +0000
Updated hieradata with label value
platform: :kubernetes: :params: :host_labels
in hieradata contains all the labels assigned
for a node but does not contain the values
for that keys.
Some label values are needed in the kubernetes -compute- node' in $host_labels) will compute- node has
puppet code, e.g :
('openstack
not check if the key openstack-
the value enabled or disabled.
This commit fixes the bug by also providing access
to the values in the hieradata.
Partial-bug: 1940042 250d9a362947281 0d20f208248
Change-Id: Iefbcb1cde7db27
Signed-off-by: Daniel Safta <email address hidden>