mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-21 01:50:55 +00:00
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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user