-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[🚀 Feature]: Add option to disable nginx.ingress.kubernetes.io/proxy-ssl-secret annotation in selenium chart #2720
Comments
@LluisCalm, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
Hi, as my understanding, when you configure the ingress like ingress:
hostname: selenium-grid.prod.domain.com
tls:
- secretName: my-external-tls-secret
hosts:
- selenium-grid.prod.domain.com The secretName here will not pass to ingress annotation, right? |
The configuration you provided would work since you specify a nginx.ingress.kubernetes.io/proxy-ssl-secret: my-namespace/%!s(<nil>) |
Thanks for your input. So, below config should be considered as valid ingress:
hostname: selenium-grid.prod.domain.com
tls:
- hosts:
- selenium-grid.prod.domain.com And template should deal with this case properly to avoid |
Yes, imho the easiest way is that in case |
Feature and motivation
The ingress resource created by the chart adds always the
nginx.ingress.kubernetes.io/proxy-ssl-secret
annotation which makes this ingress inaccessible by default if the tls secret is created, for example, by cert manager.Code cample showing that the annotation is mandatory:
I propose that if
.sslSecret
is empty, that annotation should not be added. This can be achieved in multiple ways, one could be by simply disabling the default value:Usage example
I would use this feature to be able to create an ingress resource without the
nginx.ingress.kubernetes.io/proxy-ssl-secret
annotation.The text was updated successfully, but these errors were encountered: