Comments (4)
Yeah but then I would have to reimplement parsing the acme.json
which I kinda don't wanna do. Because then I could just write my own cert dump at that time. This is not a bug report but a feature request/suggestion to make this more helpful. Currently I don't have any cleaning turned on as I don't expect many of my domains to be shutdown anytime soon. But this could be helpful for me (and others probably as well) in the future.
from traefik-certs-dumper.
Hello,
I think that you are looking for --clean
: https://github.com/ldez/traefik-certs-dumper/blob/master/docs/traefik-certs-dumper_file.md#options-inherited-from-parent-commands
from traefik-certs-dumper.
@ldez No I am talking exactly about changing the behaviour of clean
(as that is turned on by default anyways) or adding an additional clean mode.
Currently
With the --clean
and --domain-subdir
flags turned on
- It deletes all folders and files inside the certificate directory
- It recreates new folders and certificate files for each entry in
acme.json
Expected
With the --clean
and --domain-subdir
flags turned on
- Overwrite existing files with the new data from
acme.json
potentially creating new folders as well - Delete all old files/folders that are no longer listed in
acme.json
Why
This way if you mount an individual domain folder that still exists the folder mount still exists and docker is not getting confused because the mounted folder all the sudden disappears for a bit.
from traefik-certs-dumper.
You can use --clean=false
and the post hook.
from traefik-certs-dumper.
Related Issues (20)
- filename of wildcard certificates with single quotes with docker HOT 8
- Dependabot can't parse your go.mod
- csr? HOT 1
- Nothing happens when I run this via docker-compose
- After dump of certificates is there anyway to have script change either owner (chown) and/or mode (chmod)? HOT 4
- Example fails, when you have more than one certresolver configured HOT 4
- Add support for other certificate file standards HOT 10
- output folders empty
- Empty directories after running file command HOT 1
- acme.json unexpected EOF HOT 4
- Exporting sans wildcard cert into a file name, replacing star (*). HOT 3
- Docker issue with certain flags HOT 24
- Crypto Go :we are a research group to help developers build secure applications.
- make domain name as crt-name and key-name HOT 5
- I'm having difficulty converting the entrypoint compose for docker run ( GUI of unraid) HOT 7
- Add jq during build of the docker image
- Unknown Operand HOT 1
- Possible to export a subdomain from a wildcard domain? HOT 2
- SANS in acme.json vs SANS in dumped certificate HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from traefik-certs-dumper.