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

NET-10190 & NET-10191 - allow consul dataplane to be run as a DNS proxy without Envoy or XDS #571

Merged
merged 15 commits into from
Jul 11, 2024

Conversation

jmurret
Copy link
Member

@jmurret jmurret commented Jul 1, 2024

This PR adds a to level mode flag which has the follow characteristics:

  • Options available are sidecar and dns-proxy. defaults to sidecar
  • When set to sidecar:
    • DNS Server, xDS Server, and Envoy are enabled
    • it validates -consul-dns-bind-addr and equivalent environment variable must be set to the loopback address
  • When set to dns-proxy
    • only DNS Server is enabled. xDS Server and Envoy are disabled.
    • consul-dns-bind-addr and equivalent environment variable can be set to other values besides the loopback address.

Copy link
Collaborator

@dhiaayachi dhiaayachi left a comment

Choose a reason for hiding this comment

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

Thank you for working on this @jmurret, some nitpicks but nothing blocking 🚀

cmd/consul-dataplane/main.go Outdated Show resolved Hide resolved
cmd/consul-dataplane/main.go Outdated Show resolved Hide resolved
Co-authored-by: Dhia Ayachi <dhia@hashicorp.com>
@jmurret jmurret marked this pull request as ready for review July 9, 2024 01:35
@jmurret jmurret requested a review from a team as a code owner July 9, 2024 01:35
@jmurret jmurret merged commit 6961d4e into main Jul 11, 2024
42 checks passed
@jmurret jmurret deleted the jm/NET-10195 branch July 11, 2024 20:08
@jmurret jmurret changed the title NET-10195 - allow consul dataplane to be run as a DNS proxy without Envoy or XDS NET-10195 &NET-10190 - allow consul dataplane to be run as a DNS proxy without Envoy or XDS Jul 18, 2024
@jmurret jmurret changed the title NET-10195 &NET-10190 - allow consul dataplane to be run as a DNS proxy without Envoy or XDS NET-10190 &NET-10191 - allow consul dataplane to be run as a DNS proxy without Envoy or XDS Jul 18, 2024
@jmurret jmurret changed the title NET-10190 &NET-10191 - allow consul dataplane to be run as a DNS proxy without Envoy or XDS NET-10190 & NET-10191 - allow consul dataplane to be run as a DNS proxy without Envoy or XDS Jul 18, 2024
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