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

Generate random namespace id #25

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

domtes-form3
Copy link

@domtes-form3 domtes-form3 commented Feb 28, 2024

When rules namespace resources are created they get assigned an hash of the namespace attribute as internal ID.
This leads to clashes when provisioning multiple rule groups within the same namespace.

  • internally, this ID is not managed to fetch or delete the resource (the namespace attribute is used instead)
  • the generated random ID strings are 64 bytes long to keep the same length, just in case

Signed-off-by: Domenico Testa [email protected]

@vaxvms
Copy link
Contributor

vaxvms commented Oct 9, 2024

Hi @domtes-form3,

My apologies for being so late. Can you sign your commit ?

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