Skip to content

Conversation

@openshift-cherrypick-robot

This is an automated cherry-pick of #101291

/assign briandooley

- 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
~~~
@openshift-ci openshift-ci bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Nov 6, 2025
@openshift-ci
Copy link

openshift-ci bot commented Nov 6, 2025

@openshift-cherrypick-robot: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@briandooley briandooley merged commit 2515097 into openshift:standalone-logging-docs-6.3 Nov 6, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants