-
Notifications
You must be signed in to change notification settings - Fork 38.6k
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
encryptionconfig: detect typos #124912
encryptionconfig: detect typos #124912
Conversation
/hold For API review since this is not technically backwards compatible. |
....io/apiserver/pkg/server/options/encryptionconfig/testdata/invalid-configs/invalid-typo.yaml
Show resolved
Hide resolved
staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go
Outdated
Show resolved
Hide resolved
some prior art linked from #82924:
The consequences of typos in this config file are Really Bad™, so I think there's good cause to be strict. I'm trying to think if there's any benefit to phasing this in over time at all... the only people an immediate tightening would impact in a problematic way are folks who upgraded their API server with no test of their existing invalid config. |
Signed-off-by: Monis Khan <mok@microsoft.com>
e59f734
to
2503fa5
Compare
I do not think people would notice a warning in the logs, and if someone really did not care about the typo and just wanted the server to start, they could delete the lines that were invalid. |
I think I agree |
/hold cancel |
This PR may require API review. If so, when the changes are ready, complete the pre-review checklist and request an API review. Status of requested reviews is tracked in the API Review project. |
/lgtm |
LGTM label has been added. Git tree hash: 12cec93fdf914ac783aa61a3f6192cf1670d85b7
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: enj, liggitt The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/kind bug
/kind api-change
/triage accepted
/sig auth
/assign liggitt