Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions modules/ROOT/pages/tutorial-sync-gateway-manage.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,14 @@ $ curl -X POST \
http://localhost:4985/_sgcollect_info \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-H 'Authorization: Basic c3luY19nYXRld2F5OnBhc3N3b3Jk' \
-d '{
"output_dir": "/home/sync_gateway/logs",
"upload": false
}’
----

NOTE: When you set `admin_interface_authentication` to `true` in your Sync Gateway configuration, include authentication headers in your requests.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would drop this line, I'd always expect that especially k8s uses are using admin authentication. If they aren't using authentication (this should never be the case!) then setting a an authorization header is unnecessary.

Especially because this is k8s documentation and they are more likely to have the correct certifcation information, I would have the SG urls always use https, so a find and replace on http://localhost:4985 to https://localhost:4985 would be appropriate.

I even think using tls for non Sync Gateway documentation is correct because folks should always configure Sync Gateway with TLS, and you have to really opt out to do this.

admin_interface_authentication is true by default.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made some changes to the file.



==== Monitor the status of the log collection
Expand Down