Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify ACME configuration migration into KV store #2598

Merged
merged 2 commits into from
Dec 20, 2017

Conversation

nmengin
Copy link
Contributor

@nmengin nmengin commented Dec 20, 2017

What does this PR do?

During Træfik configuration migration (from file to KV store (thanks to the storeconfig subcommand)), ACME configuration is not correctly initialized if storageFile is not provided.
Træfik can not start in this case!

The PR allows initializing correctly all the KV store keys needed by ACME during storeconfig process, even if storageFile is not provided.

The PR allows deleting automatically the key/traefik/acme/storagefile from KV stores when ACME configuration is migrated. This key has to be deleted because :

  • It is deprecated and has no interest if KV store is used.
  • It prevents the ACME challenge mechanism to work correctly.

Motivation

Fixes #927, #2547, #1283, #2581

More

  • Added/updated documentation

Additional Notes

Copy link
Member

@mmatur mmatur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👏

Copy link
Contributor

@ldez ldez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mmatur mmatur added the kind/bug/fix a bug fix label Dec 20, 2017
Copy link
Member

@juliens juliens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants