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
[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
0 commit comments