Skip to content

implement API gateway DNS auto-registration and service mapping#23647

Open
bharath-k1999 wants to merge 6 commits into
mainfrom
bharath/api-gateway-auto-dns
Open

implement API gateway DNS auto-registration and service mapping#23647
bharath-k1999 wants to merge 6 commits into
mainfrom
bharath/api-gateway-auto-dns

Conversation

@bharath-k1999

Copy link
Copy Markdown
Contributor

Description

Testing & Reproduction steps

Links

PR Checklist

  • updated test coverage
  • external facing docs updated
  • appropriate backport labels added
  • not a security concern

PCI review checklist

  • I have documented a clear reason for, and description of, the change I am making.

  • If applicable, I've documented a plan to revert these changes if they require more than reverting the pull request.

  • If applicable, I've documented the impact of any changes to security controls.

    Examples of changes to security controls include using new access control methods, adding or removing logging pipelines, etc.

@bharath-k1999 bharath-k1999 requested review from a team as code owners June 9, 2026 04:45
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

Go Test Coverage: 55.4%

See the workflow run for the full per-package breakdown and downloadable HTML report.

@codecov-commenter

codecov-commenter commented Jun 9, 2026

Copy link
Copy Markdown

Codecov Report

Caution

This repository is currently using the Sentry GitHub App to receive Codecov PR comments. This integration will be deprecated on July 8, 2026. Please install the Codecov GitHub App to continue receiving coverage reports on your pull requests.
❌ Patch coverage is 61.34185% with 121 lines in your changes missing coverage. Please review.
✅ Project coverage is 55.72%. Comparing base (c2cc6a1) to head (57b93c1).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
agent/consul/state/catalog.go 61.29% 42 Missing and 18 partials ⚠️
agent/consul/leader_connect.go 60.78% 16 Missing and 4 partials ⚠️
agent/dns.go 0.00% 19 Missing ⚠️
agent/ui_endpoint.go 0.00% 8 Missing ⚠️
agent/consul/health_endpoint.go 28.57% 5 Missing ⚠️
agent/proxycfg/api_gateway.go 88.37% 3 Missing and 2 partials ⚠️
agent/xds/listeners_apigateway.go 81.81% 2 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #23647      +/-   ##
==========================================
- Coverage   65.55%   55.72%   -9.84%     
==========================================
  Files         944      777     -167     
  Lines      114480    97952   -16528     
==========================================
- Hits        75049    54585   -20464     
- Misses      32434    37955    +5521     
+ Partials     6997     5412    -1585     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

…support

- Implement zero-touch downstream TLS termination for API Gateway, allowing automatic use of the Connect CA leaf certificate when no custom certificates are provided.
- Update DNS SAN generation to include newly seen route hostnames and ensure deterministic output.
- Preserve inline certificates during gateway reconciles to prevent loss of configuration.
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