Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-5040

The namespaces should be filled automatically

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Critical Critical
    • None
    • Logging 5.9.0
    • Log Console
    • None
    • False
    • None
    • False
    • NEW
    • NEW
    • Bug Fix

      Description of problem:

      The namespace is Mandatory now. which is not correct.

      when user isn't cluster-admin,  kubernetes_namespace_name is Mandatory. the query should include all namespaces. For example:

      logcli -o raw --bearer-token="${bearer_token}" --tls-skip-verify --addr="https://${lokistack_route}/api/logs/v1/application" query --limit=1 '{log_type="application",kubernetes_namespace_name=~"app-testuser-1|test-log-user1-1706711817"}' 

      when user is cluster-admin,   kubernetes_namespace_name is not Mandatory. we can ignore  namespace or fill in all supported namespaces.

       

      Actual results:

      Expected results:

      The user can query cross all namespaces.

      Additional info:

              gbernal@redhat.com Gabriel Bernal
              rhn-support-anli Anping Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: