summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKubeEdge Bot <48982446+kubeedge-bot@users.noreply.github.com>2023-11-22 11:18:36 +0800
committerGitHub <noreply@github.com>2023-11-22 11:18:36 +0800
commite8d3765555b8f7c86c7c57e9728a2d90f1689072 (patch)
tree50d4df1bdfe081d267e8aea2e6c30257a42f7481
parentMerge pull request #5184 from ZhengXinwei-F/automated-cherry-pick-of-#5141-up... (diff)
parentremove pid config in copy resource (diff)
downloadkubeedge-e8d3765555b8f7c86c7c57e9728a2d90f1689072.tar.gz
Merge pull request #5192 from Shelley-BaoYue/automated-cherry-pick-of-#5144-upstream-release-1.14
Automated cherry pick of #5144: remove pid config in copy resource
-rw-r--r--keadm/cmd/keadm/app/cmd/util/image.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/keadm/cmd/keadm/app/cmd/util/image.go b/keadm/cmd/keadm/app/cmd/util/image.go
index 4f6f204ce..66a8ee4a4 100644
--- a/keadm/cmd/keadm/app/cmd/util/image.go
+++ b/keadm/cmd/keadm/app/cmd/util/image.go
@@ -278,8 +278,6 @@ func (runtime *CRIRuntime) CopyResources(edgeImage string, files map[string]stri
SecurityContext: &runtimeapi.LinuxSandboxSecurityContext{
NamespaceOptions: &runtimeapi.NamespaceOption{
Network: runtimeapi.NamespaceMode_POD,
- Pid: runtimeapi.NamespaceMode_CONTAINER,
- Ipc: runtimeapi.NamespaceMode_POD,
},
},
},