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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Reason field on ACME challenges during Present/CleanUp #1597

Merged
merged 1 commit into from
Apr 30, 2019

Conversation

munnerz
Copy link
Member

@munnerz munnerz commented Apr 30, 2019

What this PR does / why we need it:

Previously the error that causes a challenge to fail to present or clean up was not clearly surfaced to users.

This PR changes that to store the error as the status.reason field, as well as log it as an Event. Because an error is actually being returned, we should not enter a 'tight loop' so we should not flood the apiserver with Events 馃槃

Release note:

Improve error handling when ACME challenges fail to Present or CleanUp

Signed-off-by: James Munnelly <james@munnelly.eu>
@jetstack-bot jetstack-bot added 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 release-note Denotes a PR that will be considered when it comes time to generate release notes. labels Apr 30, 2019
@jetstack-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: munnerz

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 approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Apr 30, 2019
@munnerz munnerz added the lgtm Indicates that a PR is ready to be merged. label Apr 30, 2019
@jetstack-bot jetstack-bot merged commit 6523015 into cert-manager:master Apr 30, 2019
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. 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.

None yet

2 participants