Skip to content

feat: add patch ingress.status.loadbalancerIp #2246

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

lenglet-k
Copy link

Hello,

When we use bunkerweb on Kubernetes. Bunkerweb does not patch the ingress.status object with the loadbalancerIP ip.

This PR allows Bunkerweb to patch the ingress.status.loadbalancerIP field with the IP of the loadbalancer exposed for bunkerweb.

For Bunkerweb to patch the ingress object, it must have the update right in its clusterRole to update ingresses/status. It must also know the name of the Kubernetes service through which it is exposed by a LoadBalancer type service, this is done by a BUNKERWEB_SERVICE_NAME environment variable and its BUNKERWEB_NAMESPACE namespace.

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

Successfully merging this pull request may close these issues.

1 participant