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

Clear issuer account URL if the directory and account URL's hosts differ #1230

Merged
merged 1 commit into from
Jan 17, 2019

Conversation

munnerz
Copy link
Member

@munnerz munnerz commented Jan 17, 2019

What this PR does / why we need it:

Previously we did not actually clear the account URL if the directory and account URL differ. This meant if you updated your issuer resource to point at a new directory URL, cert-manager would get into a stuck state attempting to call the GetAccount endpoint, instead of calling RegisterAccount.

Release note:

Fix bug when updating ACME server URL on an existing Issuer resource

Signed-off-by: James Munnelly <james@munnelly.eu>
@jetstack-bot jetstack-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. area/acme Indicates a PR directly modifies the ACME Issuer code labels Jan 17, 2019
@jetstack-bot jetstack-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jan 17, 2019
@munnerz
Copy link
Member Author

munnerz commented Jan 17, 2019

/kind bug
/milestone v0.6
/area provider-acme

@jetstack-bot jetstack-bot added this to the v0.6 milestone Jan 17, 2019
@jetstack-bot jetstack-bot added the kind/bug Categorizes issue or PR as related to a bug. label Jan 17, 2019
Copy link
Contributor

@kragniz kragniz left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@jetstack-bot jetstack-bot added the lgtm Indicates that a PR is ready to be merged. label Jan 17, 2019
@jetstack-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kragniz

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jetstack-bot jetstack-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 17, 2019
@jetstack-bot jetstack-bot merged commit e2e2b59 into cert-manager:master Jan 17, 2019
@munnerz munnerz deleted the clear-url-on-reverify branch January 29, 2019 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/acme Indicates a PR directly modifies the ACME Issuer code dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants