-
Notifications
You must be signed in to change notification settings - Fork 111
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 playbook to configure lunasa access for barbican #2630
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Thanks for the PR! ❤️ |
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/740cca6a43014e3e85924701c1903ead ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 30m 35s |
199a679
to
f3d39d2
Compare
Hi @vakwetu, do you have a Jira card tracking this work so I can fully understand the context of what you are implementing? Also, if this is ready to review, please remove the draft status. |
@lewisdenny Thanks. I added more details to the PR description and also a link to the Jira. I've been testing this in testproject, and haven't gotten a completely successful run yet - but we're close. When that happens, I'll remove the draft status. Its very close to final though, so please feel free to review. |
The testproject patch for this passed - ie. the config was set correctly and we got all green for the barbican tests. The update test failed , but I suspect that I need to fix something in the test to account for the updated images. Will work on that separately. Accordingly, going to remove the draft tag |
This playbook will check out an ansible role that creates modified barbican images and creates the relevant secrets needed. In addition, the playbook modifies the control plane CR to include the required config to barbican. You need to call the update-containers role to be able to use the updated barbican images.
f3d39d2
to
8cabbea
Compare
This playbook will configure the barbican pods on the test system to use a luna HSM as a crypto backend to store and generate keys.
In particular, we need to:
Steps 1-3 are done by a separate ansible role (https://github.com/openstack-k8s-operators/ansible-role-rhoso-luna-hsm/). This is useful because we'll be able to modify and branch this role as appropriate as the HSM software changes.
Jira: https://issues.redhat.com/browse/OSPRH-11019