Skip to content

Commit

Permalink
Merge pull request openshift#1626 from hardys/local_ignition_fix
Browse files Browse the repository at this point in the history
Fix additionalTrustBundle with local ignition provider
  • Loading branch information
openshift-merge-robot authored Jul 28, 2022
2 parents 8e82b88 + 302aed5 commit 1cb59dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ignition-server/controllers/local_ignitionprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,9 @@ func (p *LocalIgnitionProvider) GetPayload(ctx context.Context, releaseImage str
if image, exists := images["mdns-publisher"]; exists {
args = append(args, fmt.Sprintf("--mdns-publisher-image=%s", image))
}
if mcsConfig.Data["user-ca-bundle-config.yaml"] != "" {
args = append(args, fmt.Sprintf("--additional-trust-bundle-config-file=%s/user-ca-bundle-config.yaml", configDir))
}
if p.CloudProvider == hyperv1.AzurePlatform {
args = append(args, fmt.Sprintf("--cloud-config-file=%s/cloud.conf.configmap.yaml", mcoBaseDir))
}
Expand Down

0 comments on commit 1cb59dd

Please sign in to comment.