flagger v1.45.0

Canary.spec.analysis.match[].headers[key].spec.analysis.sessionAffinity

SessionAffinity represents the session affinity settings for a canary run.

9 fields
Canary.spec.analysis.match[].headers[key].spec.analysis.sessionAffinity fields and descriptions
Field / TypeDescription
cookieName
string required

CookieName is the key that will be used for the session affinity cookie.

domain
string

Domain defines the host to which the cookie will be sent.

httpOnly
boolean

HttpOnly forbids JavaScript from accessing the cookie, for example, through the Document.cookie property.

maxAge
number

MaxAge indicates the number of seconds until the session affinity cookie will expire.

  • default: 86400
partitioned
boolean

Partitioned indicates that the cookie should be stored using partitioned storage.

path
string

Path indicates the path that must exist in the requested URL for the browser to send the Cookie header.

primaryCookieName
string

CookieName is the key that will be used for the session affinity cookie.

sameSite
string

SameSite controls whether or not a cookie is sent with cross-site requests.

  • enum: ["Strict","Lax","None"]
secure
boolean

Secure indicates that the cookie is sent to the server only when a request is made with the https: scheme (except on localhost)