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

VSS/instant-updates: Improve filtering of kv-v2 events #926

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

MM53
Copy link

@MM53 MM53 commented Sep 20, 2024

The VSS controller drops some events of kv-v2 secrets because it expects a wrong path to be set. Most events use the pattern <secret-mount>/data/<secret-path>, but some operations, like delete and undelete, will include the operation instead of data in its path. Therefore, it would be better if the controller also accepts <secret-mount>/<operation>/<secret-path> as a valid path.

Additionally, it would be helpful if the controller uses the namespaces configured in the referenced VaultAuth resource as fallback while filtering the events. This would reduce the required configuration if authentication and secrets are in the same namespace.

@MM53 MM53 requested a review from a team as a code owner September 20, 2024 14:48
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