Remove deprecated --seccomp-profile-root/seccompProfileRoot configuration

The configuration is deprecated and targets removal for v1.23. Tests
cases have been changed as well.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
This commit is contained in:
Sascha Grunert
2021-07-27 14:22:05 +02:00
parent 1a845ccd07
commit 46077e6be7
6 changed files with 37 additions and 40 deletions

View File

@@ -374,7 +374,6 @@ func NewMainKubelet(kubeCfg *kubeletconfiginternal.KubeletConfiguration,
registerSchedulable bool,
keepTerminatedPodVolumes bool,
nodeLabels map[string]string,
seccompProfileRoot string,
nodeStatusMaxImages int32,
seccompDefault bool,
) (*Kubelet, error) {
@@ -665,7 +664,7 @@ func NewMainKubelet(kubeCfg *kubeletconfiginternal.KubeletConfiguration,
klet.livenessManager,
klet.readinessManager,
klet.startupManager,
seccompProfileRoot,
rootDirectory,
machineInfo,
klet.podWorkers,
kubeDeps.OSInterface,