-
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
Remove session-cookie-hash annotation #3743
Remove session-cookie-hash annotation #3743
Conversation
@alexkursell @ElvinEfendi to avoid problems in the next release, I will add a deprecation notification. We can remove the annotation after the next release. I think we can release 0.23 after NGINX 1.15.9 (next Tuesday), like next Friday. |
@aledbf Makes sense. This definitely isn't urgent or anything. |
@alexkursell please rebase and this lgtm |
3d7744f
to
d3ac73b
Compare
@aledbf Rebased. |
/approve |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aledbf, alexkursell, ElvinEfendi The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* Configuration: Prepend `nginx` to annotations. * Configuration: Remove `nginx.ingress.kubernetes.io/add-base-url`. Deprecated: kubernetes/ingress-nginx#3174 * Configuration: Remove `nginx.ingress.kubernetes.io/session-cookie-hash`. Deprecated: kubernetes/ingress-nginx#3743 * Configuration: Bump `last_review_date`. * Multiple Ingress NGINX Controllers: Remove deprecated `controller.ingressClass`. * Multiple Ingress NGINX Controllers: Remove wildcard from `controller.service.subdomain`. * Multiple Ingress NGINX Controllers: Migrate `configmap` to `controller.config`. * Multiple Ingress NGINX Controllers: Bump `last_review_date`. * Service Type LoadBalancer: Make `service.beta.kubernetes.io/aws-load-balancer-internal` a boolean. * Service Type LoadBalancer: Make `service.beta.kubernetes.io/aws-load-balancer-access-log-emit-interval` a string. * Service Type LoadBalancer: Move `Other AWS ELB configuration options`. * Service Type LoadBalancer: Document Martian Packets when using internal AWS Network Load Balancers. * Service Type LoadBalancer: Document Health Checks failing when using PROXY protocol and `externalTrafficPolicy: Local`. * Service Type LoadBalancer: Document Security Group configuration on internal AWS Network Load Balancers. * Service Type LoadBalancer: Bump `last_review_date`.
What this PR does / why we need it: This PR removes the
nginx.ingress.kubernetes.io/session-cookie-hash
annotation completely, as it is essentially useless. The hash function was being used only to hash a random value to make a key to be set as the session cookie value. Why hash the random value at all?This annotation appears to be a vestige from when we used https://bitbucket.org/nginx-goodies/nginx-sticky-module-ng
see discussion at #3740 (comment)