Skip to content

Commit

Permalink
Merge pull request #313 from k8stopologyawareschedwg/add_UpdaterCusto…
Browse files Browse the repository at this point in the history
…mSELinuxPolicy_flag

deployer:flags: `UpdaterCustomSELinuxPolicy`
  • Loading branch information
ffromani authored Aug 22, 2024
2 parents 444b56f + 6aec6fd commit 26dd242
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkg/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ func InitFlags(flags *pflag.FlagSet, commonOpts *options.Options, internalOpts *
flags.BoolVar(&commonOpts.UpdaterPFPEnable, "updater-pfp-enable", true, "toggle PFP support on the updater side.")
flags.BoolVar(&commonOpts.UpdaterNotifEnable, "updater-notif-enable", true, "toggle event-based notification support on the updater side.")
flags.BoolVar(&commonOpts.UpdaterCRIHooksEnable, "updater-cri-hooks-enable", true, "toggle installation of CRI hooks on the updater side.")
flags.BoolVar(&commonOpts.UpdaterCustomSELinuxPolicy, "updater-custom-selinux-policy", false, "toggle installation of selinux policy on the updater side. off by default")
flags.DurationVar(&commonOpts.UpdaterSyncPeriod, "updater-sync-period", manifests.DefaultUpdaterSyncPeriod, "tune the updater synchronization (nrt update) interval. Use 0 to disable.")
flags.IntVar(&commonOpts.UpdaterVerbose, "updater-verbose", manifests.DefaultUpdaterVerbose, "set the updater verbosiness.")
flags.StringVar(&commonOpts.SchedProfileName, "sched-profile-name", schedmanifests.DefaultProfileName, "inject scheduler profile name.")
Expand Down
2 changes: 1 addition & 1 deletion pkg/manifests/manifests_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ package manifests

import (
"encoding/json"
selinuxassets "github.com/k8stopologyawareschedwg/deployer/pkg/assets/selinux"
"testing"

igntypes "github.com/coreos/ignition/v2/config/v3_2/types"
"k8s.io/klog/v2"

selinuxassets "github.com/k8stopologyawareschedwg/deployer/pkg/assets/selinux"
"github.com/k8stopologyawareschedwg/deployer/pkg/deployer/platform"
)

Expand Down

0 comments on commit 26dd242

Please sign in to comment.