Skip to content
Snippets Groups Projects
Unverified Commit 008a1f83 authored by Varac's avatar Varac
Browse files

Add whitelist-source-range option to ingress-nginx

parent b1849efa
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,11 @@ controller:
## providers supporting it
## Ref: https://kubernetes.io/docs/tutorials/services/source-ip/#source-ip-for-services-with-typeloadbalancer
externalTrafficPolicy: Local
config:
# http://nginx.org/en/docs/http/ngx_http_access_module.html
# comma separated list of CIDRs, e.g. 10.0.0.0/24,172.10.0.1.
# By default we allow all access from everywhere
whitelist-source-range: '0.0.0.0/0'
resources:
limits:
cpu: 100m
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment