-
Couldn't load subscription status.
- Fork 47
✨ Add EncryptionConfig support to RKE2ControlPlane #758
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
Conversation
099d4e2 to
44689c8
Compare
|
E2E tested it: RKE2ControlPlane part: secretsEncryption:
encryptionKeySecret:
name: enc-secret
namespace: xyz-nonprod-4t9jm
provider: secretbox# rke2 secrets-encrypt status
Encryption Status: Enabled
Current Rotation Stage: start
Server Encryption Hashes: All hashes match
Active Key Type Name
------ -------- ----
* XSalsa20-POLY1305 enckey |
6f7ac8b to
3d1d6d4
Compare
|
@k0da thanks for PR, can you take a look at failing tests and fix them? |
I fixed v1alpha1 conversion and run tests locally, they passed now. |
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 adding the documentation.
This commit adds RKE2ControlPlane.spec.serverConfig.secretsEncryption property. This allows to specify provider type (aescbc or secretbox) and load encryption key from a secret. Signed-off-by: Dinar Valeev <[email protected]>
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.
@k0da thank you for working on this!
This commit adds RKE2ControlPlane.spec.serverConfig.secretsEncryption property.
This allows to specify provider type (aescbc or secretbox) and load encryption key from a secret.
kind/feature
What this PR does / why we need it:
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:
Checklist: