Skip to content

Commit 5b7cf28

Browse files
prithvipatil97openshift-cherrypick-robot
authored andcommitted
Fix formatting in AWS logging configuration documentation
backslash () is missing from AWS object storage 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-aws_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-aws by running the following command: $ oc create secret generic logging-loki-aws \ 1 --from-literal=bucketnames="<bucket_name>" \ --from-literal=endpoint="<aws_bucket_endpoint>" \ --from-literal=access_key_id="<aws_access_key_id>" \ --from-literal=access_key_secret="<aws_access_key_secret>" \ --from-literal=region="<aws_region_of_your_bucket>" --from-literal=forcepathstyle="true" The backslash () is missing from line no. 6 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-aws by running the following command: ~~~ $ oc create secret generic logging-loki-aws \ 1 --from-literal=bucketnames="<bucket_name>" \ --from-literal=endpoint="<aws_bucket_endpoint>" \ --from-literal=access_key_id="<aws_access_key_id>" \ --from-literal=access_key_secret="<aws_access_key_secret>" \ --from-literal=region="<aws_region_of_your_bucket>" \ --from-literal=forcepathstyle="true" ~~~
1 parent 2515097 commit 5b7cf28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/logging-loki-storage-aws.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ $ oc create secret generic logging-loki-aws \ #<1>
2626
--from-literal=endpoint="<aws_bucket_endpoint>" \
2727
--from-literal=access_key_id="<aws_access_key_id>" \
2828
--from-literal=access_key_secret="<aws_access_key_secret>" \
29-
--from-literal=region="<aws_region_of_your_bucket>"
29+
--from-literal=region="<aws_region_of_your_bucket>" \
3030
--from-literal=forcepathstyle="true" # <2>
3131
----
3232
<1> `logging-loki-aws` is the name of the secret.

0 commit comments

Comments
 (0)