Add securitycontext
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adrien Reslinger 2020-07-13 11:17:52 +02:00
parent 69597550b5
commit 9a709951a1
2 changed files with 12 additions and 0 deletions

View file

@ -56,6 +56,12 @@ spec:
periodSeconds: 10 periodSeconds: 10
successThreshold: 1 successThreshold: 1
timeoutSeconds: 2 timeoutSeconds: 2
securityContext:
capabilities:
drop:
- ALL
add:
- NET_BIND_SERVICE
resources: resources:
limits: limits:
cpu: {{ traefik_cpu_limit }} cpu: {{ traefik_cpu_limit }}

View file

@ -56,6 +56,12 @@ spec:
periodSeconds: 10 periodSeconds: 10
successThreshold: 1 successThreshold: 1
timeoutSeconds: 2 timeoutSeconds: 2
securityContext:
capabilities:
drop:
- ALL
add:
- NET_BIND_SERVICE
resources: resources:
limits: limits:
cpu: {{ traefik_cpu_limit }} cpu: {{ traefik_cpu_limit }}