Add Envoy Gateway cookie-based session persistence for Guacamole OIDC

Fixes OIDC nonce validation failures with 2 replicas by using a
BackendTrafficPolicy with cookie-based consistent hashing instead of
Service-level ClientIP affinity (which doesn't work behind Envoy proxy).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Scooby Husky
2026-03-15 14:55:53 -05:00
co-authored by Claude Opus 4.6
parent b9fd5a9461
commit f71dbdb689
2 changed files with 22 additions and 4 deletions
@@ -227,10 +227,6 @@ metadata:
component: client
spec:
type: ClusterIP
sessionAffinity: ClientIP
sessionAffinityConfig:
clientIP:
timeoutSeconds: 3600
ports:
- port: 8080
targetPort: http