You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Several commands are included within a single code block.
Here is the documentation link:
https://docs.redhat.com/en/documentation/red_hat_openshift_logging/6.3/html/installing_logging/installing-logging#installing-logging-operator-cli_installing-logging
- As per the standard rule, using more than one command per code block is not recommended.
- Please check Standard rule [2] for reference:
[2] https://github.com/openshift/openshift-docs/blob/main/contributing_to_docs/doc_guidelines.adoc#single-command-per-code-block
- When commands are bunched together, the copy to clipboard functionality might not break the lines up correctly.
- Using a single command per code block makes it copy-and-paste friendly.
- Hence, we need to mention 3 separate code blocks for above 3 commands. Here is the updated look of the documentation:
~~~
$ oc adm policy add-cluster-role-to-user logging-collector-logs-writer -z logging-collector -n openshift-logging
~~~
~~~
$ oc adm policy add-cluster-role-to-user collect-application-logs -z logging-collector -n openshift-logging
~~~
~~~
$ oc adm policy add-cluster-role-to-user collect-infrastructure-logs -z logging-collector -n openshift-logging
~~~
0 commit comments