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

RH-OBS resources are not accessed unless the full API group is specified

XMLWordPrintable

    • Product / Portfolio Work
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Title: RH-OBS resources are not accessed unless the full API group is specified

      Description: It is not possible to list/edit/access Red Hat OpenShift Observability (RH-OBS) custom resources using the standard oc get <resource_kind> command. The command fails unless the resource's full API group (<resource>.<api_group>) is provided.

       

      Example: 

      Below commands do not list the rhobs resources:

       

      $ oc get alertmanagerconfig
      $ oc get alertmanager
      $ oc get monitoringstack
      $ oc get prometheusrule

       

      But below command does:

      $ oc get alertmanagerconfig.monitoring.rhobs
      $ oc get alertmanager.monitoring.rhobs
      $ oc get monitoringstack.monitoring.rhobs
      $ oc get prometheusrule.monitoring.rhobs

      Expected behaviour:

      Below commands should list all the resources irrespective of the api groups:

      $ oc get alertmanagerconfig
      $ oc get alertmanager
      $ oc get monitoringstack
      $ oc get prometheusrule 

       

       

              Unassigned Unassigned
              rhn-support-amanverm Aman Dev Verma
              None
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: