Update to handle gandiv5 personal access tokens #49
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "gabi/traefik:gandiv5"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Added ability to use gandiv5 personal access tokens for wildcard DNS letsencrypt provider
Removed env variable setting from custom entrypoint because it is handled in the traefik container already. Likely this could be done for the other providers as well, i.e. digital ocean and OVH.
Testing: deployed on my hetzner server, no errors shown. have tested similar configuration with bare docker-compose set-up. unsure if classic GANDIV5_API_KEY works anymore, but it should probably be removed because afaict there's no way to get gandi to generate a new API key (although i may be missing it somewhere)
Looking good, thanks for picking this up!
@ -0,0 +10,4 @@
- gandiv5_personal_access_token
secrets:
gandiv5_personal_access_token:
I'd recommended making this much shorter to avoid errors when people have long domain names (
${STACK_NAME}
), see https://docs.coopcloud.tech/maintainers/handbook/#r015-long-secret-names for more.Gotcha -- I initially had it shorter, but made it longer for consistency and to match the official traefik containers env naming as documented here: https://go-acme.github.io/lego/dns/gandiv5/
I didn't realize there was a character limit though, thanks so much for flagging! Will take a pass with a shorter name -- it may not pass through transparently into the container, so will probably have to map at some point, but will update when i get a chance to plumb it through :)
Okay, actually that was super easy, didn't realize it was just the secret name when i responded last :)
Seems to be working on my test instance, but would appreciate a confirmation before merging in if you have time to test. As far as I can tell, should be good to go though
👏
WIP: Update to handle gandiv5 personal access tokensto Update to handle gandiv5 personal access tokens