Uploaded image for project: 'Red Hat OpenShift Control Planes'
  1. Red Hat OpenShift Control Planes
  2. CNTRLPLANE-1582

Prevent azure cluster destroy command from deleting managed/main resource group

XMLWordPrintable

    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None
    • None
    • None

      Description

      Currently, when the azure cluster destroy CLI command is executed, it deletes the managed or main resource group. This task involves modifying the destroy command to preserve the managed/main resource group while still cleaning up cluster-specific resources.

      Acceptance Criteria

      • Add a new flag to prevent the managed/main resource group from being deleted when the flag is used.
      • Verify that the azure cluster destroy command does not delete the managed/main resource group
      • Test that cluster-specific resources are still properly cleaned up during destroy operation
      • Demonstrate that the managed/main resource group and its non-cluster resources remain intact after destroy
      • Verify that the destroy command provides appropriate feedback about what resources are being preserved
      • Test that subsequent cluster creation can reuse the preserved resource group

      Additional Context

      This enhancement will prevent accidental deletion of important shared infrastructure when destroying individual clusters, providing better resource management and preventing potential data loss or service disruption.

              rh-ee-brcox Bryan Cox
              rh-ee-brcox Bryan Cox
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: