Skip to content

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

@zcy164831576

Description

@zcy164831576

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    api/v1alpha1Issue reported against or feature request for v1alpha1 APIkind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions