feat: disable gRPC service config DNS TXT lookups by default (#26077)

Signed-off-by: Valentin Stoican <vstoican@ripe.net>
Co-authored-by: Valentin Stoican <vstoican@ripe.net>
This commit is contained in:
Valentin Stoican
2026-01-27 10:29:38 +01:00
committed by GitHub
parent 9c108cbaa0
commit c2e594c5f5
20 changed files with 360 additions and 0 deletions

View File

@@ -54,6 +54,12 @@ ENV PATH=/dist:/go/bin:/usr/local/go/bin:/go/src/github.com/argoproj/argo-cd/dis
ENV GOROOT=/usr/local/go
ENV GOPATH=/go
# Disable gRPC service config lookups via DNS TXT records to prevent excessive
# DNS queries for _grpc_config.<hostname> which can cause timeouts in dual-stack
# environments. This can be overridden via argocd-cmd-params-cm ConfigMap.
# See https://github.com/argoproj/argo-cd/issues/24991
ENV GRPC_ENABLE_TXT_SERVICE_CONFIG=false
# Install build and test dependencies
COPY hack/install.sh hack/tool-versions.sh go.* ./
COPY hack/installers installers