blueprint: add cacert customization
This commit is contained in:
parent
f41c764ca7
commit
d531f62488
13 changed files with 273 additions and 191 deletions
|
|
@ -1015,6 +1015,12 @@ func (request *ComposeRequest) GetBlueprintFromCustomizations() (blueprint.Bluep
|
|||
bp.Customizations.RHSM = bpRhsm
|
||||
}
|
||||
|
||||
if cacerts := request.Customizations.Cacerts; cacerts != nil {
|
||||
bp.Customizations.CACerts = &blueprint.CACustomization{
|
||||
PEMCerts: cacerts.PemCerts,
|
||||
}
|
||||
}
|
||||
|
||||
// Did bp.Customizations get set at all? If not, set it back to nil
|
||||
if reflect.DeepEqual(*bp.Customizations, blueprint.Customizations{}) {
|
||||
bp.Customizations = nil
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue