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

Cannot delete CAPI Cluster in non-CAPI namespace

    XMLWordPrintable

Details

    Description

      Description of problem:

      I would like to use OpenShift clusters as management clusters to create other guest clusters.
      This is not currently possible because of restrictions imposed by the validating webhook for the Cluster object which prevents Cluster objects being deleted.
      The webhook _should_ only apply to the `openshift-cluster-api` namespace, but presently will apply to all namespaces.

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

       

      How reproducible:

      100%

      Steps to Reproduce:

      1. Create a Cluster object in a namespace that isn't openshift-cluster-api
      2. Attempt to delete the Cluster object you just created
      3.
      

      Actual results:

      Error, cannot delete Cluster

      Expected results:

      Cluster object deleted successfully 

      Additional info:

       

      Attachments

        Activity

          People

            rmanak@redhat.com Radek Manak
            joelspeed Joel Speed
            Milind Yadav Milind Yadav
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: