Skip to content

Allow ingressClass to be specified using ingress-shim - #493

Merged
jetstack-bot merged 3 commits into
cert-manager:masterfrom
munnerz:ingress-shim-class
Apr 26, 2018
Merged

jetstack-bot merged 3 commits into
cert-manager:masterfrom
munnerz:ingress-shim-class

Conversation

@munnerz

@munnerz munnerz commented Apr 19, 2018 •

Copy link
Copy Markdown
Member

This is a follow up to #454, adding some unit test cases and cleaning up the commit history.

ACTION REQUIRED: Add `certmanager.k8s.io/acme-http01-edit-in-place` annotation and change ingress-shim to set 'ingressClass' on ACME Certificate resources by default. This is a potentially breaking change for users of ingress controllers that map a single IP address to a single Ingress resource, such as the GCE ingress controller. These users will need to add the following annotation to their ingress: `certmanager.k8s.io/acme-http01-edit-in-place: "true"`.

cc @HeWhoWas

@munnerz munnerz added kind/feature Categorizes issue or PR as related to a new feature. area/acme Indicates a PR directly modifies the ACME Issuer code labels Apr 19, 2018
@jetstack-bot jetstack-bot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Apr 19, 2018
@jetstack-bot
jetstack-bot requested a review from kragniz April 19, 2018 09:19
@jetstack-bot jetstack-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Apr 19, 2018
@munnerz
munnerz force-pushed the ingress-shim-class branch from e9b7791 to 46aebd2 Compare April 19, 2018 09:21
SwitchTV-BenBettridge and others added 2 commits April 19, 2018 10:26
…le the use of ingressClass: <value>

Add annotation to the ingress-shim documentation

Remove debug output.

Update documentation errors.

Implement suggestions of using edit-in-place annotation to control behaviour.

Fix reference to editInPlaceAnnotation

Remove the presence of editInPlaceAnnotation from returning true to shouldSync() and relevant test.

Update comment reference to correct annotation name.

Remove tests that relied on annotation impacting result from shouldSync()

Only edit in-place when explicitly requested to do so.

Don't return error if unable to determine Ingress class, continue without setting either ingress or ingressClass.

Update annotation to certmanager.k8s.io/acme-http01-edit-in-place in order to make use case more obvious and have consistent naming.

Update docs to reflect possible values more accurately
@munnerz
munnerz force-pushed the ingress-shim-class branch from 46aebd2 to 4b072e2 Compare April 19, 2018 09:29
@munnerz munnerz added area/acme Indicates a PR directly modifies the ACME Issuer code and removed area/acme Indicates a PR directly modifies the ACME Issuer code labels Apr 25, 2018
@jetstack-bot jetstack-bot added release-note-action-required Denotes a PR that introduces potentially breaking changes that require user action. and removed release-note Denotes a PR that will be considered when it comes time to generate release notes. labels Apr 26, 2018
@munnerz munnerz added release-note Denotes a PR that will be considered when it comes time to generate release notes. approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. and removed release-note-action-required Denotes a PR that introduces potentially breaking changes that require user action. labels Apr 26, 2018
@munnerz munnerz added this to the v0.3 milestone Apr 26, 2018
@jetstack-bot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by:

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

The pull request process is described here

Details 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 merged commit b43f294 into cert-manager:master Apr 26, 2018
@munnerz
munnerz deleted the ingress-shim-class branch January 29, 2019 23:42
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 kind/feature Categorizes issue or PR as related to a new feature. 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/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants