Skip to content

Conversation

@mauricioharley
Copy link

@mauricioharley mauricioharley commented Dec 15, 2025

This PR adds support for custom Barbican container images and parameterized
HSM secret names in the adoption process.

Changes

  • barbican_adoption/defaults/main.yaml: Parameterized loginSecret and
    clientDataSecret names in the barbican_hsm_patch template to allow
    custom secret names via variables.

  • backend_services/tasks/main.yaml: Added two new tasks to patch
    OpenStackVersion CR with custom Barbican images when
    barbican_custom_api_image or barbican_custom_worker_image are defined.

Jira: OSPRH-20112

@openshift-ci
Copy link

openshift-ci bot commented Dec 15, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign jistr for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Mauricio Harley added 2 commits December 17, 2025 09:42
Extend the existing barbican_adoption role with minimal HSM support for Proteccio integration.

Fixes: OSPRH-18981

Signed-off-by: Mauricio Harley <mharley@redhat.com>
This change adds support for:
- Custom Barbican API and Worker container images via
  barbican_custom_api_image and barbican_custom_worker_image variables
- Parameterized HSM secret names via proteccio_login_secret_name and
  proteccio_client_data_secret_name variables

This enables adoption scenarios where Barbican requires custom images
with HSM client libraries (e.g., Proteccio) installed.

Signed-off-by: Mauricio Harley <mharley@redhat.com>
@mauricioharley mauricioharley force-pushed the barbican-hsm-custom-images-support branch from bc5941f to 3f7277b Compare December 17, 2025 09:59
@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/779a6be761b541e3a19a1b3710c0df40

✔️ noop SUCCESS in 0s
✔️ adoption-standalone-to-crc-ceph SUCCESS in 2h 59m 56s
adoption-standalone-to-crc-no-ceph NODE_FAILURE Node request 100-0008118136 failed in 0s

@mauricioharley
Copy link
Author

recheck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant