-
Notifications
You must be signed in to change notification settings - Fork 69
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
fix: grafana ingress class #85
Conversation
@@ -68,6 +68,7 @@ spec: | |||
metadata: | |||
annotations: | |||
kubernetes.io/ingress.class: "{{ $ingress }}" | |||
acme.cert-manager.io/http01-ingress-class: "{{ $ingress }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was sure that the ingress class would be taken from ingressClassName
field. Are you sure that it is necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I also tried to omit ingressClass from cluster issuer, unfortunately it didn't work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ingressClass from cluster issuer, unfortunately it didn't work.
it should be only in Cluster Issuer, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dunno, when cluster issure missing the section
solvers:
- http01:
ingress:
class: nginx
cert-manager reports an error:
Failed to determine a valid solver configuration for the set of domains on the Order: no configured challenge solvers can be used for this challenge
even with this annotation
@@ -68,6 +68,7 @@ spec: | |||
metadata: | |||
annotations: | |||
kubernetes.io/ingress.class: "{{ $ingress }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you could bravely remove it - it is obsolete
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, done
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
773befa
to
8fcaed4
Compare
Grafana uses default ingress class
nginx
specified in ClusterIssuer resource, we need to overwrite it to correct ingress class from namespace annotation