diff --git a/pkg/commands/deploy.go b/pkg/commands/deploy.go index ef7e7299..cc75c0e2 100644 --- a/pkg/commands/deploy.go +++ b/pkg/commands/deploy.go @@ -145,12 +145,13 @@ func NewDeployTopologyUpdaterCommand(env *deployer.Environment, commonOpts *opti env.Log.V(3).Info("detection", "platform", commonOpts.ClusterPlatform, "reason", reason, "version", commonOpts.ClusterVersion, "source", source) return updaters.Deploy(env, commonOpts.UpdaterType, options.Updater{ - Platform: commonOpts.ClusterPlatform, - PlatformVersion: commonOpts.ClusterVersion, - WaitCompletion: commonOpts.WaitCompletion, - RTEConfigData: commonOpts.RTEConfigData, - DaemonSet: options.ForDaemonSet(commonOpts), - EnableCRIHooks: commonOpts.UpdaterCRIHooksEnable, + Platform: commonOpts.ClusterPlatform, + PlatformVersion: commonOpts.ClusterVersion, + WaitCompletion: commonOpts.WaitCompletion, + RTEConfigData: commonOpts.RTEConfigData, + DaemonSet: options.ForDaemonSet(commonOpts), + EnableCRIHooks: commonOpts.UpdaterCRIHooksEnable, + CustomSELinuxPolicy: commonOpts.UpdaterCustomSELinuxPolicy, }) }, Args: cobra.NoArgs, diff --git a/pkg/commands/remove.go b/pkg/commands/remove.go index 49e8e258..bae2ee8a 100644 --- a/pkg/commands/remove.go +++ b/pkg/commands/remove.go @@ -201,12 +201,13 @@ func NewRemoveTopologyUpdaterCommand(env *deployer.Environment, commonOpts *opti env.Log.V(3).Info("detection", "platform", commonOpts.ClusterPlatform, "reason", reason, "version", commonOpts.ClusterVersion, "source", source) return updaters.Remove(env, commonOpts.UpdaterType, options.Updater{ - Platform: commonOpts.ClusterPlatform, - PlatformVersion: commonOpts.ClusterVersion, - WaitCompletion: commonOpts.WaitCompletion, - RTEConfigData: commonOpts.RTEConfigData, - DaemonSet: options.ForDaemonSet(commonOpts), - EnableCRIHooks: commonOpts.UpdaterCRIHooksEnable, + Platform: commonOpts.ClusterPlatform, + PlatformVersion: commonOpts.ClusterVersion, + WaitCompletion: commonOpts.WaitCompletion, + RTEConfigData: commonOpts.RTEConfigData, + DaemonSet: options.ForDaemonSet(commonOpts), + EnableCRIHooks: commonOpts.UpdaterCRIHooksEnable, + CustomSELinuxPolicy: commonOpts.UpdaterCustomSELinuxPolicy, }) }, Args: cobra.NoArgs, diff --git a/pkg/deploy/cluster.go b/pkg/deploy/cluster.go index 1d8a0e9c..05a4164d 100644 --- a/pkg/deploy/cluster.go +++ b/pkg/deploy/cluster.go @@ -51,12 +51,13 @@ func OnCluster(env *deployer.Environment, commonOpts *options.Options) error { return err } if err := updaters.Deploy(env, commonOpts.UpdaterType, options.Updater{ - Platform: commonOpts.ClusterPlatform, - PlatformVersion: commonOpts.ClusterVersion, - WaitCompletion: commonOpts.WaitCompletion, - RTEConfigData: commonOpts.RTEConfigData, - DaemonSet: options.ForDaemonSet(commonOpts), - EnableCRIHooks: commonOpts.UpdaterCRIHooksEnable, + Platform: commonOpts.ClusterPlatform, + PlatformVersion: commonOpts.ClusterVersion, + WaitCompletion: commonOpts.WaitCompletion, + RTEConfigData: commonOpts.RTEConfigData, + DaemonSet: options.ForDaemonSet(commonOpts), + EnableCRIHooks: commonOpts.UpdaterCRIHooksEnable, + CustomSELinuxPolicy: commonOpts.UpdaterCustomSELinuxPolicy, }); err != nil { return err }