summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKubeEdge Bot <48982446+kubeedge-bot@users.noreply.github.com>2023-11-22 11:38:36 +0800
committerGitHub <noreply@github.com>2023-11-22 11:38:36 +0800
commitf1e38891699820177b2bb3c2a200c2f12060cf80 (patch)
tree3d323ef6ff45cf6a18a7c828f99afbc7d31a3878
parentMerge pull request #5183 from ZhengXinwei-F/automated-cherry-pick-of-#5141-up... (diff)
parentremove pid config in copy resource (diff)
downloadkubeedge-f1e38891699820177b2bb3c2a200c2f12060cf80.tar.gz
Merge pull request #5191 from Shelley-BaoYue/automated-cherry-pick-of-#5144-upstream-release-1.15
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 d08f6e249..7ffbd6056 100644
--- a/keadm/cmd/keadm/app/cmd/util/image.go
+++ b/keadm/cmd/keadm/app/cmd/util/image.go
@@ -281,8 +281,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,
},
},
},