Skip to content

Commit

Permalink
add sysctl net.ipv4.ip_unprivileged_port_start 53
Browse files Browse the repository at this point in the history
Signed-off-by: Paco Xu <paco.xu@daocloud.io>
  • Loading branch information
pacoxu committed Aug 6, 2024
1 parent 42bd58d commit caaa816
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions charts/coredns/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,10 @@ isClusterService: true
priorityClassName: ""

# Configure the pod level securityContext.
podSecurityContext: {}

podSecurityContext:
sysctls:
- name: net.ipv4.ip_unprivileged_port_start
value: "53"
# Configure SecurityContext for Pod.
# Ensure that required linux capability to bind port number below 1024 is assigned (`CAP_NET_BIND_SERVICE`).
securityContext:
Expand Down

0 comments on commit caaa816

Please sign in to comment.