-
Notifications
You must be signed in to change notification settings - Fork 262
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This also fixes a bug which only enforces a wait on upgrade using the
.spec.rollback.enable
field.
This is not a bug but something that has been put thought into. I do however not know the reason from the top of my head, will report back about this later.
@hiddeco yeah, when I took a second look at it earlier I couldn't be sure either way. I'll leave the PR in this state for now until you get back to me. When you know the initial reason for setting the upgrade wait to Thanks for the initial review! |
@niall-weedon I discussed this with other team members. The reason we haven't included this is because for not so long ago the Helm operator only had a single worker, and this would block the processing of releases for the whole queue for ~300 sec. Today we support running multiple workers, and have a default of Please note that the status of the |
@hiddeco thanks for getting back to me. I understand that waiting will block the process - in this case how would I be able to check that the resources the |
@hiddeco do you have any suggestions on my question above? Thanks. |
@niall-weedon for the current version in For the upcoming Helm operator version with v3 support, which is in development in the My plan is to backport this feature in our v2 client implementation, to make v3 a first class citizen and reduce our own code complexity (see commit message and For upgrades Please bear with me until then 🌞 |
bec760a
to
4bb532c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given the recent developments it makes no sense to hold this back so I have rebased the PR and made some small adjustments to make it work again.
Thanks for your contribution and patience 🥇
.spec.wait
field to HelmRelease
This field instructs the operator to wait for successful upgrade of the specified Helm chart before signalling a result in the owned `HelmRelease` resource.
This field instructs the operator to wait for successful installation
and/or upgrade of the specified Helm chart before signalling a result
in the owned
HelmRelease
resource. This also fixes a bug which onlyenforces a wait on upgrade using the
.spec.rollback.enable
field.