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

k8sSearch duplicate scopes override rather than replace each other #308

Open
nightkr opened this issue Aug 28, 2023 · 1 comment
Open

k8sSearch duplicate scopes override rather than replace each other #308

nightkr opened this issue Aug 28, 2023 · 1 comment
Labels

Comments

@nightkr
Copy link
Member

nightkr commented Aug 28, 2023

Affected version

23.7

Current and expected behavior

When declaring a secret volume with the scope service=foo,service=bar, secret-op will currently search for a secret with the label secrets.stackable.tech/service=bar, forgetting about service=foo entirely.

Secret-op should endeavour find a secret with both scopes.

Possible solution

Secret-op could query for a comma-separated list of services, such as secrets.stackable.tech/service=foo,bar.

Additional context

No response

Environment

No response

Would you like to work on fixing this bug?

None

@nightkr
Copy link
Member Author

nightkr commented Aug 28, 2023

Comma-separation doesn't really work, both because of the 63-character label limit, and because we don't have a good separator (assuming that we leave . for #307).

Another alternative would be to split it into secrets.stackable.tech/service.0=foo&secrets.stackable.tech/service.1=bar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant