SessionHandling

microgateway.airlock.com/v1alpha1


SessionHandling contains the configuration for session handling.

Warning

The Session Handling feature (required for OIDC) is currently in an experimental state.

We encourage you to try it out and give feedback, but be aware that we do not recommend using it in a production environment yet, as high-availability Redis configurations (e.g. Sentinel/Cluster) are not yet supported.

apiVersion: microgateway.airlock.com/v1alpha1
kind: SessionHandling
metadata:
  name: session-handling-example
spec:
  persistence:
    # Specify the Redis database where sessions should be stored
    redisProviderRef:
      name: redis-provider-example
apiVersion: microgateway.airlock.com/v1alpha1
kind: SessionHandling
metadata:
  name: default

SessionHandling

Field Type Description Required Default Allowed Values
metadata ObjectMeta Refer to Kubernetes API documentation for fields of metadata yes
spec object Specification of the desired session handling behavior. yes

SessionHandling.spec

Field Type Description Required Default Allowed Values
persistence object Persistence configures where to store the session state. yes

SessionHandling.spec.persistence

Field Type Description Required Default Allowed Values
redisProviderRef object RedisProviderRef specifies to cache session information in the provided Redis instance. yes

SessionHandling.spec.persistence.redisProviderRef

Field Type Description Required Default Allowed Values
name string Name of the resource yes