Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-3517

[RN] `dsc` should not delete CheCluster namespace if it is `openshift-operators`

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.3.0.GA
    • 3.3.0.GA
    • docs
    • False
    • None
    • False
    • Hide
      = dsc server:delete --delete-namespace might remove other Operators

      Before this update, `dsc server:delete --delete-namespace` deleted any namespace in which the {prod-short} instance had been installed, even the `openshift-operators` namespace if inadvertently chosen during installation. Removal of the `openshift-operators` namespace might result in unintended removal of other installed Operators. With this update, the `dsc server:delete` command with the `--delete-namespace` option does not remove the `openshift-operators` namespace.

      NOTE: The default namespace for {prod-short} is `openshift-devspaces`. The `dsc` CLI tool installs {prod-short} in the correct namespace by default. To correctly install {prod-short} in the OpenShift web console, see the link:https://access.redhat.com/documentation/en-us/red_hat_openshift_dev_spaces/3.3/html-single/administration_guide/index#installing-devspaces-on-openshift-using-the-web-console[administration guide].
      Show
      = dsc server:delete --delete-namespace might remove other Operators Before this update, `dsc server:delete --delete-namespace` deleted any namespace in which the {prod-short} instance had been installed, even the `openshift-operators` namespace if inadvertently chosen during installation. Removal of the `openshift-operators` namespace might result in unintended removal of other installed Operators. With this update, the `dsc server:delete` command with the `--delete-namespace` option does not remove the `openshift-operators` namespace. NOTE: The default namespace for {prod-short} is `openshift-devspaces`. The `dsc` CLI tool installs {prod-short} in the correct namespace by default. To correctly install {prod-short} in the OpenShift web console, see the link: https://access.redhat.com/documentation/en-us/red_hat_openshift_dev_spaces/3.3/html-single/administration_guide/index#installing-devspaces-on-openshift-using-the-web-console [administration guide].
    • Bug Fix
    • Done

    Description

      Synced from Eclipse Che issue

      https://github.com/eclipse/che/issues/21802

      Is your task related to a problem? Please describe

      chectl server:delete --delete-namespace leads to deleting CheCluster namespace.
      If it is openshift-operators then all installed operators will be deleted as well.

      Describe the solution you'd like

      Don't delete CheCluster namespace if it is openshift-operators

      Describe alternatives you've considered

      No response

      Additional context

      No response

      Attachments

        Activity

          People

            rhn-ecs-pkovar Petr Kovar (Inactive)
            jiralint.codeready Bot Codeready
            Jana Vrbkova Jana Vrbkova
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: