Skip to content

Chart: use-proxy-protocol default value #5560

Closed
@pierluigilenoci

Description

@pierluigilenoci

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:

  • Cloud provider or hardware configuration: AWS + ELB
  • OS (e.g. from /etc/os-release): Debian GNU/Linux 9 (stretch)
  • Kernel (e.g. uname -a): 4.9.0-7-amd64
  • Install tools: helm
  • Others:
    The 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions