Skip to content

Commit 808f79d

Browse files
authored
fix: resolve error in certificateVerification for tnf agent (#1804)
fix error where False gets interpreted as Enabled Signed-off-by: ehila <[email protected]>
1 parent 4d1c50d commit 808f79d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/roles/manifests/templates/install-config_baremetal_yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ controlPlane:
3434
address: {{ bmc_addresses[loop.index0] }}
3535
username: {{ bmc_usernames[loop.index0] }}
3636
password: {{ bmc_passwords[loop.index0] }}
37-
certificateVerification: {{ 'Enabled' if bmc_verify_cas[loop.index0] else 'Disabled' }}
37+
certificateVerification: {{ 'Disabled' if bmc_verify_cas[loop.index0] == "False" else 'Enabled' }}
3838
{% endfor %}
3939
{% endif %}
4040
fips: {{ fips_mode }}

0 commit comments

Comments
 (0)