Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #2667 from jcpowermac/issue-2634
Add fips for bootstrap node; template ign machine config encap
  • Loading branch information
openshift-merge-robot committed Nov 20, 2019
2 parents d181bf9 + 57472b2 commit e9b4862
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
@@ -0,0 +1,14 @@
{
"metadata": {
"name": "bootstrap-fips"
},
"spec": {
"config": {
"ignition": {
"version": "2.2.0"
}
},
"kernelArguments": [],
"fips": {{ .FIPS }}
}
}
2 changes: 2 additions & 0 deletions pkg/asset/ignition/bootstrap/bootstrap.go
Expand Up @@ -42,6 +42,7 @@ const (
// template files.
type bootstrapTemplateData struct {
AdditionalTrustBundle string
FIPS bool
EtcdCluster string
PullSecret string
ReleaseImage string
Expand Down Expand Up @@ -223,6 +224,7 @@ func (a *Bootstrap) getTemplateData(installConfig *types.InstallConfig, releaseI

return &bootstrapTemplateData{
AdditionalTrustBundle: installConfig.AdditionalTrustBundle,
FIPS: installConfig.FIPS,
PullSecret: installConfig.PullSecret,
ReleaseImage: releaseImage,
EtcdCluster: strings.Join(etcdEndpoints, ","),
Expand Down

0 comments on commit e9b4862

Please sign in to comment.