How to set Cookie with samesite attribute for routes managed by ingress object?
Issue
-
router.openshift.io/cookie-same-sitesets a value to restrict cookies.The above annotation can be set with below values: Lax: cookies are transferred between the visited site and third-party sites. Strict: cookies are restricted to the visited site. None: cookies are restricted to the visited site. -
After setting the annotation
router.openshift.io/cookie-same-siteon routes ,the changes is getting
overridden onrouteobject.
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.