Comment 2 for bug 1940042

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/c/starlingx/config/+/804526
Committed: https://opendev.org/starlingx/config/commit/b3fcf880e9d39bac3dd7503fb92a531b88ced4ff
Submitter: "Zuul (22348)"
Branch: master

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>