Skip to content

Commit 80411e8

Browse files
[OBSDOCS-2682] Fix command formatting for creating logging-loki-odf secret
New line continuation character () is missing from ODF Object Store secret creation command Here is the documentation link: https://docs.redhat.com/en/documentation/red_hat_openshift_logging/6.3/html/configuring_logging/configuring-lokistack-storage#logging-loki-storage-odf_configuring-the-log-store The backslash () must be set at the end of a line, as it is a line continuation character. Here is the current look: Create an object storage secret with the name logging-loki-odf by running the following command: $ oc create -n openshift-logging secret generic logging-loki-odf \ 1 --from-literal=access_key_id="<access_key_id>" \ --from-literal=access_key_secret="<secret_access_key>" \ --from-literal=bucketnames="<bucket_name>" \ --from-literal=endpoint="https://<bucket_host>:<bucket_port>" --from-literal=forcepathstyle="true" 2 The backslash () is missing from line no. 5 As backslash is a line continuation character, so we need to add it to the command. So it will complete the command. Here is the updated look: Create an object storage secret with the name logging-loki-odf by running the following command: $ oc create -n openshift-logging secret generic logging-loki-odf \ 1 --from-literal=access_key_id="<access_key_id>" \ --from-literal=access_key_secret="<secret_access_key>" \ --from-literal=bucketnames="<bucket_name>" \ --from-literal=endpoint="https://<bucket_host>:<bucket_port>" \ --from-literal=forcepathstyle="true" 2
1 parent d683b1c commit 80411e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/logging-loki-storage-odf.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ $ oc create -n openshift-logging secret generic logging-loki-odf \ #<1>
5656
--from-literal=access_key_id="<access_key_id>" \
5757
--from-literal=access_key_secret="<secret_access_key>" \
5858
--from-literal=bucketnames="<bucket_name>" \
59-
--from-literal=endpoint="https://<bucket_host>:<bucket_port>"
59+
--from-literal=endpoint="https://<bucket_host>:<bucket_port>" \
6060
--from-literal=forcepathstyle="true" # <2>
6161
----
6262
<1> `logging-loki-odf` is the name of the secret.

0 commit comments

Comments
 (0)