Uploaded image for project: 'Observability Documentation'
  1. Observability Documentation
  2. OBSDOCS-1724

better detail on how to list the namespace in Cross project alert example

XMLWordPrintable

    • 1
    • False
    • Hide

      None

      Show
      None
    • False

      as per the example in the doc there is not a clear details on how to specify the namespace, a little improvement in the exampel will be really helpful

      Current example

      apiVersion: v1
      kind: ConfigMap
      metadata:
        name: user-workload-monitoring-config
        namespace: openshift-user-workload-monitoring
      data:
        config.yaml: |
          namespacesWithoutLabelEnforcement: [ <namespace> ] 
          # ...

       

      Updated example

      apiVersion: v1
      kind: ConfigMap
      metadata:
        name: user-workload-monitoring-config
        namespace: openshift-user-workload-monitoring
      data:
        config.yaml: |
          namespacesWithoutLabelEnforcement: [ <ns1>, <ns2>] 
          # ...

              eromanov@redhat.com Eliska Romanova
              rhn-support-ssonigra Sonigra Saurab
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: