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

sanitize connection pool key pod name #686

Merged
merged 2 commits into from
Oct 7, 2024
Merged

Conversation

rewantsoni
Copy link
Contributor

The csi-addons sidecar sanitizes the holder identity. The connection pool stores the mapping with key as the unsanitized name for csiaddonsnode, which leads to the failed to find the namespace where driver issue.

To address this, we should sanitize the csiaddonsnode name before entering it into connection pool.

@rewantsoni
Copy link
Contributor Author

/hold for testing reclaim space

Madhu-1
Madhu-1 previously approved these changes Oct 1, 2024
@nixpanic
Copy link
Collaborator

nixpanic commented Oct 2, 2024

Can you please include a description in the commits as well? You have a nice description in the PR, and having it in the 1st commit would add it to the history in the git repository.

The csi-addons sidecar sanitizes the holder identity. The
connection pool stores the mapping with key as the unsanitized
name for csiaddonsnode, which leads to the failed to find the
namespace where driver issue.

To address this, we should sanitize the csiaddonsnode name before
entering it into connection pool.

Signed-off-by: Rewant Soni <[email protected]>
Signed-off-by: Rewant Soni <[email protected]>
@mergify mergify bot merged commit 7b4049d into csi-addons:main Oct 7, 2024
15 checks passed
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.

4 participants