Skip to content

Conversation

@lmiccini
Copy link
Contributor

@lmiccini lmiccini commented Nov 11, 2025

Sometimes it is useful to quickly spin up a pod using a custom script.
This change would allow users to create a configmap holding a modified copy of the script and running it via:

apiVersion: instanceha.openstack.org/v1beta1
kind: InstanceHa
spec:
customScriptConfigMap: my-custom-script-cm # optional
# ... other fields

if customScriptConfigMap is not empty a special status field "status.unsupported" will be added to the instanceha resource.

@lmiccini lmiccini requested a review from stuggi November 11, 2025 16:16
@openshift-ci openshift-ci bot requested review from dprince and olliewalsh November 11, 2025 16:16
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 11, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lmiccini

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@lmiccini lmiccini force-pushed the iha_hotfixes branch 2 times, most recently from e24529c to 73c403f Compare November 11, 2025 16:40
This commit adds a CustomScriptConfigMap spec field to let users run
custom scripts for debugging purposes.
If CustomScriptConfigMap is used, the status of the instanceha resource
would reflect setting status.unsupported.
@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/47d250aadd854d79bee3ef55692c25f7

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 02m 01s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 17m 15s
cifmw-crc-podified-edpm-baremetal FAILURE in 1h 41m 02s

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants