fix: adjust unfulfillable validation check for session-cookie-samesite annotation (#10600)
This commit is contained in:
parent
9cdd51d5dc
commit
13d95d026a
2 changed files with 6 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ var sessionAffinityAnnotations = parser.Annotation{
|
|||
Documentation: `This annotation defines the Domain attribute of the sticky cookie.`,
|
||||
},
|
||||
annotationAffinityCookieSameSite: {
|
||||
Validator: parser.ValidateOptions([]string{"None", "Lax", "Strict"}, false, true),
|
||||
Validator: parser.ValidateOptions([]string{"none", "lax", "strict"}, false, true),
|
||||
Scope: parser.AnnotationScopeIngress,
|
||||
Risk: parser.AnnotationRiskLow,
|
||||
Documentation: `This annotation is used to apply a SameSite attribute to the sticky cookie.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue