Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@skriss
Copy link
Member

@skriss skriss commented Jul 21, 2020

closes #2692

Edits the cert-manager guide to remove references to ingress-shim,
which is an internal component of cert-manager, knowledge of which
is unnecessary for a Contour user. Also adds a link to the relevant
cert-manager docs.

Signed-off-by: Steve Kriss [email protected]

Edits the cert-manager guide to remove references to ingress-shim,
which is an internal component of cert-manager, knowledge of which
is unnecessary for a Contour user. Also adds a link to the relevant
cert-manager docs.

Signed-off-by: Steve Kriss <[email protected]>
@skriss skriss added the area/website Issues or PRs related to the web site. label Jul 21, 2020
The dummy Ingress record exists only to hold the annotations `ingress-shim` requires.
Because it does not include the `ingress-class: contour` annotation, Contour will not see it and so the configuration of the Ingress does not matter, except that it is valid enough for ingress-shim to use.
The dummy Ingress record exists only to hold the annotations that cert-manager requires in order to kick off the certification creation process.
Because it does not include the `ingress-class: contour` annotation, Contour will not see it and so the configuration of the Ingress does not matter, except that it is valid enough for cert-manager to use.
Copy link
Member

Choose a reason for hiding this comment

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

Because it does not include the ingress-class: contour annotation, Contour will not see it...

I know this isn't part of this change directly, but I don't understand this statement that Contour won't see the resource. Contour will "see" this resource and use it to make the HTTP01 challenge work to generate the certificate unless a specific ingress class is configured for Contour.

Also the annotation referenced earlier is: kubernetes.io/ingress.class: contour which I think is what the ingress-class: contour statement is referring to.

Copy link
Member Author

Choose a reason for hiding this comment

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

OK - I can try to dig into what's wrong with that part of the sentence too but I'll need to spend some more time understanding this whole process first. Do you want to accept this fix as-is, or hold it until the other thing is addressed too?

Copy link
Member

Choose a reason for hiding this comment

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

This is fine as-is probably. I still feel the Cert way is much simpler than this dummy ingress resource. So maybe you can take a look at this method (using ingress) and the other way (using Certificate CRD) and help decide what we should have in this guide, possibly both or two guides.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah I can definitely do that, will probably defer for a bit until I wrap up all the timeout-related changes. I thought this issue was just an easy fix, but nope :)

Copy link
Member

@stevesloka stevesloka Jul 21, 2020

Choose a reason for hiding this comment

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

I created #2709 to follow this change.

@stevesloka stevesloka added this to the 1.7.0 milestone Jul 21, 2020
@codecov
Copy link

codecov bot commented Jul 21, 2020

Codecov Report

Merging #2708 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2708   +/-   ##
=======================================
  Coverage   76.85%   76.85%           
=======================================
  Files          72       72           
  Lines        5702     5702           
=======================================
  Hits         4382     4382           
  Misses       1228     1228           
  Partials       92       92           

@stevesloka stevesloka merged commit 217b06f into projectcontour:master Jul 21, 2020
@skriss skriss deleted the fix-2692 branch July 21, 2020 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/website Issues or PRs related to the web site.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Making cert-manager work with HTTPProxy" docs talk about unknown ingress-shim

2 participants