Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

When delete bucketAccess,the driver name is not verified in the delete operation of bucketAccess Controller #149

Open
FanZhang526 opened this issue Oct 10, 2024 · 0 comments

Comments

@FanZhang526
Copy link

Bug Report

What happened:
Deploying COSI sidecar component pod of two different storage vendors. When delete bucketAccess,an unrelated storage vendor component also received a deletion request for this bucketAccess.

What you expected to happen:
Drivers must be differentiated regardless of whether they are created or deleted operation.
When delete bucketAccess, an unrelated storage vendor component will not received a deletion request for this bucketAccess.

How to reproduce this bug (as minimally and precisely as possible):
1、Deploying COSI sidecar component pod of two different storage vendors.
2、create a bucketClaim and a related bucketAccess.
3、delete this bucketAccess.

Anything else relevant for this bug report?:
1、the driver name is not verified in the delete operation of Controller.
2、related code: pkg/bucketaccess/bucketaccess_controller.go.

Environment:

  • Kubernetes version (use kubectl version), please list client and server:
  • Sidecar version (provide the release tag or commit hash):
  • Provisoner name and version (provide the release tag or commit hash):
  • Cloud provider or hardware configuration:
  • OS (e.g: cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Network plugin and version (if this is a network-related bug):
  • Others:
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant