Skip to content
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

Merged
merged 1 commit into from
Mar 4, 2019

Conversation

alexkursell
Copy link
Contributor

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)

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Feb 8, 2019
@aledbf
Copy link
Member

aledbf commented Feb 8, 2019

@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.

@alexkursell
Copy link
Contributor Author

@aledbf Makes sense. This definitely isn't urgent or anything.

@aledbf aledbf added the do-not-merge/blocked-paths Indicates that a PR should not merge because it touches files in blocked paths. label Feb 9, 2019
@aledbf aledbf removed the do-not-merge/blocked-paths Indicates that a PR should not merge because it touches files in blocked paths. label Mar 2, 2019
@aledbf
Copy link
Member

aledbf commented Mar 2, 2019

@alexkursell please rebase and this lgtm

@alexkursell alexkursell force-pushed the remove-session-cookie-hash branch from 3d7744f to d3ac73b Compare March 4, 2019 15:48
@alexkursell
Copy link
Contributor Author

@aledbf Rebased.

@aledbf
Copy link
Member

aledbf commented Mar 4, 2019

/approve

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 4, 2019
@ElvinEfendi
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Mar 4, 2019
@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 213b8c8 into kubernetes:master Mar 4, 2019
@alexkursell alexkursell deleted the remove-session-cookie-hash branch March 4, 2019 18:57
Gacko added a commit to giantswarm/docs that referenced this pull request Nov 23, 2023
Gacko added a commit to giantswarm/docs that referenced this pull request Nov 27, 2023
Gacko added a commit to giantswarm/docs that referenced this pull request Nov 28, 2023
Gacko added a commit to giantswarm/docs that referenced this pull request Nov 28, 2023
* 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`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants