File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 11package fips
22
33import (
4+ "github.com/coreos/coreos-assembler/mantle/kola"
45 "github.com/coreos/coreos-assembler/mantle/kola/cluster"
56 "github.com/coreos/coreos-assembler/mantle/kola/register"
67 "github.com/coreos/coreos-assembler/mantle/platform/conf"
78)
89
910func init () {
10- // Minimal test case to test FIPS enabling at first boot
11+ // Minimal test case to test FIPS enabling at first boot.
12+ // Also tests that using TLS works in FIPS mode by having Ignition
13+ // fetch a remote resource to make sure [1] doesn't happen again.
14+ // [1] https://issues.redhat.com/browse/OCPBUGS-65684
1115 register .RegisterTest (& register.Test {
1216 Run : fipsEnableTest ,
1317 ClusterSize : 1 ,
1418 Name : `fips.enable` ,
1519 Description : "Verify that fips enabled works." ,
1620 Flags : []register.Flag {},
21+ Tags : []string {kola .NeedsInternetTag },
1722 Distros : []string {"rhcos" },
1823 UserData : conf .Ignition (`{
1924 "ignition": {
@@ -46,6 +51,12 @@ func init() {
4651 "verification": {}
4752 },
4853 "mode": 420
54+ },
55+ {
56+ "path": "/var/resource/https",
57+ "contents": {
58+ "source": "https://ignition-test-fixtures.s3.amazonaws.com/resources/anonymous"
59+ }
4960 }
5061 ]
5162 }
You can’t perform that action at this time.
0 commit comments