Closed joshuatcasey closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 29.39%. Comparing base (
c0f1e40
) to head (ad7df9f
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Marking this as draft while I add the code changes
Done
@joshuatcasey, I reviewed and saw that you had gone too far in removing the Supervisor's listener configuration setting and the http listener. The Supervisor needs an http listener to support service mesh configurations where the service mesh provides the TLS termination. The part that was deprecated was only allowing the user to say that they want to skip a validation about how that port is bound.
Rather than add a ton of detailed PR comments about suggested changes, I added a new commit to this PR which puts back the Supervisor's http port but still removes the related deprecated configuration knob.
In that commit, I also removed a little more code related to the log formatting that seemed like it would be unused going forward related to the text
format, and I did a tiny refactor in concierge/deployment.yaml
to remove an unnecessary if
statement.
The overall diffs of this PR vs. main should actually be smaller now.
Remove deprecated deploy options.
Note that
ytt
schemas do not allow you to specify unrecognized options, so there's no need to check whether these additional deprecated values have been provided. This likely means we already have some dead code (now removed in this PR).It also means we don't need code like this to check for deprecated/unrecognized/additional values: