Skip to content

Commit 22ec56c

Browse files
authored
Merge pull request #86531 from prithvipatil97/patch-15
logging-collector-logs-writer clusterrole is not required to be created manually
2 parents aab09fb + 99ffe89 commit 22ec56c

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

observability/logging/logging-6.0/log6x-about.adoc

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -74,27 +74,6 @@ spec:
7474
$ oc create sa collector -n openshift-logging
7575
----
7676

77-
. Create a `ClusterRole` for the collector:
78-
+
79-
[source,yaml]
80-
----
81-
apiVersion: rbac.authorization.k8s.io/v1
82-
kind: ClusterRole
83-
metadata:
84-
name: logging-collector-logs-writer
85-
rules:
86-
- apiGroups:
87-
- loki.grafana.com
88-
resourceNames:
89-
- logs
90-
resources:
91-
- application
92-
- audit
93-
- infrastructure
94-
verbs:
95-
- create
96-
----
97-
9877
. Bind the `ClusterRole` to the service account:
9978
+
10079
[source,shell]

0 commit comments

Comments
 (0)