Skip to content
This repository has been archived by the owner on Aug 26, 2021. It is now read-only.

whitelist ingress ip source range #114

Merged
merged 1 commit into from
Jun 15, 2017

Conversation

gianrubio
Copy link
Contributor

@gianrubio gianrubio commented Mar 22, 2017

whitelist all ips for acme http challenge path
fix #203

@simonswine
Copy link
Contributor

I think this will break things for cases where we run multiple ingress classes.

Would be great if we could separate PRs. The white listing of the IPs would be good to get in...

@sigxcpu76
Copy link

Whitelist all is a good thing @gianrubio . Can you separate the PRs as requested?

Another option for whitelisting would be an external watched on lego's ingress rule and patch it with the whitelist annotation whenever it changes (ugly, I know).

@gianrubio gianrubio force-pushed the fix-ingress-class branch from 4704495 to bdc891f Compare June 12, 2017 13:18
@gianrubio gianrubio force-pushed the fix-ingress-class branch from bdc891f to dfc5b4c Compare June 12, 2017 13:22
@gianrubio gianrubio changed the title ingress class improvements whitelist ingress ip source range Jun 12, 2017
@gianrubio
Copy link
Contributor Author

@simonswine done!

@munnerz
Copy link
Contributor

munnerz commented Jun 14, 2017

@simonswine are we good to merge this now? I'm unable to see the original commit to make a judgement myself! Looks good to me otherwise.

@Ulexus
Copy link

Ulexus commented Sep 17, 2017

This definitely broke IPv6, since "0.0.0.0/0" does not match any IPv6 address. This means all IPv6-sourced addresses are denied.

Edit:

The nginx annotation DOES allow specification of multiple IPs, separated by comma: configmap.go

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

Successfully merging this pull request may close these issues.

Adding custom annotations to the kube-lego generated ingresses
5 participants