-
Notifications
You must be signed in to change notification settings - Fork 70
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
flatcar/v1_2_exp: Add clevis support #523
Conversation
config/flatcar/v1_2_exp/translate.go
Outdated
// Return FieldFilters for this spec. | ||
func (c Config) FieldFilters() *cutil.FieldFilters { | ||
return &fieldFilters | ||
return &cutil.FieldFilters{} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return &cutil.FieldFilters{} | |
return nil |
Thanks for the PR! The only thing I would see is that the other translate.go
files use nil
here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed it to nil
here. (This also required a tiny change to the test logic, handling the case of FieldFilters()
returning nil
.)
ed4e2cf
to
c8b2584
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thank you for the update!
The changes lgtm, but could you add a comment in the release notes please :)
Edit: also looks like we might need to re run generate to get updated docs (CI pointed it out).
c8b2584
to
a8c311b
Compare
@prestist Thanks! I added an entry in the release notes and ran |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for working on this. Overall LGTM!
This PR updates
flatcar/v1_2_exp
to reflect Flatcar can handle disk encryption with clevis, since this commit.