File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
observability/logging/logging-6.0 Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ $ oc create sa collector -n openshift-logging
92
92
+
93
93
[source,shell]
94
94
----
95
- $ oc adm policy add-cluster-role-to-user logging-collector-logs-writer -z collector
95
+ $ oc adm policy add-cluster-role-to-user logging-collector-logs-writer -z collector -n openshift-logging
96
96
----
97
97
98
98
. Install the Cluster Observability Operator.
@@ -116,10 +116,9 @@ spec:
116
116
+
117
117
[source,shell]
118
118
----
119
- $ oc project openshift-logging
120
- $ oc adm policy add-cluster-role-to-user collect-application-logs -z collector
121
- $ oc adm policy add-cluster-role-to-user collect-audit-logs -z collector
122
- $ oc adm policy add-cluster-role-to-user collect-infrastructure-logs -z collector
119
+ $ oc adm policy add-cluster-role-to-user collect-application-logs -z collector -n openshift-logging
120
+ $ oc adm policy add-cluster-role-to-user collect-audit-logs -z collector -n openshift-logging
121
+ $ oc adm policy add-cluster-role-to-user collect-infrastructure-logs -z collector -n openshift-logging
123
122
----
124
123
125
124
. Create a `ClusterLogForwarder` CR to configure log forwarding:
You can’t perform that action at this time.
0 commit comments