-
Notifications
You must be signed in to change notification settings - Fork 10
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
MGMT-17267: add etcd encryption support #160
base: main
Are you sure you want to change the base?
MGMT-17267: add etcd encryption support #160
Conversation
@mresvanis: This pull request references MGMT-17267 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.18.0" version, but no target version was set. 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 openshift-eng/jira-lifecycle-plugin repository. |
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mresvanis 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 |
2c06b56
to
7d20995
Compare
@mresvanis: This pull request references MGMT-17267 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.18.0" version, but no target version was set. 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 openshift-eng/jira-lifecycle-plugin repository. |
815b53a
to
82525ef
Compare
@mresvanis: This pull request references MGMT-17267 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.18.0" version, but no target version was set. 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 openshift-eng/jira-lifecycle-plugin repository. |
@mresvanis: This pull request references MGMT-17267 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.18.0" version, but no target version was set. 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 openshift-eng/jira-lifecycle-plugin repository. |
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.
Very cool, mostly nits and one very annoying request - to switch to openssl
and drop the dependencies, for FIPS reasons
Is there any reason why we ask the user to provide us with the encryption config for kube-apiserver while we fetch the encryption config for openshift-apiserver and the oauth-apiserver on our own? What stops us from simply fetching the encryption config for kube-apiserver, instead of asking the user to provide us with this config? |
The |
Yep, that makes perfect sense. Could you please explain that in a (non-documenting And add a reference to the |
0337506
to
650c511
Compare
4cad28b
to
a720d72
Compare
4f7d329
to
bfea2bb
Compare
@mresvanis: This pull request references MGMT-17267 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.18.0" version, but no target version was set. 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 openshift-eng/jira-lifecycle-plugin repository. |
@mresvanis: This pull request references MGMT-17267 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.18.0" version, but no target version was set. 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 openshift-eng/jira-lifecycle-plugin repository. |
f9d470a
to
d04d905
Compare
@mresvanis: This pull request references MGMT-17267 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.18.0" version, but no target version was set. 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 openshift-eng/jira-lifecycle-plugin repository. |
/test e2e-aws-ovn-single-node-recert-parallel |
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.
Amazing work, mostly superficial comments
e6a5cbf
to
49bccae
Compare
/test baremetalds-sno-recert-cluster-rename |
49bccae
to
6d738e2
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.
Thanks, small change
cc3c1ec
to
e2fe947
Compare
Signed-off-by: Michail Resvanis <[email protected]>
Signed-off-by: Michail Resvanis <[email protected]>
Signed-off-by: Michail Resvanis <[email protected]>
Signed-off-by: Michail Resvanis <[email protected]>
Signed-off-by: Michail Resvanis <[email protected]>
e2fe947
to
a03c0db
Compare
/lgtm |
/test e2e-aws-ovn-single-node-recert-parallel |
@omertuc I'm not yet sure about what's happening with the conformance tests, but I believe it's related to OCP 4.18 and not this PR. |
Compare with #168 |
We have almost the same results, PR 168:
vs this PR 160
I'm now retesting the serial conformance tests. |
/test e2e-aws-ovn-single-node-recert-serial |
@mresvanis: The following tests failed, say
Full PR test history. Your PR dashboard. 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-sigs/prow repository. I understand the commands that are listed here. |
This PR adds OpenShift etcd encryption support for recert:
recertify
andocp_postprocess
openssl
doesn't support AES-GCM, so not FIPS compliant anyway, we'll use Rust libs)openssl
for FIPS compliance){kube,openshift,oauth}-apiserver
encryption configs to keep target's keys and encrypt all resources with those before committing to etcd{kube,openshift,oauth}-encryption-config
cmd line args have not been provided, generate new ones, encrypt target's resources and put them in etcd and in the filesystem