-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Chart: use-proxy-protocol default value #5560
Comments
Can you check the content of configmap nginx-ingress-controller before and after you switch the value for use-proxy-protocol? What is the image version you are using? From the chart config we don't need to config a default value for use-proxy-protocol since it's defined as |
I checked. Of course, I don't have the broken release but, from revision, the only explicit change is use-proxy-protocol: "false". The story went in this way. Started with chart nginx-ingress-1.6.17 -> updated to nginx-ingress-1.6.18
I know that is defined as false by default but after what I did the ingress was broken. Otherwise, I will not report the problem. |
After you removed use-proxy-protocol, was the configmap updated (by helm) to remove use-proxy-protocol? Instead of adding |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-contributor-experience at kubernetes/community. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
NGINX Ingress controller version:
v1.6.18
Old stable chart, I know 😞 but this is a copy of the ticket opened on the stable chart repo and unattended for one year helm/charts#14937 I hope that in the meantime the problem has been solved.
Kubernetes version (use
kubectl version
):K8s v1.12.7
Helm v2.14.1
Environment:
uname -a
): 4.9.0-7-amd64The configuration is simple: AWS, ELB in front of Nginx
Kubernetes installed with KOPS
Installed with helm with this configuration:
"use-proxy-protocol": "true" "whitelist-source-range": "<list of offices ips>"
What happened:
I activated the value “use-proxy-protocol”: “true” inside the config and I updated the ingress. Unluckily the Cloud LB did not support proxy protocol and so I removed the line and updated again. Nginx has remained set with “use-proxy-protocol”: “true”. To resolve I had to update explicitly the configuration with “use-proxy-protocol”: “false”.
What you expected to happen:
I expected that once the row was removed in the config the ingress would return to the default configuration for "use-proxy-protocol"
How to reproduce it:
Redo the same step that I did.
Anything else we need to know:
Ref: #4305
I appreciate your work!
/kind bug
The text was updated successfully, but these errors were encountered: