[bugfix] certificates lost after system reboot
This commit is contained in:
parent
534225c135
commit
527f52b179
|
@ -54,7 +54,7 @@ spec:
|
|||
- --providers.kubernetescrd
|
||||
- --certificatesresolvers.myresolver.acme.tlschallenge
|
||||
- --certificatesresolvers.myresolver.acme.email=EMAIL
|
||||
- --certificatesresolvers.myresolver.acme.storage=acme.json
|
||||
- --certificatesresolvers.myresolver.acme.storage=/data/acme.json
|
||||
ports:
|
||||
- name: web
|
||||
containerPort: 80
|
||||
|
@ -62,3 +62,11 @@ spec:
|
|||
containerPort: 443
|
||||
- name: admin
|
||||
containerPort: 8080
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /data
|
||||
volumes:
|
||||
- name: data
|
||||
hostPath:
|
||||
path: /data/traefik
|
||||
type: DirectoryOrCreate
|
||||
|
|
Loading…
Reference in New Issue
Block a user