Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions test/integration/manifests/cns/daemonset-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@ spec:
args: [ "-c", "tcp://$(CNSIpAddress):$(CNSPort)", "-t", "$(CNSLogTarget)"]
securityContext:
capabilities:
drop:
- ALL
add:
- NET_ADMIN
- NET_ADMIN # only necessary for delegated IPAM/Cilium
- NET_RAW # only necessary for delegated IPAM/Cilium
volumeMounts:
- name: log
mountPath: /var/log
Expand Down Expand Up @@ -89,8 +92,8 @@ spec:
command: ["sleep", "3600"]
securityContext:
capabilities:
add:
- NET_ADMIN
drop:
- ALL
volumeMounts:
- name: log
mountPath: /var/log
Expand Down
4 changes: 4 additions & 0 deletions test/integration/manifests/cns/daemonset-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ spec:
volumeMounts:
- name: cni-bin
mountPath: /k/azurecni/bin/ # TODO: add cni conflist when ready
securityContext:
capabilities:
drop:
- ALL
hostNetwork: true
volumes:
- name: log
Expand Down