openstack-k8s-operators / openstack-operator

Meta Operator for OpenStack
https://openstack-k8s-operators.github.io/openstack-operator/
Apache License 2.0
27 stars 76 forks source link

Swap download-cache and bootstrap services #1007

Closed bshephar closed 1 month ago

bshephar commented 1 month ago

For download-cache to work, it needs to have access to the remote container registry and a RPM repository. This necessitates that we execute subscription-manager prior to trying to download anything.

This change swaps the bootstrap and download-cache services so that bootstrap is executed first before trying to download anything.

This allows users to register their nodes leveraging the edpm_bootstrap_command variable defined on the NodeSet prior to any attempts to download content.

openshift-ci[bot] commented 1 month ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bshephar

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: - ~~[OWNERS](https://github.com/openstack-k8s-operators/openstack-operator/blob/main/OWNERS)~~ [bshephar] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
fao89 commented 1 month ago

/test all

bshephar commented 1 month ago

We don't need to do this after all.