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

Improve handling of releases being newly installed by helmfile-apply #1618

Merged
merged 1 commit into from
Dec 11, 2020

Conversation

mumoshu
Copy link
Collaborator

@mumoshu mumoshu commented Dec 10, 2020

This improves helmfile-apply with two things:

  • Some users had timing-out issues or annoyed by huge output from helm-diff run as part of helmfile-apply. --skip-diff-on-install skips running helm-diff for releases being newly installed, so that you can avoid those issues.
  • Some users had difficultly or found it not straight-forward to install CRDs and custom resources from separate charts in one helmfile-apply (helmfile apply does not install crds folder #1353). The new helmfile.yaml release field disableValidationOnInstall: true adds --disable-validation to helm-diff only for releases being newly released, which should resolve the issue.

Resolves #1353

@mumoshu mumoshu force-pushed the improve-new-installs-by-apply branch 2 times, most recently from e8979d8 to fb48b46 Compare December 10, 2020 23:40
This improves helmfile-apply on two things:

- Some users had timing-out issues or annoyed by huge output from helm-diff run as part of helmfile-apply. `--skip-diff-on-install` skips running helm-diff for releases being newly installed, so that you can avoid those issues.
- Some users had difficultly or found it not straight-forward to install CRDs and custom resources from separate charts in one helmfile-apply (#1353). The new helmfile.yaml release field `disableValidationOnInstall: true` adds `--disable-validation` to helm-diff only for releases being newly released, which should resolve the issue.

Resolves #1353
@mumoshu mumoshu force-pushed the improve-new-installs-by-apply branch from fb48b46 to 06aaedb Compare December 10, 2020 23:53
@mumoshu mumoshu merged commit 1ef9b29 into master Dec 11, 2020
@mumoshu mumoshu deleted the improve-new-installs-by-apply branch December 11, 2020 00:10
mumoshu added a commit to mumoshu/terraform-provider-helmfile that referenced this pull request Jan 1, 2021
…liable install

To make `terraform apply` work faster and more reliably when there are many big new releases to be installed, `--skip-diff-on-install` is automatically added to every helmfile-apply call when helmfile is v0.136.0 or greater.

See roboll/helmfile#1618 for more information.
@eperdeme eperdeme mentioned this pull request Feb 11, 2021
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.

helmfile apply does not install crds folder
1 participant