Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

safer default namespace scheme #75

Merged
merged 1 commit into from
Sep 18, 2024
Merged

Conversation

minrk
Copy link
Contributor

@minrk minrk commented Sep 18, 2024

The main thing this does is avoid collisions by making two simple guarantees:

  • user namespaces are namespaced via kbatch- prefix
  • namespaces are unique (appends hash if stripping changes username)

This is a disruptive change to anyone upgrading with currently running jobs. Is that something we should be concerned about right now?

The main thing this does is avoid collisions
@minrk minrk requested a review from yuvipanda September 18, 2024 09:34
@yuvipanda yuvipanda merged commit 7da2ab3 into kbatch-dev:main Sep 18, 2024
2 checks passed
@yuvipanda
Copy link
Collaborator

We can mark it as a breaking change I think, I'm not super concerned. This is an important security fix.

@minrk minrk deleted the namespace-prefix branch September 18, 2024 10:00
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.

2 participants