Skip to content

Commit

Permalink
Add NET_BIND_SERVICE capability to Consul's restricted securityContext
Browse files Browse the repository at this point in the history
  • Loading branch information
nathancoleman committed Aug 17, 2023
1 parent 5b9cd46 commit cf95d32
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/consul/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ securityContext:
capabilities:
drop:
- ALL
add:
- NET_BIND_SERVICE
runAsNonRoot: true
seccompProfile:
type: RuntimeDefault
Expand Down

0 comments on commit cf95d32

Please sign in to comment.