Uploaded image for project: 'Cluster Observability Operator'
  1. Cluster Observability Operator
  2. COO-152

consoles.operator.openshift.io still contains console-dashboards-plugin after delete the plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • 0.4.1
    • 0.2.0
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • No

      Install COO 0.2.0 and create console-dashboards-plugin 

       

      oc apply -f - <<EOF
      apiVersion: observability.openshift.io/v1alpha1
      kind: UIPlugin
      metadata:
        name: ui-dashboards
      spec:
        type: Dashboards
      EOF
      

       

      % oc get consoleplugins.console.openshift.io          
      NAME                AGE
      console-dashboards-plugin 5m
      monitoring-plugin   6h13m
      % oc get consoles.operator.openshift.io cluster -ojson | jq -r '.spec.plugins'
      [
        "monitoring-plugin",
        "console-dashboards-plugin"
      ] 

      Delete the dashboard UI plugin and check consoleplugins, consoles.operator, consoles.operator still contains the plugin

       

      % oc delete UIPlugin ui-dashboards
      % oc get consoleplugins.console.openshift.io          
      NAME                AGE
      monitoring-plugin   6h13m
      % oc get consoles.operator.openshift.io cluster -ojson | jq -r '.spec.plugins'
      [
        "monitoring-plugin",
        "console-dashboards-plugin"
      ]

       

            gbernal@redhat.com Gabriel Bernal
            hongyli@redhat.com Hongyan Li
            Hongyan Li Hongyan Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: