Secret validation error in TLS termination mode with Envoy Gateway Standalone #5575
Merged
arkodg merged 7 commits intoenvoyproxy:mainfrom Mar 28, 2025
Merged
Conversation
Signed-off-by: Armin Abfalterer <armin.abfalterer@united-security-providers.ch>
Contributor
|
thanks, this is great !
|
0f19877 to
b83082b
Compare
Signed-off-by: Armin Abfalterer <armin.abfalterer@united-security-providers.ch>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5575 +/- ##
==========================================
+ Coverage 65.26% 65.30% +0.03%
==========================================
Files 213 213
Lines 34073 34076 +3
==========================================
+ Hits 22237 22252 +15
+ Misses 10501 10491 -10
+ Partials 1335 1333 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Armin Abfalterer <armin.abfalterer@united-security-providers.ch>
arkodg
previously approved these changes
Mar 25, 2025
rudrakhp
reviewed
Mar 25, 2025
Signed-off-by: Armin Abfalterer <armin.abfalterer@united-security-providers.ch>
rudrakhp
approved these changes
Mar 25, 2025
arkodg
approved these changes
Mar 25, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
Fix: Fix secret validation error in TLS termination mode with Envoy Gateway Standalone.
What this PR does / why we need it:
Envoy Gateway Standalone fails to validate TLS secrets for HTTPS listeners configured with TLS termination. The validation logic at https://github.com/envoyproxy/gateway/blob/main/internal/gatewayapi/validate.go#L501-L510 expects the type field to be set to corev1.SecretTypeTLS, but the type is not populated when loading KindSecret resources from the Gateway configuration.
Example configuration
Release Notes: Yes