Skip to content

Commit

Permalink
fcos/v1_6_exp: Add SElinuxModule
Browse files Browse the repository at this point in the history
  • Loading branch information
yasminvalim committed Oct 2, 2023
1 parent 0a1b18e commit 6fc2da9
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions config/fcos/v1_6_exp/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ import (
)

type Config struct {
base.Config `yaml:",inline"`
BootDevice BootDevice `yaml:"boot_device"`
Grub Grub `yaml:"grub"`
base.Config `yaml:",inline"`
BootDevice BootDevice `yaml:"boot_device"`
Grub Grub `yaml:"grub"`
SelinuxModule SelinuxModule `yaml:"selinux_module"`
}

type BootDevice struct {
Expand Down Expand Up @@ -49,3 +50,8 @@ type GrubUser struct {
Name string `yaml:"name"`
PasswordHash *string `yaml:"password_hash"`
}

type SelinuxModule struct {
Contents []base.Resource `yaml:"content"`
Path base.File `yaml:"path"`
}

0 comments on commit 6fc2da9

Please sign in to comment.