-
Notifications
You must be signed in to change notification settings - Fork 156
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
Use yaml.UnmarshalStrict everywhere #3794
Conversation
@alvaroaleman could this lead to compatibility issues with older versions if they persisted unknown fields? |
I think we never removed fields so far, we only added stuff. Can you config @mrIncompetent ? |
How do you wan't me to be configured? |
/pony typo |
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
We replaced So we might want to think about something to ease the operators(The human, not the controller) life in case such an error gets triggered. |
Not sure, I mean the error will contain a "field bla was not found", IMHO that is pretty self-explanatory. IMHO compatibility is mainly an issue if we would want to allow ppl to use the same config files for multiple versions of Kubermatic, but that is not the case. The config files are supposed to be compatible with exactly one version of Kubermatic. And IMHO the burden of forcing everyone to clean up is not a bad thing at all, since it keeps everything tidy Goes to the secrets repo and removes |
the API can not start:
|
Yes, I am fixing up our |
A nice customer experience would be if the customer knows ahead of time if the |
Yes, I absolutely agree. Will add an [Action Needed] release note |
there is another error:
|
/retest |
Tests passed, ptal @mrIncompetent @zreigz |
/approve no-issue |
/lgtm |
LGTM label has been added. Git tree hash: c04c48f616dccf4ee2270671861d0d0322b57e29
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mrIncompetent, zreigz 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 |
What this PR does / why we need it:
This PR makes us use
yaml.UnmarshalStrict
everywhere. This has the advantage that unknown fields cause an error instead of being silently dropped.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Documentation:
Does this PR introduce a user-facing change?:
/assign @zreigz
/assign @nikhita