openshift-actions-runner-chart icon indicating copy to clipboard operation
openshift-actions-runner-chart copied to clipboard

[FEATURE] Add nodeSelector and affinity

Open emmanuelstroem opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

In a scenario where there is a dedicated node/nodepool on which to schedule the runner, the helm-chart does not have the required values to achieve that.

Describe the solution you'd like

Add nodeSelector and affinity specs to the deployment.yaml template. These should enable specifying nodes if need be.

Describe alternatives you've considered

I have considered through Helm CLI using --set nodeSelector.<key>=<value> but this requires the template to be prepared first. 🙈

Additional context

emmanuelstroem avatar Mar 09 '22 13:03 emmanuelstroem

@petracvv I know you all must be occupied in these times 🙏

I did open this issue and an immediate PR #20 just in case.

Do let me know if its feasible or if there is a different and or better approach to take in this regard 🙏

emmanuelstroem avatar Mar 14 '22 19:03 emmanuelstroem