Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-17448

[secrets-store] operator should delete static resources when ClusterCSIDriver is deleted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • None
    • 4.14.0
    • Storage / Operators
    • None
    • Low
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When you delete the ClusterCSIDriver object, secrets-store-csi-driver-operator should delete the resources it created here:
      https://github.com/openshift/secrets-store-csi-driver-operator/blob/5f9e5a6baa68ba46d99e3a80b7f3bf02873ce663/pkg/operator/starter.go#L72-L78

      Version-Release number of selected component (if applicable):

      4.14

      How reproducible:

      always

      Steps to Reproduce:

      1. Install Secrets Store CSI Driver Operator and create a ClusterCSIDriver
      2. Observe the DaemonSet, CSIDriver, ClusterRole's, and ClusterRoleBindings created
      3. Delete the ClusterCSIDriver
      

      Actual results:

      resources do not get cleaned up

      Expected results:

      resources should be deleted

      Additional info:

       

              jdobson@redhat.com Jonathan Dobson
              jdobson@redhat.com Jonathan Dobson
              Rohit Patil Rohit Patil
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: