Add session affinity to Guacamole service for OIDC flow

With 2 replicas, OIDC callbacks can hit a different pod than the
one that generated the state/nonce, causing auth failures. Session
affinity ensures the same client always reaches the same pod.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Scooby Husky
2026-03-15 14:47:25 -05:00
co-authored by Claude Opus 4.6
parent e29eb9611b
commit b9fd5a9461
@@ -227,6 +227,10 @@ metadata:
component: client
spec:
type: ClusterIP
sessionAffinity: ClientIP
sessionAffinityConfig:
clientIP:
timeoutSeconds: 3600
ports:
- port: 8080
targetPort: http