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

Need to remove blank line from Create an OpenShift Logging instance YAML Field

XMLWordPrintable

    • 0
    • False
    • Hide

      None

      Show
      None
    • False
    • Important

      apiVersion: logging.openshift.io/v1
      kind: ClusterLogging
      metadata:
        name: instance 
        namespace: openshift-logging 
      spec:
        collection:
          type: vector
        logStore:
          lokistack:
            name: logging-loki
          retentionPolicy:
            application:
              maxAge: 7d
            audit:
              maxAge: 7d
            infra:
              maxAge: 7d
          type: lokistack
        visualization:
          type: ocp-console
          ocpConsole:
            logsLimit: 15  
                                   <<== This is extra blank line
        managementState: Managed
      • One extra line exists between the `visualization` section and the `managementState` field.
      • This extra blank line needs to be removed.
      • There should be no extra newline characters between the `visualization` section and `managementState`.
      • Here is the updated configuration looks:
      apiVersion: logging.openshift.io/v1
      kind: ClusterLogging
      metadata:
        name: instance 
        namespace: openshift-logging 
      spec:
        collection:
          type: vector
        logStore:
          lokistack:
            name: logging-loki
          retentionPolicy:
            application:
              maxAge: 7d
            audit:
              maxAge: 7d
            infra:
              maxAge: 7d
          type: lokistack
        visualization:
          type: ocp-console
          ocpConsole:
            logsLimit: 15  
        managementState: Managed

      I am raising a PR for this documentation bug and removing this extra blank line

              rhn-support-pripatil Prithviraj Patil
              rhn-support-pripatil Prithviraj Patil
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: