Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pcr guides to use encode-uri cli for managing certificates #18536

Merged
merged 3 commits into from May 16, 2024

Conversation

kathancox
Copy link
Contributor

@kathancox kathancox commented May 10, 2024

Fixes DOC-9774

This PR adds the encode-uri command to the pcr documentation as an alternative to copying certificates between clusters.

Right now, we're not including a reference page for this command as the interface might be consolidated with another command.

Refer to the Files Changed box below for rendered docs page previews of the changes.

Copy link

netlify bot commented May 10, 2024

Deploy Preview for cockroachdb-interactivetutorials-docs canceled.

Name Link
🔨 Latest commit d5bc77f
🔍 Latest deploy log https://app.netlify.com/sites/cockroachdb-interactivetutorials-docs/deploys/66465a85667438000803ceaf

Copy link

netlify bot commented May 10, 2024

Deploy Preview for cockroachdb-api-docs canceled.

Name Link
🔨 Latest commit d5bc77f
🔍 Latest deploy log https://app.netlify.com/sites/cockroachdb-api-docs/deploys/66465a85fdb275000825b624


You can do this by either:

- [Using the `cockroach encode-uri` command to generate a connection string containing the certificate](#generate-a-connection-string-containing-the-certificate).
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I created two subsections here and kept the former "Copy certificates" as a different option. Happy to remove if we prefer.

Copy link

netlify bot commented May 10, 2024

Netlify Preview

Name Link
🔨 Latest commit d5bc77f
🔍 Latest deploy log https://app.netlify.com/sites/cockroachdb-docs/deploys/66465a8502963e0008cb33e9
😎 Deploy Preview https://deploy-preview-18536--cockroachdb-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@stevendanna stevendanna left a comment

Choose a reason for hiding this comment

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

Overall looks good.

src/current/v24.1/set-up-physical-cluster-replication.md Outdated Show resolved Hide resolved
src/current/v24.1/set-up-physical-cluster-replication.md Outdated Show resolved Hide resolved

{% include_cached copy-clipboard.html %}
~~~ shell
cockroach encode-uri {replication user}:{password}@{cluster B node IP or hostname}:26257 --ca-cert certs/ca.crt --inline
Copy link
Contributor

Choose a reason for hiding this comment

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

If you wanted you could make the port a parameter too.

@kathancox kathancox merged commit d822447 into main May 16, 2024
6 checks passed
@kathancox kathancox deleted the encode-uri-pcr branch May 16, 2024 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants