ab50997798 
								
							 
						 
						
							
							
								
								chore: join with space ( #963 )  
							
							... 
							
							
							
							Signed-off-by: WrenIX <dev.github@wrenix.eu> 
							
						 
						
							2023-08-08 13:25:54 +08:00  
				
					
						
							
							
								 
						
							
								c55fa0f765 
								
							 
						 
						
							
							
								
								Replace interface{} by any ( #901 )  
							
							... 
							
							
							
							Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2023-06-16 10:49:05 +09:00  
				
					
						
							
							
								 
						
							
								1843cc447e 
								
							 
						 
						
							
							
								
								Add insecure skip tls verify support ( #882 )  
							
							... 
							
							
							
							* feat: add insecure-skip-tls-verify support
Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2023-06-04 16:34:24 +08:00  
				
					
						
							
							
								 
						
							
								12a984d70f 
								
							 
						 
						
							
							
								
								feat: set RepositorySpec.PassCredentials var type to bool ( #878 )  
							
							... 
							
							
							
							* feat: set RepositorySpec.PassCredentials var type to bool
Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2023-06-01 13:41:45 +08:00  
				
					
						
							
							
								 
						
							
								e8f9bbbf9d 
								
							 
						 
						
							
							
								
								feat: update repo Spec var type skipTLSVerify to bool ( #877 )  
							
							... 
							
							
							
							* feat: update repo Spec var type skipTLSVerify to bool
Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2023-06-01 12:05:53 +08:00  
				
					
						
							
							
								 
						
							
								47328f31aa 
								
							 
						 
						
							
							
								
								fix: more stringent condition checking ( #869 )  
							
							... 
							
							
							
							The code requires `foo.enabled` condition pattern but didn't check the
latter part.
Signed-off-by: Dejan Benedik <dejan.benedik@3fs.si> 
							
						 
						
							2023-05-25 16:05:14 +08:00  
				
					
						
							
							
								 
						
							
								00dace9b63 
								
							 
						 
						
							
							
								
								Feat add cascade support ( #860 )  
							
							... 
							
							
							
							* feat: add cascade support for helm v3.12.0
Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2023-05-15 13:49:33 +08:00  
				
					
						
							
							
								 
						
							
								b6dd7122f9 
								
							 
						 
						
							
							
								
								feat: add --skip-trailing-cr to helmfile diff ( #625 )  
							
							
							
						 
						
							2023-05-08 05:23:59 +08:00  
				
					
						
							
							
								 
						
							
								3d0f0afe3a 
								
							 
						 
						
							
							
								
								Feat: support helm flag --enable-dns ( #830 )  
							
							... 
							
							
							
							* Support helm flag --enable-dns
Signed-off-by: vincent_stchu <24803055+vincentstchu@users.noreply.github.com> 
							
						 
						
							2023-04-27 16:27:09 +08:00  
				
					
						
							
							
								 
						
							
								a8a0a33c33 
								
							 
						 
						
							
							
								
								Add kube version flag ( #804 )  
							
							... 
							
							
							
							* add --kube-version flag into template cmd
Signed-off-by: FeLvi-zzz <34182539+FeLvi-zzz@users.noreply.github.com>
* add test
Signed-off-by: FeLvi-zzz <34182539+FeLvi-zzz@users.noreply.github.com>
* modify flag description
Signed-off-by: FeLvi-zzz <34182539+FeLvi-zzz@users.noreply.github.com>
* use switch
Signed-off-by: FeLvi-zzz <34182539+FeLvi-zzz@users.noreply.github.com>
* add comment
Signed-off-by: FeLvi-zzz <34182539+FeLvi-zzz@users.noreply.github.com>
---------
Signed-off-by: FeLvi-zzz <34182539+FeLvi-zzz@users.noreply.github.com> 
							
						 
						
							2023-04-16 07:05:23 +08:00  
				
					
						
							
							
								 
						
							
								2d9f83c1de 
								
							 
						 
						
							
							
								
								clean: optimize postrenderer code ( #738 )  
							
							
							
						 
						
							2023-03-14 06:18:20 +08:00  
				
					
						
							
							
								 
						
							
								f629ee1ae6 
								
							 
						 
						
							
							
								
								bump vals to v0.22.0 ( #703 )  
							
							... 
							
							
							
							Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2023-02-17 14:09:49 +08:00  
				
					
						
							
							
								 
						
							
								fc634c9ee3 
								
							 
						 
						
							
							
								
								feat: Reset values flag ( #602 )  
							
							... 
							
							
							
							Ref https://github.com/helmfile/helmfile/discussions/593 
* implemented --reset-values flag overriding .helmDefaults.reuseValues=true
* tests for --reset-values flag
* fixed pkg/app tests
* added tests for both reset & reuse flags given
* added appendValuesControlMode method for --reuse/reset-values flag processing
* updated code comments & docs
Signed-off-by: Karol Ossowski <k@koralsky.pl> 
							
						 
						
							2023-01-17 09:34:37 +09:00  
				
					
						
							
							
								 
						
							
								c4eb62388b 
								
							 
						 
						
							
							
								
								Drop Helm v2 support ( #613 )  
							
							... 
							
							
							
							Resolves  #589 
Signed-off-by: xiaomudk <xiaomudk@gmail.com> 
						
							2023-01-17 09:24:47 +09:00  
				
					
						
							
							
								 
						
							
								8d96bbb0e4 
								
							 
						 
						
							
							
								
								feat: mark deprecated args and cmd for v1 ( #628 )  
							
							... 
							
							
							
							* feat: mark deprecated args and cmd for v1
Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2023-01-14 23:43:05 +08:00  
				
					
						
							
							
								 
						
							
								0a953731b0 
								
							 
						 
						
							
							
								
								fix( #507 ): support assign --post-renderer within helmfile flags and helmdefault or release config  
							
							... 
							
							
							
							1. only implement post-renderer flags this patch
2. As mumoshu advise, add helmfile flags `--post-render` and add the
   postRenderer  config in helmDefaults and release. the priority is
   helmfile flags > release > helmDefaults.
3. fix the test case in state_test.go and some other tests.
Signed-off-by: guofutan <guofutan@tencent.com>
Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2022-12-13 13:12:07 +08:00  
				
					
						
							
							
								 
						
							
								1ba83ae722 
								
							 
						 
						
							
							
								
								declare "reuse values" control mode in helmDefaults ( #527 )  
							
							... 
							
							
							
							* support for helmDefaults.reuseValues
Signed-off-by: Karol Ossowski <k@koralsky.pl> 
							
						 
						
							2022-11-20 08:47:48 +08:00  
				
					
						
							
							
								 
						
							
								143f85b4f1 
								
							 
						 
						
							
							
								
								fix: helmfile template fails when selector matches a chart fetched with go-getter  
							
							... 
							
							
							
							Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2022-11-13 15:10:57 +08:00  
				
					
						
							
							
								 
						
							
								0f44cfacc4 
								
							 
						 
						
							
							
								
								Add the ability to specify a lock file ( #432 )  
							
							... 
							
							
							
							Allow configuring the lockfile in the state. This makes it possible for
example maintain a lock per environment.
Signed-off-by: Lassi Pölönen <lassi.polonen@iki.fi>
Signed-off-by: Lassi Pölönen <lassi.polonen@iki.fi> 
							
						 
						
							2022-11-12 08:59:56 +09:00  
				
					
						
							
							
								 
						
							
								8f59a1c18a 
								
							 
						 
						
							
							
								
								Add --output-dir-template flag to the fetch command ( #456 )  
							
							... 
							
							
							
							* Add --output-dir-template flag to the fetch command
Signed-off-by: elchenberg <elchenberg@users.noreply.github.com> 
							
						 
						
							2022-11-05 18:55:02 +08:00  
				
					
						
							
							
								 
						
							
								e919b4b1d2 
								
							 
						 
						
							
							
								
								fix oci:// chart ( #477 )  
							
							... 
							
							
							
							* fix oci:// chart
Signed-off-by: Quan TRAN <itscaro@users.noreply.github.com> 
							
						 
						
							2022-11-01 13:50:05 +08:00  
				
					
						
							
							
								 
						
							
								414f899c28 
								
							 
						 
						
							
							
								
								use fs.Getwd() to get working dir for sub helmfile ( #471 )  
							
							... 
							
							
							
							* use fs.Getwd() to get working dir for sub helmfile
Signed-off-by: Quan TRAN <itscaro@users.noreply.github.com> 
							
						 
						
							2022-10-29 07:40:40 +08:00  
				
					
						
							
							
								 
						
							
								2702161e74 
								
							 
						 
						
							
							
								
								add basepath along with filepath into yaml comment ( #460 )  
							
							... 
							
							
							
							* add basepath along with filepath into yaml comment
Signed-off-by: Quan TRAN <itscaro@users.noreply.github.com> 
							
						 
						
							2022-10-25 17:44:28 +08:00  
				
					
						
							
							
								 
						
							
								31cd729fd4 
								
							 
						 
						
							
							
								
								Prevent excessive log in tests  
							
							... 
							
							
							
							I had been unhappy with the fact that our go-test output had a lot of debug log messages which obfuscated test results.
I'm finally removeing all those by directing the test log output to io.Discard.
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com> 
							
						 
						
							2022-10-11 06:19:32 +09:00  
				
					
						
							
							
								 
						
							
								21c28ca6d0 
								
							 
						 
						
							
							
								
								feat: add reuse-values args for diff apply and sync ( #411 )  
							
							... 
							
							
							
							Signed-off-by: yxxhero <aiopsclub@163.com>
Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2022-10-08 14:27:39 +09:00  
				
					
						
							
							
								 
						
							
								e06abe4620 
								
							 
						 
						
							
							
								
								feat: add more clear error message and Environment info for template ( #413 )  
							
							... 
							
							
							
							* feat: add more clear error message and Environment info for template
Signed-off-by: yxxhero <aiopsclub@163.com>
* Update pkg/state/state.go
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
Signed-off-by: yxxhero <aiopsclub@163.com>
Signed-off-by: yxxhero <aiopsclub@163.com>
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com> 
							
						 
						
							2022-10-07 10:56:32 +09:00  
				
					
						
							
							
								 
						
							
								422852dd9a 
								
							 
						 
						
							
							
								
								feat: retrieve repository's username/password from environment  
							
							... 
							
							
							
							Signed-off-by: Kevin Leturc <kevinleturc@users.noreply.github.com> 
							
						 
						
							2022-10-06 16:48:44 +02:00  
				
					
						
							
							
								 
						
							
								f15bdbbb0c 
								
							 
						 
						
							
							
								
								Use helm show chart to identify chart version  
							
							... 
							
							
							
							Signed-off-by: Felipe Santos <felipecassiors@gmail.com> 
							
						 
						
							2022-10-03 22:04:08 -03:00  
				
					
						
							
							
								 
						
							
								68728ef352 
								
							 
						 
						
							
							
								
								chore: add test for gatherOCIUsernamePassword.  
							
							... 
							
							
							
							Signed-off-by: mugioka <okamugi0722@gmail.com> 
							
						 
						
							2022-10-03 15:45:40 +09:00  
				
					
						
							
							
								 
						
							
								e1ca846772 
								
							 
						 
						
							
							
								
								added option for --no-hooks for helm diff and apply ( #279 )  
							
							... 
							
							
							
							* added option for --no-hooks for helm diff and apply
Signed-off-by: Arpan Adhikari <kcarpan5@gmail.com>
* test case for --no-hooks
Signed-off-by: Arpan Adhikari <kcarpan5@gmail.com>
* fix test fails
Signed-off-by: Arpan Adhikari <kcarpan5@gmail.com>
* Resolve conflict with main
Signed-off-by: Arpan Adhikari <kcarpan5@gmail.com>
* fixup! Resolve conflict with main
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
* Add no-hooks case for diff test
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
* fixup! Add no-hooks case for diff test
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
Signed-off-by: Arpan Adhikari <kcarpan5@gmail.com>
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
Co-authored-by: Arpan Adhikari <arpan@thephotostudio.com.au>
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com> 
							
						 
						
							2022-09-18 18:41:27 +09:00  
				
					
						
							
							
								 
						
							
								cc33e7b7d8 
								
							 
						 
						
							
							
								
								Introduce Helmfile's own filesystem abstraction to correctly unit test some components ( #307 )  
							
							... 
							
							
							
							Use abstracted FS
Signed-off-by: Arkaitz Jimenez <arkaitzj@gmail.com>
Signed-off-by: Arkaitz Jimenez <arkaitzj@gmail.com> 
							
						 
						
							2022-08-24 12:58:43 +09:00  
				
					
						
							
							
								 
						
							
								8690d63401 
								
							 
						 
						
							
							
								
								fix lint error  
							
							... 
							
							
							
							Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2022-08-13 07:40:32 +08:00  
				
					
						
							
							
								 
						
							
								ac23def893 
								
							 
						 
						
							
							
								
								add Go lint  
							
							... 
							
							
							
							Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2022-07-16 20:21:11 +08:00  
				
					
						
							
							
								 
						
							
								ce3b81e2a1 
								
							 
						 
						
							
							
								
								test: use `T.Setenv` to set env vars in tests ( #189 )  
							
							... 
							
							
							
							This commit replaces `os.Setenv` with `t.Setenv` in tests. The
environment variable is automatically restored to its original value
when the test and all its subtests complete.
Reference: https://pkg.go.dev/testing#T.Setenv 
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com> 
							
						 
						
							2022-06-30 09:15:34 +09:00  
				
					
						
							
							
								 
						
							
								414db47428 
								
							 
						 
						
							
							
								
								chore(state): Append Api Versions flags to helm-diff ( #107 )  
							
							... 
							
							
							
							* chore(state): Append Api Versions flags to helm-diff
Signed-off-by: Sergio Morales <sergio@cornershopapp.com>
* chore(state): Added unit test to state.flagsForDiff
Signed-off-by: Sergio Morales <sergio@cornershopapp.com>
* chore(state): Check Helmstate values if ReleaseSpec values aren't set
Signed-off-by: Sergio Morales <sergio@cornershopapp.com> 
							
						 
						
							2022-06-05 15:18:54 +09:00  
				
					
						
							
							
								 
						
							
								eb3484d4a8 
								
							 
						 
						
							
							
								
								Rename module to github.com/helmfile/helmfile  
							
							... 
							
							
							
							Also updates a few more references to the roboll/helmfile repository,
where possible.
Signed-off-by: austin ce <austin.cawley@gmail.com> 
							
						 
						
							2022-05-18 10:05:07 -04:00  
				
					
						
							
							
								 
						
							
								88f17e6c9a 
								
							 
						 
						
							
							
								
								fix more go lint warn  
							
							... 
							
							
							
							Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2022-04-20 16:26:06 +08:00  
				
					
						
							
							
								 
						
							
								303ef9cd80 
								
							 
						 
						
							
							
								
								remove ioutil usage in all project  
							
							... 
							
							
							
							Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2022-04-03 15:53:19 +08:00  
				
					
						
							
							
								 
						
							
								2f04831817 
								
							 
						 
						
							
							
								
								Fix various golangci-lint errors ( #2059 )  
							
							
							
						 
						
							2022-02-12 20:28:08 +09:00  
				
					
						
							
							
								 
						
							
								19927fc147 
								
							 
						 
						
							
							
								
								feat: Add --suppress option for diff and apply commands ( #2077 )  
							
							
							
						 
						
							2022-02-03 08:46:39 +09:00  
				
					
						
							
							
								 
						
							
								d34dc7bb64 
								
							 
						 
						
							
							
								
								Add support for --insecure-skip-tls-verify flag on helm repo add command ( #1990 )  
							
							... 
							
							
							
							Parses a new field in repositories named `skipTLSVerify` and if set to `true`, it appends `--insecure-skip-tls-verify` in `helm repo add` command.
This should be useful with internal self-signed repos, mitm proxies etc.
Resolves  #1871  
							
						 
						
							2021-12-21 09:18:57 +09:00  
				
					
						
							
							
								 
						
							
								77e6268bcb 
								
							 
						 
						
							
							
								
								Add support for transitive dependencies. ( #1983 )  
							
							... 
							
							
							
							Co-authored-by: Peter Aichinger <petera@topdesk.com> 
							
						 
						
							2021-10-20 17:55:08 +09:00  
				
					
						
							
							
								 
						
							
								46b17e2cdb 
								
							 
						 
						
							
							
								
								feat: pass-credentials to repo ( #1899 )  
							
							... 
							
							
							
							This adds the ability to include the --pass-credentials flag to the helm add repo command by:
- Adding repo.passCredentials to the helmfile yaml
- Changing state, helmexec, and app to include RepositorySpec.PassCredentials
Resolves  #1898 
Co-authored-by: almed4 <alexandre.meddin@ingka.ikea.com> 
							
						 
						
							2021-07-02 07:31:16 +09:00  
				
					
						
							
							
								 
						
							
								eabda4cf28 
								
							 
						 
						
							
							
								
								Fix delete on release of `uninstalling` status ( #1786 )  
							
							... 
							
							
							
							* Fix helmfile destroy/delete not deleting `uninstalling` release
Ref https://github.com/roboll/helmfile/issues/1750#issuecomment-823677950 
* Cover helm3 in helmfile-destroy test 
							
						 
						
							2021-04-21 09:39:14 +09:00  
				
					
						
							
							
								 
						
							
								200cae2a68 
								
							 
						 
						
							
							
								
								feat: --show-secrets on diff and apply commands ( #1749 )  
							
							... 
							
							
							
							Resolves  #1674  
						
							2021-04-01 09:41:53 +09:00  
				
					
						
							
							
								 
						
							
								2618cfb38b 
								
							 
						 
						
							
							
								
								Enable --wait-for-jobs flag introduced in helm 3.5 ( #1715 )  
							
							... 
							
							
							
							Fixes  #1650 
Fixes  #785 
This change introduces:
- `--wait-for-jobs` CLI override option to helmfile binary
- `waitForJobs` helmDefaults parameter (default `false`)
- `waitForJobs` release parameter (default `false`)
Note that `--wait-for-jobs` was introduced in Helm 3.5 (https://github.com/helm/helm/pull/8363 ) 
						
							2021-03-23 16:53:57 +09:00  
				
					
						
							
							
								 
						
							
								4e485219d7 
								
							 
						 
						
							
							
								
								Fix the logic of helmfile deps and add tests. ( #1588 )  
							
							
							
						 
						
							2020-11-19 09:29:59 +09:00  
				
					
						
							
							
								 
						
							
								8f8669778c 
								
							 
						 
						
							
							
								
								Support for azure acr helm repositories ( #1526 )  
							
							... 
							
							
							
							Adds a basic support for Helm repositories hosted on Azure Container Registry (not OCI but classic ones). Add a new field to RepositorySpec to state that is externally managed and runs the `az-cli` command instead of the helm one to manage the repository. 
							
						 
						
							2020-10-15 08:45:45 +09:00  
				
					
						
							
							
								 
						
							
								ab9fb2c9dc 
								
							 
						 
						
							
							
								
								Fix concurrent-map-iteration-and-write errors while running release hooks ( #1534 )  
							
							... 
							
							
							
							Fixes  #1495  
						
							2020-10-13 14:49:01 +09:00  
				
					
						
							
							
								 
						
							
								5d8eba9b29 
								
							 
						 
						
							
							
								
								Append --force-update for specific helm versions. ( #1494 )  
							
							... 
							
							
							
							* Parse and process helm version using github.com/Masterminds/semver/v3.
* Add --force-update only when Helm version >= 3.3.2, < 3.3.4.
See: https://github.com/helm/helm/pull/8777 .
* Add test cases. 
							
						 
						
							2020-10-12 09:20:55 +09:00