Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Add FIPS mode support to Faros #143

Merged
merged 9 commits into from
Jul 1, 2021
Prev Previous commit
Next Next commit
Added FIPS Mode parameter to config.py
  • Loading branch information
hfenner authored Jun 23, 2021
commit e041b576b1bf44a6b997b9f1ac1f4cb656a1b519
3 changes: 2 additions & 1 deletion app/playbooks/config.d/cluster/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ def __init__(self, path, footer, rtr_interfaces):
])
self.cluster = ParameterCollection('cluster', 'Cluster Configuration', [
PasswordParameter('ADMIN_PASSWORD', 'Adminstrator Password'),
PasswordParameter('PULL_SECRET', 'Pull Secret')
PasswordParameter('PULL_SECRET', 'Pull Secret'),
Parameter('FIPS_MODE', 'Fips Mode')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This parameter should be of BooleanParameter type. Also Fips should be FIPS as it is an acronym.

BooleanParameter('FIPS_MODE', 'FIPS Mode', 'False')

Note that False is of string type. This will set the default value to False.

])
self.architecture = ParameterCollection('architecture', 'Host Record Configuration', [
StaticParameter('MGMT_PROVIDER', 'Machine Management Provider', 'ilo'),
Expand Down