Expose the FIPS blueprint customization

Expose the FIPS blueprint customization through
the cloud API.

Signed-off-by: Miguel Martín <mmartinv@redhat.com>
This commit is contained in:
Miguel Martín 2023-11-16 15:56:30 +01:00 committed by Miguel Martin
parent 3c64edfcb9
commit 98847f7494
4 changed files with 177 additions and 151 deletions

View file

@ -127,6 +127,7 @@ func TestGetBlueprintWithCustomizations(t *testing.T) {
"1.north-america.pool.ntp.org",
}),
},
Fips: &FIPS{Enabled: common.ToPtr(true)},
}}
// Construct the expected blueprint result
@ -227,6 +228,7 @@ func TestGetBlueprintWithCustomizations(t *testing.T) {
"1.north-america.pool.ntp.org",
},
},
FIPS: common.ToPtr(true),
}
bp, err = cr.GetBlueprintWithCustomizations()
require.Nil(t, err)