Skip to content

Commit

Permalink
fix: add missing cap
Browse files Browse the repository at this point in the history
  • Loading branch information
oilbeater committed Nov 18, 2019
1 parent be6a929 commit 4014416
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion yamls/kube-ovn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ spec:
- --enable-mirror=true
securityContext:
capabilities:
add: ["NET_ADMIN", "SYS_ADMIN"]
add: ["NET_ADMIN", "SYS_ADMIN", "SYS_PTRACE"]
env:
- name: POD_IP
valueFrom:
Expand Down
2 changes: 1 addition & 1 deletion yamls/ovn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ spec:
imagePullPolicy: Always
securityContext:
capabilities:
add: ["NET_ADMIN", "SYS_MODULE"]
add: ["NET_ADMIN", "SYS_MODULE", "SYS_NICE"]
env:
- name: POD_IP
valueFrom:
Expand Down

0 comments on commit 4014416

Please sign in to comment.