Run Calico containers as unprivileged
These changes aim to remove blanket privileges from Calico and replace them with the default pod privileges granted by Docker plus the few extended privileges that Calico needs Change-Id: I1342ef02086877bc69f752403a33278c9670ed86
This commit is contained in:
parent
85c204fee8
commit
200b5e902b
@ -343,7 +343,10 @@ spec:
|
||||
fieldPath: spec.nodeName
|
||||
|
||||
securityContext:
|
||||
privileged: true
|
||||
capabilities:
|
||||
add:
|
||||
- 'NET_ADMIN'
|
||||
- 'SYS_ADMIN'
|
||||
resources:
|
||||
requests:
|
||||
cpu: 250m
|
||||
|
Loading…
Reference in New Issue
Block a user