fix: run haproxy as root to bind port 443
This commit is contained in:
@@ -58,8 +58,7 @@ spec:
|
|||||||
- name: registry-proxy
|
- name: registry-proxy
|
||||||
image: haproxy:alpine
|
image: haproxy:alpine
|
||||||
securityContext:
|
securityContext:
|
||||||
capabilities:
|
runAsUser: 0
|
||||||
add: ["NET_BIND_SERVICE"]
|
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 10m
|
cpu: 10m
|
||||||
|
|||||||
Reference in New Issue
Block a user