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

docs: improve private network configuration guide tone and readability #910

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

trly
Copy link

@trly trly commented Jan 22, 2025

  • Revise overview section for clearer explanation of private networks
  • Enhance certificate management section with step-by-step instructions
  • Update validation steps with clear expected outcomes

Pull Request approval

You will need to get your PR approved by at least one member of the Sourcegraph team. For reviews of docs formatting, styles, and component usage, please tag the docs team via the #docs Slack channel.

Copy link

vercel bot commented Jan 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sourcegraph-docs 🛑 Canceled (Inspect) Jan 24, 2025 9:37pm

@trly trly requested review from loujar and marcleblanc2 January 22, 2025 20:38
@trly trly requested a review from Galindo-J January 22, 2025 20:52
@trly trly marked this pull request as ready for review January 22, 2025 21:34
Copy link
Contributor

@loujar loujar left a comment

Choose a reason for hiding this comment

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

Looks great, thanks for taking the time to revamp this guide! I have some suggestions but don't feel obligated to address all of them. Happy to take a second pass through if you do make more changes.

@marcleblanc2 mentioned that we might also want to consider adding a section for configuring docker networks to avoid IP range collision with the host/ network range. I think it would be something as simple as adding a brief note with the following codeblock, but it might also be good to add a link out to docker's documentation

networks:
  default:
    ipam:
      driver: default
      config:
        - subnet: "172.20.2.0/27" #we probably don't want to recommend this CIDR specifically

docs/admin/config/private-network.mdx Outdated Show resolved Hide resolved
docs/admin/config/private-network.mdx Outdated Show resolved Hide resolved
docs/admin/config/private-network.mdx Show resolved Hide resolved
In order for Sourcegraph to respect an organization's self-signed certificates, the private CA root certificate(s) will need to be appended to Sourcegraph's trusted CA root certificate list in `/etc/ssl/certs/ca-certificates.crt`.
When deploying Sourcegraph in private networks, you'll often need to configure TLS certificates to establish trusted
connections with internal services like code hosts. The recommended approach is to configure root CA certificates
through Sourcegraph's site configuration using `tls.external` in the `experimentalFeatures` section.
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we need to check if this will work for executors, or at least add a note that depending on your executor deployment method this might not work.

docs/admin/config/private-network.mdx Outdated Show resolved Hide resolved
docs/admin/config/private-network.mdx Outdated Show resolved Hide resolved
docs/admin/config/private-network.mdx Show resolved Hide resolved
docs/admin/config/private-network.mdx Outdated Show resolved Hide resolved
docs/admin/config/private-network.mdx Outdated Show resolved Hide resolved
docs/admin/config/private-network.mdx Outdated Show resolved Hide resolved
trly added 5 commits January 24, 2025 16:33
- Revise overview section for clearer explanation of private networks
- Enhance certificate management section with step-by-step instructions
- Update validation steps with clear expected outcomes
- Add Docker Compose proxy environment configuration
- Update certificate chain depth documentation
- Add practical certificate extraction command
- Include Cody LLM providers in external connections
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.

2 participants