Skip to content

Conversation

@openshift-cherrypick-robot

This is an automated cherry-pick of #101286

/assign dfitzmau

- Command structure needs to be corrected in Loki Object Storage documentation.
- Here is the documentation link: https://docs.redhat.com/en/documentation/red_hat_openshift_logging/6.3/html/configuring_logging/configuring-lokistack-storage#loki-create-object-storage-secret-cli_configuring-the-log-store  Current Status:

Create a secret in the directory that contains your certificate and key files by running the following command:
~~~
$ oc create secret generic -n openshift-logging <your_secret_name> \
 --from-file=tls.key=<your_key_file>
 --from-file=tls.crt=<your_crt_file>
 --from-file=ca-bundle.crt=<your_bundle_file>
 --from-literal=username=<your_username>
 --from-literal=password=<your_password>
~~~

- In the above commands, the "- -" signs are incorrectly placed below the "$" symbol.
- However, they should be aligned parallel to the "oc" command, where the command begins.
- Here is the updated look for all these commands:

Create a secret in the directory that contains your certificate and key files by running the following command:
~~~
$ oc create secret generic -n openshift-logging <your_secret_name> \
  --from-file=tls.key=<your_key_file>
  --from-file=tls.crt=<your_crt_file>
  --from-file=ca-bundle.crt=<your_bundle_file>
  --from-literal=username=<your_username>
  --from-literal=password=<your_password>
~~~

Verify that a secret was created by running the following command:
~~~
$ oc get secret -n openshift-logging
~~~

The commands will work as it is, but the structure is incorrect.

[new] commit -Fix command formatting in secret creation example

Added the backslash (\) in all lines.
@openshift-ci openshift-ci bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Nov 11, 2025
@openshift-ci
Copy link

openshift-ci bot commented Nov 11, 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.

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

Labels

size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants