Skip to content

Commit

Permalink
Add NET_RAW capability to support cri-o
Browse files Browse the repository at this point in the history
Solves:
coreos#1300
  • Loading branch information
kubealex authored Jul 24, 2020
1 parent 6cd8b16 commit 221a83c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Documentation/kube-flannel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
allowPrivilegeEscalation: false
defaultAllowPrivilegeEscalation: false
# Capabilities
allowedCapabilities: ['NET_ADMIN']
allowedCapabilities: ['NET_ADMIN', 'NET_RAW']
defaultAddCapabilities: []
requiredDropCapabilities: []
# Host namespaces
Expand Down Expand Up @@ -199,7 +199,7 @@ spec:
securityContext:
privileged: false
capabilities:
add: ["NET_ADMIN"]
add: ["NET_ADMIN", "NET_RAW"]
env:
- name: POD_NAME
valueFrom:
Expand Down Expand Up @@ -293,7 +293,7 @@ spec:
securityContext:
privileged: false
capabilities:
add: ["NET_ADMIN"]
add: ["NET_ADMIN", "NET_RAW"]
env:
- name: POD_NAME
valueFrom:
Expand Down Expand Up @@ -387,7 +387,7 @@ spec:
securityContext:
privileged: false
capabilities:
add: ["NET_ADMIN"]
add: ["NET_ADMIN", "NET_RAW"]
env:
- name: POD_NAME
valueFrom:
Expand Down Expand Up @@ -481,7 +481,7 @@ spec:
securityContext:
privileged: false
capabilities:
add: ["NET_ADMIN"]
add: ["NET_ADMIN", "NET_RAW"]
env:
- name: POD_NAME
valueFrom:
Expand Down Expand Up @@ -575,7 +575,7 @@ spec:
securityContext:
privileged: false
capabilities:
add: ["NET_ADMIN"]
add: ["NET_ADMIN", "NET_RAW"]
env:
- name: POD_NAME
valueFrom:
Expand Down

0 comments on commit 221a83c

Please sign in to comment.