Skip to content

Commit

Permalink
removed NET_BIND_SERVICE from pod security context in all places
Browse files Browse the repository at this point in the history
  • Loading branch information
dariuszSki committed Nov 18, 2024
1 parent 6d617b9 commit 360e0d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ All notable changes to this project will be documented in this file. The format

```shell
Capabilities: &corev1.Capabilities{
Add: []corev1.Capability{"NET_ADMIN", "NET_BIND_SERVICE"},
Add: []corev1.Capability{"NET_ADMIN"},
Drop: []corev1.Capability{"ALL"},
},
RunAsUser: &rootUser, (deafault = true)
Expand Down
2 changes: 1 addition & 1 deletion ziti-agent/cmd/webhook/pods.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func zitiTunnel(ar admissionv1.AdmissionReview) *admissionv1.AdmissionResponse {

sidecarSecurityContext = &corev1.SecurityContext{
Capabilities: &corev1.Capabilities{
Add: []corev1.Capability{"NET_ADMIN", "NET_BIND_SERVICE"},
Add: []corev1.Capability{"NET_ADMIN"},
Drop: []corev1.Capability{"ALL"},
},
RunAsUser: &rootUser,
Expand Down

0 comments on commit 360e0d3

Please sign in to comment.