-
Notifications
You must be signed in to change notification settings - Fork 48
✨ Add Gzip Compression Option for User Data #649
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
✨ Add Gzip Compression Option for User Data #649
Conversation
625a518 to
3adebe0
Compare
|
Thanks for accepting this feature request and taking care of the implementation. Could you also add support for compression on ignition-based system as discussed in the issue: #639 (comment) |
4a5be12 to
31b8cb1
Compare
b6d73a2 to
3737458
Compare
6f840e4 to
f7c3b80
Compare
Signed-off-by: Furkat Gofurov <[email protected]>
Signed-off-by: Furkat Gofurov <[email protected]>
…n field Signed-off-by: Furkat Gofurov <[email protected]>
Signed-off-by: Furkat Gofurov <[email protected]>
Signed-off-by: Furkat Gofurov <[email protected]> Authored-by: @zioc
8ce2dab to
10fc55c
Compare
…on of CAPRKE2 is out Signed-off-by: Furkat Gofurov <[email protected]>
10fc55c to
099492e
Compare
anmazzotti
left a comment
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.
Nitpicking the default value for the new field, but rest looks all good. Nice work and thank you for adding the documentation as well!
Signed-off-by: Furkat Gofurov <[email protected]>
|
Please open a follow-up issue about tests improvement we discussed yesterday |
@alexander-demicev filed #693 to track it. |
…ld in templates New version of CAPRKE2 (v0.19.0) is out, hence we can now remove previous version template introduced in rancher#649 to workaround e2e complications. Signed-off-by: Furkat Gofurov <[email protected]>
…ld in templates New version of CAPRKE2 (v0.19.0) is out, hence we can now remove previous version template introduced in rancher#649 to workaround e2e complications. Signed-off-by: Furkat Gofurov <[email protected]>
What this PR does / why we need it:
This PR introduces a new boolean field,
gzipUserData, in theRKE2ConfigSpec, allowing users to enable gzip compression for cloud-init user data in the RKE2 bootstrap process. This change is based on this commit, where gzip compression was controlled via a custom annotation. The difference is, this solution utilizes a simpler approach based on new boolean field.The new
gzipUserDatafield allows users to enable gzip compression for user data optionally. Few things to highlight:gzipUserDataboolean field in theRKE2ConfigSpec.gzipUserDatais set tofalse, ensuring existing configurations are not affected unless explicitly enabled by the user.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 #639
Special notes for your reviewer:
Checklist: