Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Add helm install timeout option #1566

Merged
merged 3 commits into from
Dec 11, 2018
Merged

Add helm install timeout option #1566

merged 3 commits into from
Dec 11, 2018

Conversation

stefanprodan
Copy link
Member

@stefanprodan stefanprodan commented Dec 4, 2018

  • add timeout field to HelmRelease CRD (defaults to 300s)
  • add helm release timeout to install and upgrade operations
  • remove dead code from the release package and fix install logging

Fix: #1545

Docker Hub image for testing: stefanprodan/helm-operator:timeout-v5

@stephenmoloney
Copy link
Contributor

Hi @stefanprodan, thanks for this as I raised this issue originally. It might be 2 weeks approx before I get to try this.

Copy link
Member

@squaremo squaremo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the CRD in the template is lacking the additional field, but aside from that all looks fine ⭐

@@ -107,6 +107,9 @@ spec:
releaseName:
type: string
pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
timeout:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this also be in the HelmRelease CRD?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I misplaced the validation, I've moved it from FHR to HR in the latest commit.

@stefanprodan stefanprodan merged commit fa061fa into master Dec 11, 2018
@hiddeco hiddeco deleted the helm-timeout branch December 19, 2018 20:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow configuration of the helm install timeout in the flux CRD
3 participants