init go brr
This commit is contained in:
parent
59b636421c
commit
3338618a2b
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user