You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DOC/MINOR: annotations: deprecate cookie-persistence on Ingress
Add a warning tip on the cookie-persistence annotation announcing that
its use on Ingress objects is deprecated and will be removed in a future
release, advising to set it at the Service or ConfigMap level instead.
Regenerate annotations.md from doc.yaml accordingly.
Copy file name to clipboardExpand all lines: documentation/annotations.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -692,6 +692,8 @@ backend-config-snippet: |
692
692
693
693
Available on: `configmap``ingress``service`
694
694
695
+
:information_source: :warning: Using `cookie-persistence` on Ingress objects is deprecated and will be removed in a future release. Use this annotation at the Service or ConfigMap level instead.
696
+
695
697
:information_source: This will insert the following cookie configuration in the corresponding backend `cookie <cookie-name> insert indirect nocache dynamic` with `<cookie-name>` the value of this annotation.
Copy file name to clipboardExpand all lines: documentation/doc.yaml
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -917,6 +917,7 @@ annotations:
917
917
to before.
918
918
- Dynamic cookies are used by default via a [dynamic-cookie-key](https://cbonte.github.io/haproxy-dconv/2.4/configuration.html#4.2-dynamic-cookie-key) in order to support sticky sessions across multiple Ingress Controller instances/replicas.
919
919
tip:
920
+
- ":warning: Using `cookie-persistence` on Ingress objects is deprecated and will be removed in a future release. Use this annotation at the Service or ConfigMap level instead."
920
921
- This will insert the following cookie configuration in the corresponding backend `cookie <cookie-name> insert indirect nocache dynamic` with `<cookie-name>` the value of this annotation.
0 commit comments