mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Deprecate pod-infra-container-image kubelet flag (#7409)
Signed-off-by: Derek Nola <derek.nola@suse.com>
This commit is contained in:
parent
144f5ad333
commit
6531fb79b0
@ -112,9 +112,6 @@ func kubeletArgs(cfg *config.Agent) map[string]string {
|
||||
argsMap["container-runtime-endpoint"] = socketPrefix + cfg.RuntimeSocket
|
||||
}
|
||||
}
|
||||
if cfg.PauseImage != "" {
|
||||
argsMap["pod-infra-container-image"] = cfg.PauseImage
|
||||
}
|
||||
if cfg.ImageServiceSocket != "" {
|
||||
if strings.HasPrefix(cfg.ImageServiceSocket, socketPrefix) {
|
||||
argsMap["image-service-endpoint"] = cfg.ImageServiceSocket
|
||||
|
@ -81,9 +81,6 @@ func kubeletArgs(cfg *config.Agent) map[string]string {
|
||||
argsMap["container-runtime-endpoint"] = socketPrefix + cfg.RuntimeSocket
|
||||
}
|
||||
}
|
||||
if cfg.PauseImage != "" {
|
||||
argsMap["pod-infra-container-image"] = cfg.PauseImage
|
||||
}
|
||||
if cfg.ListenAddress != "" {
|
||||
argsMap["address"] = cfg.ListenAddress
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user