compliantkubernetes-kubespray icon indicating copy to clipboard operation
compliantkubernetes-kubespray copied to clipboard

Refactor bin scripts

Open aarnq opened this issue 1 year ago • 1 comments

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

With the addition of the managed upgrade script we should make a better effort to refactor the bin scripts so we improve the safety of running it by including checks used for run-playbook and make them use the same code path to invoke ansible.

Describe the solution you'd like

Ideally I would want to have a simpler command like run-playbook-managed to run any playbook in a managed way, and then have the managed upgrade as a default specialised function that is maintained and QA'ed per release to ensure that it can complete an upgrade.

Definition of done:

Bin scripts are refactored, and the managed upgrade script has the same protection and invocation as the regular run-playbook.

aarnq avatar Jan 12 '24 07:01 aarnq

@elastisys/scrum-masters could we prioritise this issue to make the managed upgrade the way to upgrade?

aarnq avatar Apr 22 '24 07:04 aarnq