a52aff281b 
								
							 
						 
						
							
							
								
								fix: `TestToYaml` not working with 32-bit architectures  
							
							... 
							
							
							
							Signed-off-by: Jakob Probst <git@jakobprobst.de> 
							
						 
						
							2025-06-12 09:23:51 +02:00  
				
					
						
							
							
								 
						
							
								b52ca9ae04 
								
							 
						 
						
							
							
								
								refactor(yaml): upgrade from gopkg.in/yaml.v2 to v3 ( #2039 )  
							
							... 
							
							
							
							* refactor(yaml): upgrade from gopkg.in/yaml.v2 to v3
Signed-off-by: yxxhero <aiopsclub@163.com>
* refactor(yaml): enhance yaml encoding with consistent formatting and quotes
Signed-off-by: yxxhero <aiopsclub@163.com>
* optimize code
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix more issues
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
---------
Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2025-05-15 10:21:37 -04:00  
				
					
						
							
							
								 
						
							
								844726b09b 
								
							 
						 
						
							
							
								
								feat(tmpl): enhance ToYaml test with multiple scenarios ( #2031 )  
							
							... 
							
							
							
							* feat(tmpl): enhance ToYaml test with multiple scenarios
Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2025-05-09 11:56:54 +08:00  
				
					
						
							
							
								 
						
							
								0a31423005 
								
							 
						 
						
							
							
								
								chore: support parsing any type with `fromYaml` ( #2017 )  
							
							... 
							
							
							
							Signed-off-by: Jakob Probst <git@jakobprobst.de> 
							
						 
						
							2025-04-25 06:56:01 +08:00  
				
					
						
							
							
								 
						
							
								5d29f03782 
								
							 
						 
						
							
							
								
								Remove all v0.x references ( #1919 )  
							
							... 
							
							
							
							* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* refactor(two_pass_renderer): remove unused imports and functions
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
---------
Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2025-03-08 07:43:21 -06:00  
				
					
						
							
							
								 
						
							
								63e2684ade 
								
							 
						 
						
							
							
								
								Revert "cleanup: remove all about v0.x" ( #1918 )  
							
							... 
							
							
							
							Revert "cleanup: remove all about v0.x (#1903 )"
This reverts commit d7bcd5e998 
							
						 
						
							2025-02-08 18:25:16 +08:00  
				
					
						
							
							
								 
						
							
								d7bcd5e998 
								
							 
						 
						
							
							
								
								cleanup: remove all about v0.x ( #1903 )  
							
							... 
							
							
							
							* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* refactor(two_pass_renderer): remove unused imports and functions
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
---------
Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2025-02-05 13:50:16 -05:00  
				
					
						
							
							
								 
						
							
								270f27f481 
								
							 
						 
						
							
							
								
								remove HELMFILE_SKIP_INSECURE_TEMPLATE_FUNCTIONS for v1 ( #1434 )  
							
							... 
							
							
							
							Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2024-04-01 08:42:55 +08:00  
				
					
						
							
							
								 
						
							
								7d6ed97333 
								
							 
						 
						
							
							
								
								feat: include func support ( #1187 )  
							
							... 
							
							
							
							* feat: include func support
Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2023-12-04 21:51:01 +08:00  
				
					
						
							
							
								 
						
							
								c55fa0f765 
								
							 
						 
						
							
							
								
								Replace interface{} by any ( #901 )  
							
							... 
							
							
							
							Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2023-06-16 10:49:05 +09:00  
				
					
						
							
							
								 
						
							
								db5c2a52d6 
								
							 
						 
						
							
							
								
								Enhance tpl func test ( #619 )  
							
							... 
							
							
							
							enfore tpl func test
Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2023-01-07 11:04:52 +08:00  
				
					
						
							
							
								 
						
							
								4688cf0132 
								
							 
						 
						
							
							
								
								Use gopkg.in/yaml.v2 for Helmfile v0.x ( #609 )  
							
							... 
							
							
							
							This should fix  #435  for Helmfile v0.x releases since the next v0.150.0.
We introduce a new envvar to opt-in to the new YAML library, so that you can give it a shot before upgrading your Helmfile to v1. The same envvar can be used to opt-out of the new YAML library after you upgrade to Helmfile v1, giving you a more flexible migration story.
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com> 
							
						 
						
							2023-01-04 18:17:24 +09:00  
				
					
						
							
							
								 
						
							
								14ba7cd156 
								
							 
						 
						
							
							
								
								bump: upgrade gopkg.in/yaml.v2 to gopkg.in/yaml.v3  
							
							... 
							
							
							
							Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2022-10-03 05:24:51 +08: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  
				
					
						
							
							
								 
						
							
								68d7c5f6a4 
								
							 
						 
						
							
							
								
								Implement readDirEntries method  
							
							... 
							
							
							
							Signed-off-by: vasicvuk <vuk.vasic@asseco-see.rs> 
							
						 
						
							2022-07-26 16:20:38 +02: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  
				
					
						
							
							
								 
						
							
								577f54af7a 
								
							 
						 
						
							
							
								
								Introduce DISABLE_INSECURE_FEATURES to disable insecure command executions ( #1 )  
							
							... 
							
							
							
							* introduce DISABLE_INSECURE_FEATURES to disable insecure executions
Signed-off-by: Quan TRAN <account@itscaro.me>
* disable remote sources when DISABLE_INSECURE_FEATURES is set to "true"
Signed-off-by: Quan TRAN <account@itscaro.me>
* refactor envvar package
Signed-off-by: Quan TRAN <account@itscaro.me>
* (test) fix test fixtures
Signed-off-by: Quan TRAN <account@itscaro.me>
* use absolute path to avoid unit test failure
Signed-off-by: Quan TRAN <account@itscaro.me>
* Fix conflicts
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com> 
							
						 
						
							2022-06-05 15:15:06 +09:00  
				
					
						
							
							
								 
						
							
								d83e9214e6 
								
							 
						 
						
							
							
								
								rename execEnvs to envExec  
							
							... 
							
							
							
							Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2022-05-17 08:30:46 +08:00  
				
					
						
							
							
								 
						
							
								a320fccdd2 
								
							 
						 
						
							
							
								
								update unittest for execEnvs  
							
							... 
							
							
							
							Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2022-05-16 22:54:31 +08:00  
				
					
						
							
							
								 
						
							
								1258c9ed10 
								
							 
						 
						
							
							
								
								add execEnvs  
							
							... 
							
							
							
							Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2022-05-14 09:59:08 +08:00  
				
					
						
							
							
								 
						
							
								33f733026b 
								
							 
						 
						
							
							
								
								remove cmd.Env set  
							
							... 
							
							
							
							Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2022-04-22 08:36:02 +08:00  
				
					
						
							
							
								 
						
							
								d26f83c460 
								
							 
						 
						
							
							
								
								add unittest for Exec and add feature that inherit the environment variables from the parent process for Exec  
							
							... 
							
							
							
							Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2022-04-21 19:29:32 +08:00  
				
					
						
							
							
								 
						
							
								5cb82ec3d1 
								
							 
						 
						
							
							
								
								add unittest for RequiredEnv func  
							
							... 
							
							
							
							Signed-off-by: yxxhero <aiopsclub@163.com> 
							
						 
						
							2022-04-05 22:53:07 +08:00  
				
					
						
							
							
								 
						
							
								2f04831817 
								
							 
						 
						
							
							
								
								Fix various golangci-lint errors ( #2059 )  
							
							
							
						 
						
							2022-02-12 20:28:08 +09:00  
				
					
						
							
							
								 
						
							
								54eb73b423 
								
							 
						 
						
							
							
								
								Use ghodss/yaml for yaml marshaling & unmarshaling in template ( #1556 )  
							
							... 
							
							
							
							Fixes  #1555 
Co-authored-by: Yoann Ciabaud <yoann@linxo.com>
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com> 
						
							2020-12-13 11:03:20 +09:00  
				
					
						
							
							
								 
						
							
								7d11f5dedc 
								
							 
						 
						
							
							
								
								feat: add tmpl function `required` ( #1188 )  
							
							... 
							
							
							
							Co-authored-by: Raymond Liu (RD-TW) <raymond_liu@trend.com.tw> 
							
						 
						
							2020-04-10 08:23:42 +09:00  
				
					
						
							
							
								 
						
							
								c68fc5bc50 
								
							 
						 
						
							
							
								
								chore: tidy up pkgs ( #636 )  
							
							... 
							
							
							
							for readability and towards potentially making helmfile usable as a go library 
							
						 
						
							2019-06-01 13:36:05 +09:00