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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] K8S - Ability to ignore/use Ingresses based on IngressClass #970

Open
1 task done
Jobuen opened this issue Mar 6, 2024 · 2 comments
Open
1 task done
Labels
enhancement New feature or request

Comments

@Jobuen
Copy link

Jobuen commented Mar 6, 2024

What's needed and why?

Hi there,

currently Bunkerweb takes into account all ingresses in all namespaces.
Other Ingress Controllers (like Ingress-Nginx) are able to only apply configurations from Ingresses with, for instance, the IngressClass "Nginx".

It would be great if Bunkerweb was able to do the same and ignore/use Ingresses based on their IngresClass, which would allow the usage of multiple IngressControllers within the same cluster.

If this is already possible and I couldn't find how to configure it correctly, I apologize.

Thank you for your work!

Some links:
https://docs.nginx.com/nginx-ingress-controller/installation/running-multiple-ingress-controllers/
https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-class

Implementations ideas (optional)

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Jobuen Jobuen added the enhancement New feature or request label Mar 6, 2024
@fl0ppy-d1sk
Copy link
Member

Hello @Jobuen,

You are right, it's not documented because it's not implemented ATM.

We will add it in 1.5.7 because 1.5.6 is coming soon.

On top of that, we will try our best to improve the k8s integration : helm chart, documentation about tls support (e.g. cert-manager), scoping for annotations, ...

Don't hesitate to share some feedbacks about the ingress controller.

@Jobuen
Copy link
Author

Jobuen commented Mar 9, 2024

Hey @fl0ppy-d1sk ,

sounds great, looking forward to 1.5.6 and 1.5.7, and also very curious about "Bunkerweb Pro" and what that will entail. As soon as I have feedback of value, I'll share it with you. As of now, I feel most of the problems I have setting up Bunkerweb as an Ingress Controller stem from my own mistakes.

I will actually be spending some more time on trying to integrate Bunekrweb with cert-manager next week, with the main problem I've been having being that Bunkerweb didn't correctly route the challenge-solving to the acme-pod, and instead tried to resolve it within itself. My guess was that it stems from some problem with two ingresses being setup pointing at the same domain, and that causing issues somehow (eventhough they pointed at different paths). Spending more time on it next week and will let you know if I can't find any mistake in my own setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants