examples: Fix deprecations/warnings in configs#13503
examples: Fix deprecations/warnings in configs#13503mattklein123 merged 4 commits intoenvoyproxy:masterfrom
Conversation
mattklein123
left a comment
There was a problem hiding this comment.
Great thanks. cc @htuch it would be good to understand why this wasn't failing by default in config checking.
|
@mattklein123 there are some further warnings left, im happy to land this and address after (if tests pass) - or i can go through the remaining ones |
|
We can just land this. I would still like to understand why we are not failing on these warnings in the config test, but we can look into that separately. |
|
There are still dangling references to v2 in the examples. These should be bumped to v3. |
|
@moderation cool, ill update... |
|
(Would still like to figure out why this is not failing by default) |
|
@mattklein123 are you asking:
|
|
see #13542 |
|
I'm fairly sure that (1) has been implemented already for using deprecated fields. I know @alyssawilk fixed this to fail by default at some point, but I'm guessing it's somehow not working for the typed_config warnings for v2 types. For (2) I'm just suggesting that if we are using a deprecated typed_config we should fail the config_test by default like we do for other deprecated config. |
|
@htuch see envoy/test/config_test/config_test.cc Lines 75 to 84 in cb7691c |
|
@mattklein123 @htuch please can we move to the ticket - rather than a landed PR, thanks |
|
I'll take care of this when I work on (2). |
Signed-off-by: Ryan Northey <ryan@synca.io> Signed-off-by: phlax <phlax@users.noreply.github.com> Signed-off-by: Antonio Vicente <avd@google.com>
Signed-off-by: Ryan Northey <ryan@synca.io> Signed-off-by: Christoph Pakulski <christoph@tetrate.io> Signed-off-by: phlax <phlax@users.noreply.github.com>
Signed-off-by: Ryan Northey <ryan@synca.io> Signed-off-by: phlax <phlax@users.noreply.github.com> Signed-off-by: Christoph Pakulski <christoph@tetrate.io>
Signed-off-by: Ryan Northey ryan@synca.io
Commit Message: examples: Fix deprecations/warnings in configs
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Runtime guard:]
[Optional Fixes #Issue] Fix #13467
[Optional Deprecated:]