Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api: allow configuration of h unit for timeouts #749

Merged
merged 1 commit into from
Oct 21, 2022

Conversation

hiddeco
Copy link
Member

@hiddeco hiddeco commented Oct 21, 2022

To allow waiting for HelmRelease resources with an exceptionally high timeout of 1h or more.

Related to: fluxcd/helm-controller#549

To allow waiting for `HelmRelease` resources with an exceptionally
high timeout of `1h` or more.

Related to: fluxcd/helm-controller#549

Signed-off-by: Hidde Beydals <hello@hidde.co>
@hiddeco
Copy link
Member Author

hiddeco commented Oct 21, 2022

@stefanprodan wondering if in a future patch it would be better to create separate values for some of the timeouts, as my assumption is that a validation and/or apply timeout should not take more than a couple minutes. Where as a health check might take longer.

In extend to this, I am wondering if it would not be better to take note of the timestamp at which the health checks start, to then repetitively run health checks while re-queuing until they are healthy and/or it runs into the timeout compared to the timestamp. This would improve continuity.

@stefanprodan
Copy link
Member

Having a separate timeout for the health check makes sense, maybe waitTimeout or something like that.

@stefanprodan stefanprodan merged commit 85c9728 into main Oct 21, 2022
@stefanprodan stefanprodan deleted the api-widen-timeout-validation branch October 21, 2022 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants