compliantkubernetes-kubespray
compliantkubernetes-kubespray copied to clipboard
Refactor bin scripts
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
.
@elastisys/scrum-masters could we prioritise this issue to make the managed upgrade the way to upgrade?