mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
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: ~~~ ~~~ --------------
This commit is contained in:
committed by
openshift-cherrypick-robot
parent
d24fa2660d
commit
36bc3f1bfe
@@ -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>
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user