internal: update firewall stage to allow zones
Updates firewall stage customizations to allow zones as per the changes made on osbuild/osbuild#1157 Relevant tests and pipelines for rhel8+9 updated. Signed-off-by: Irene Diez <idiez@redhat.com>
This commit is contained in:
parent
80a6b1bd23
commit
6cb8216f09
6 changed files with 47 additions and 23 deletions
|
|
@ -74,11 +74,11 @@ type LocaleCustomization struct {
|
|||
type FirewallCustomization struct {
|
||||
Ports []string `json:"ports,omitempty" toml:"ports,omitempty"`
|
||||
Services *FirewallServicesCustomization `json:"services,omitempty" toml:"services,omitempty"`
|
||||
Sources []FirewallSourceCustomization `json:"sources,omitempty" toml:"sources,omitempty"`
|
||||
Zones []FirewallZoneCustomization `json:"zones,omitempty" toml:"zones,omitempty"`
|
||||
}
|
||||
|
||||
type FirewallSourceCustomization struct {
|
||||
Zone string `json:"zone,omitempty" toml:"zone,omitempty"`
|
||||
type FirewallZoneCustomization struct {
|
||||
Name *string `json:"name,omitempty" toml:"name,omitempty"`
|
||||
Sources []string `json:"sources,omitempty" toml:"sources,omitempty"`
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue