non-root
This commit is contained in:
parent
fc69303300
commit
33bf16bb35
@ -69,12 +69,14 @@ spec:
|
|||||||
exposedPort: 9000
|
exposedPort: 9000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
web:
|
web:
|
||||||
port: 80
|
port: 8080
|
||||||
|
exposedPort: 80
|
||||||
expose: false
|
expose: false
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
redirectTo: websecure
|
redirectTo: websecure
|
||||||
websecure:
|
websecure:
|
||||||
port: 443
|
port: 4443
|
||||||
|
exposedPort: 443
|
||||||
expose: false
|
expose: false
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
tls:
|
tls:
|
||||||
@ -102,7 +104,7 @@ spec:
|
|||||||
#Related issue: https://github.com/traefik/traefik/issues/6825
|
#Related issue: https://github.com/traefik/traefik/issues/6825
|
||||||
- name: volume-permissions
|
- name: volume-permissions
|
||||||
image: busybox:1.35
|
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:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
|
Loading…
Reference in New Issue
Block a user