Skip to content

feat: add label to session for anonymous sessions#1240

Open
sgaist wants to merge 1 commit intomainfrom
feat/label-anonymous-sessions
Open

feat: add label to session for anonymous sessions#1240
sgaist wants to merge 1 commit intomainfrom
feat/label-anonymous-sessions

Conversation

@sgaist
Copy link
Collaborator

@sgaist sgaist commented Mar 11, 2026

Describe your changes

Currently there is no clean way, Kubernetes wise, to distinguish an anonymous session from a normal session.

This PR adds a label for anonymous sessions so that they can be filtered properly.

This will allow, for example, to create dedicated network policies that applies specifically to these sessions.

The safe username label cannot be used in this context as the label filter does not support regexp expressions.

This will allow, for example, to create dedicated
network policies that applies specifically to these
sessions.

The safe username label cannot be used in this context
as the label filter does not support regexp expressions.
@sgaist sgaist requested review from leafty and olevski March 11, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant