Helm chart should wait until the operator is ready
Problem to solve
When helm chart is installed or upgraded helm does not wait for the operator to be ready. If a StackGres cluster is created it could fail due to webhook failing.
Further details
Using helm install --wait
is not enough to ensure that since a user may forget to do that
Proposal
Create or enable a job that on creation and upgrade waits for the stackgres operator to be ready. The user should be able to disable this functionality with the value --set wait=false
-
Write an e2e test to check this is working using an exclusive lock
Edited by Adrián Escoms