Uninstalling License Service Reporter

You can uninstall the License Service Reporter with one of the following methods:

Uninstalling License Service Reporter with the console

Complete the following steps to uninstall the License Service Reporter with the Red Hat OpenShift cluster console:

  1. Log in to your Red Hat OpenShift cluster console.

  2. Click Operators > Installed Operators.

  3. Set Project to All projects.

  4. Select the IBM License Service Reporter name in the Installed Operators page.

  5. Click Actions > Uninstall Operator.

  6. Select the Delete all operand instances for this operator option, and click Uninstall.

Uninstalling License Service Reporter with the CLI

Complete the following steps to uninstall the License Service Reporter with the CLI:

  1. Log in to the OpenShift cluster using oc login command, and switch to the namespace where you deployed the License Service Reporter.

     oc login --token=<token> --server=<server-url>
     oc project <enter the namespace of the License Service Reporter>
    
  2. Create an environment variable with the namespace where you deployed the License Service Reporter.

    ibmLicenseServiceReporterNamespace=<enter the namespace of the License Service Reporter>
    
  3. Delete the IBMLicenseServiceReporter instance, csv, and subscription of the License Service Reporter.

     oc delete ibmlicenseservicereporter instance
    
     oc delete csv ibm-license-service-reporter-operator.v4.2.2 -n ${ibmLicenseServiceReporterNamespace}
    
     oc delete subscription ibm-license-service-reporter-operator -n ${ibmLicenseServiceReporterNamespace}