Skip to content

Commit 02857cc

Browse files
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: ~~~ ~~~ --------------
1 parent 061b11f commit 02857cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/logging-loki-cli-install.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ apiVersion: v1
8080
kind: Namespace
8181
metadata:
8282
name: openshift-logging # <1>
83-
annotations:
83+
annotations:
8484
openshift.io/node-selector: ""
85-
labels:
85+
labels:
8686
openshift.io/cluster-logging: "true"
8787
openshift.io/cluster-monitoring: "true" # <2>
8888
----

0 commit comments

Comments
 (0)