Skip to content

Commit 2c07370

Browse files
authored
cni-server: partially revert #5973 to enable hostPID (#6087)
hostPID must be enabled to access /proc/<PID>/ns/net Signed-off-by: zhangzujian <zhangzujian.7@gmail.com>
1 parent d2409e4 commit 2c07370

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

charts/kube-ovn-v2/templates/agent/agent-daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ spec:
4444
serviceAccountName: kube-ovn-cni
4545
automountServiceAccountToken: true
4646
hostNetwork: true
47-
hostPID: false
47+
hostPID: true
4848
securityContext:
4949
seccompProfile:
5050
type: RuntimeDefault

charts/kube-ovn/templates/ovncni-ds.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ spec:
2828
serviceAccountName: kube-ovn-cni
2929
automountServiceAccountToken: true
3030
hostNetwork: true
31-
hostPID: false
31+
hostPID: true
3232
securityContext:
3333
seccompProfile:
3434
type: RuntimeDefault

dist/images/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4991,7 +4991,7 @@ spec:
49914991
serviceAccountName: kube-ovn-cni
49924992
automountServiceAccountToken: true
49934993
hostNetwork: true
4994-
hostPID: false
4994+
hostPID: true
49954995
securityContext:
49964996
seccompProfile:
49974997
type: RuntimeDefault

0 commit comments

Comments
 (0)