init go brr

This commit is contained in:
Simen Røstvik 2022-11-15 13:54:19 +01:00
parent 59b636421c
commit 3338618a2b

View File

@ -69,6 +69,7 @@ spec:
port: 80 port: 80
expose: false expose: false
protocol: TCP protocol: TCP
redirectTo: websecure
websecure: websecure:
port: 443 port: 443
expose: false expose: false
@ -92,6 +93,17 @@ spec:
enabled: true enabled: true
type: NodePort type: NodePort
deployment:
initContainers:
#The "volume-permissions" init container is required if you run into permission issues.
#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"]
volumeMounts:
- name: data
mountPath: /data
certResolvers: certResolvers:
cloudflare: cloudflare:
email: me@roxedus.dev email: me@roxedus.dev