non-root
This commit is contained in:
parent
fc69303300
commit
33bf16bb35
@ -69,12 +69,14 @@ spec:
|
||||
exposedPort: 9000
|
||||
protocol: TCP
|
||||
web:
|
||||
port: 80
|
||||
port: 8080
|
||||
exposedPort: 80
|
||||
expose: false
|
||||
protocol: TCP
|
||||
redirectTo: websecure
|
||||
websecure:
|
||||
port: 443
|
||||
port: 4443
|
||||
exposedPort: 443
|
||||
expose: false
|
||||
protocol: TCP
|
||||
tls:
|
||||
@ -102,7 +104,7 @@ spec:
|
||||
#Related issue: https://github.com/traefik/traefik/issues/6825
|
||||
- name: volume-permissions
|
||||
image: busybox:1.35
|
||||
command: ["sh", "-c", "touch /data/acme.json && chmod -Rv 600 /data/* && chown 0:0 /data/acme.json"]
|
||||
command: ["sh", "-c", "touch /data/acme.json && chmod -Rv 600 /data/* && chown 65532:65532 /data/acme.json"]
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /data
|
||||
|
Loading…
Reference in New Issue
Block a user