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

Backport of Add stricter validation and some normalization code for API Gateway ConfigEntries into release/1.15.x #16312

Conversation

hc-github-team-consul-core
Copy link
Collaborator

Backport

This PR is auto-generated from #16304 to be assessed for backporting due to the inclusion of the label backport/1.15.

WARNING automatic cherry-pick of commits failed. Commits will require human attention.

merge conflict error: unable to process merge commit: "1945da274ab88a654739ab01515e3149a6ea6d0a", automatic backport requires rebase workflow

The below text is copied from the body of the original PR.


Description

I added stricter validation on writes for our config entries and also added some better normalization code. While most of these errors are already handled by setting invalid statuses on the config entries at reconciliation, this surfaces configuration errors quicker and also makes our reliant xDS code a bit more robust (for example, we weren't re-checking the DNS hostnames in certificates for later SNI generation, which could make envoy blow up).

This is stacked on #16300.

PR Checklist

  • updated test coverage
  • external facing docs updated
  • not a security concern

Overview of commits

@hc-github-team-consul-core hc-github-team-consul-core force-pushed the backport/api-gateway-stricter-validation/marginally-funky-starfish branch from d2bd8d6 to 663bc25 Compare February 17, 2023 19:22
@github-actions github-actions bot added the theme/envoy/xds Related to Envoy support label Feb 17, 2023
Copy link
Collaborator

Choose a reason for hiding this comment

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

Auto approved Consul Bot automated PR

@andrewstucki
Copy link
Contributor

Closed with manual backport in #16317 -- sorry about my sloppy merge commits that are freaking out the backport assistant.

@andrewstucki andrewstucki deleted the backport/api-gateway-stricter-validation/marginally-funky-starfish branch February 17, 2023 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/envoy/xds Related to Envoy support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants