From 264f36d00a2a4faa8c6bcecdc1ab324bb461e96f Mon Sep 17 00:00:00 2001 From: Prithviraj Patil <116709298+prithvipatil97@users.noreply.github.com> Date: Fri, 3 Jan 2025 17:14:26 +0530 Subject: [PATCH] Incorrect configuration of namespace object for the Red Hat OpenShift Logging Operator - Incorrect indentation mentioned in the step5 "namespace object for the Red Hat OpenShift Logging Operator" [2] of "Installing Logging and the Loki Operator using the CLI" documentation [1]. - Here are the documentation links: [1] https://docs.openshift.com/container-platform/4.14/observability/logging/log_storage/installing-log-storage.html#logging-loki-cli-install_installing-log-storage [2] https://docs.openshift.com/container-platform/4.14/observability/logging/log_storage/installing-log-storage.html#logging-loki-cli-install_installing-log-storage:~:text=Create%20a%20namespace%20object%20for%20the%20Red%20Hat%20OpenShift%20Logging%20Operator%3A - Here is the Step5: ~~~ apiVersion: v1 kind: Namespace metadata: name: openshift-logging annotations: <<== Incorrect Indentation openshift.io/node-selector: "" labels: <<== Incorrect Indentation openshift.io/cluster-logging: "true" openshift.io/cluster-monitoring: "true" ~~~ - `annotations`, and `labels` should be indented under the `metadata` field and inline with `name`. - Here is the correct configuration of Step5: ~~~ ~~~ - We need to perform this change under our standard documentation. - Please refer Step1 from the same documentation for reference. -------- 1. Create a Namespace object for Loki Operator: ~~~ ~~~ -------------- --- modules/logging-loki-cli-install.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/logging-loki-cli-install.adoc b/modules/logging-loki-cli-install.adoc index 54a037b920..1d8fde64cb 100644 --- a/modules/logging-loki-cli-install.adoc +++ b/modules/logging-loki-cli-install.adoc @@ -80,9 +80,9 @@ apiVersion: v1 kind: Namespace metadata: name: openshift-logging # <1> -annotations: + annotations: openshift.io/node-selector: "" -labels: + labels: openshift.io/cluster-logging: "true" openshift.io/cluster-monitoring: "true" # <2> ----