Add support for RPM customizations, which currently allow to import RPM GPG key from a file installed in the image. This is e.g. done for the Azure RHUI image type. Signed-off-by: Tomáš Hozza <thozza@redhat.com>
10 lines
282 B
Go
10 lines
282 B
Go
package blueprint
|
|
|
|
type RPMImportKeys struct {
|
|
// File paths in the image to import keys from
|
|
Files []string `json:"files,omitempty" toml:"files,omitempty"`
|
|
}
|
|
|
|
type RPMCustomization struct {
|
|
ImportKeys *RPMImportKeys `json:"import_keys,omitempty" toml:"import_keys,omitempty"`
|
|
}
|