Commit Graph

1090 Commits

Author SHA1 Message Date
yxxhero 218d7a6f0a remove temp_rand and use k8s.io/apimachinery/pkg/util/rand
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-04-27 13:54:06 +08:00
yxxhero eeb2eee099 fix unittest issue for context.go
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-04-27 10:57:26 +08:00
yxxhero e2cb7fe176 add unittest for context.go
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-04-27 09:30:40 +08:00
Yusuke Kuoka 85671c4dc1
Merge pull request #67 from yxxhero/add_unittest_for_ValidateConfig
add unittest for ValidateConfig
2022-04-27 09:30:52 +09:00
yxxhero 04d364a467 add unittest for ValidateConfig
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-04-27 07:38:22 +08:00
Yusuke Kuoka aef233489f
Merge pull request #62 from yxxhero/newExecutionID_unittest
Add unittest for newExecutionID
2022-04-25 08:40:45 +09:00
yxxhero 45c983a0bb Add unittest for newExecutionID
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-04-24 13:55:28 +08:00
Yusuke Kuoka 1bcf6a7bb1
Merge pull request #52 from yxxhero/feat_inherit_environment_variables_for_Exec
add unittest for Exec
2022-04-22 12:21:31 +09:00
yxxhero 33f733026b remove cmd.Env set
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-04-22 08:36:02 +08:00
Yusuke Kuoka e0a618d0cc
Merge pull request #54 from helmfile/qtran/dependabot
Create dependabot.yml
2022-04-22 09:09:18 +09:00
Yusuke Kuoka df6ec3a82e
Merge pull request #55 from itscaro/image/qtran/helm-3.8.2
(feat) update helm to v3.8.2 in container images
2022-04-22 09:08:37 +09:00
Yusuke Kuoka e1d8cea8cc
Merge pull request #53 from itscaro/qtran/ssh-client-in-image
feat: Add openssh-client to images
2022-04-22 09:08:11 +09:00
Quan TRAN 617121e761 (feat) update helm to v3.8.2 in container images
Signed-off-by: Quan TRAN <account@itscaro.me>
2022-04-21 23:15:45 +02:00
Quan TRAN b9a69696ac Create dependabot.yml
Signed-off-by: Quan TRAN <account@itscaro.me>
2022-04-21 23:10:05 +02:00
Quan TRAN 8304d49cc3 remove pip from debian-based images
Signed-off-by: Quan TRAN <account@itscaro.me>
2022-04-21 23:01:34 +02:00
Quan TRAN c6920363d1 (feat) add openssh-client to images (closes #41)
Signed-off-by: Quan TRAN <account@itscaro.me>
2022-04-21 22:40:42 +02:00
yxxhero 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
Yusuke Kuoka fc3f468a81
Merge pull request #48 from yxxhero/fix_golint_warn
fix go lint warn
2022-04-21 18:31:37 +09:00
yxxhero 88f17e6c9a fix more go lint warn
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-04-20 16:26:06 +08:00
yxxhero 8b15272cbc fix go lint warn
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-04-20 15:59:12 +08:00
Yusuke Kuoka eee5f834c6
Merge pull request #46 from helmfile/mumoshu-patch-1
Update README.md
2022-04-19 09:49:21 +09:00
Yusuke Kuoka feb2bc9589
Update README.md 2022-04-19 09:48:54 +09:00
Yusuke Kuoka f8f50c8bcd
Merge pull request #45 from yxxhero/remove_gotest
remove gotest deps
2022-04-19 09:24:46 +09:00
yxxhero a0d4047cc7 remove gotest deps
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-04-19 08:02:21 +08:00
Yusuke Kuoka 9e9567ed7d
Merge pull request #44 from yxxhero/add_unittest_for_constants
add unittest for constants.go
2022-04-19 08:51:41 +09:00
yxxhero b895f75198 add unittest for constants.go
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-04-18 17:15:04 +08:00
Yusuke Kuoka 21ab18b906
Merge pull request #39 from itscaro/qtran/helm382
(test) update helm to 3.8.2
2022-04-15 07:25:09 +09:00
Yusuke Kuoka 42ad7beb6e
Merge pull request #24 from helmfile/auto-detect-term-for-color-diff
feat: Auto-detect term for coloring helm-diff output
2022-04-15 07:24:42 +09:00
Yusuke Kuoka a4542265ca
Merge pull request #23 from helmfile/fix-helmfile-deps-chartify
Fix helmfile deps not to remove entries for charts that are being chartified
2022-04-15 07:24:20 +09:00
Quan TRAN dad58533b5 (test) update helm to 3.8.2
Signed-off-by: Quan TRAN <account@itscaro.me>
2022-04-14 10:13:24 +02:00
Quan TRAN 86c9a1ae3d
Fix canary image publication 2022-04-14 10:04:26 +02:00
Yusuke Kuoka f84ab66ba0 Make --color and --no-color exclusive
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-04-13 23:43:41 +00:00
Yusuke Kuoka 47e13fcdad
Merge pull request #34 from dol/feature/redacted-url-in-chart-name
Redact sensitive informations like password in chart url
2022-04-14 08:28:25 +09:00
Yusuke Kuoka 7af57add9d
Merge pull request #37 from itscaro/qtran/fix-temp-dir
Fix non-existent custom temp dir
2022-04-14 08:27:41 +09:00
Yusuke Kuoka d0841c72aa
Merge pull request #22 from itscaro/qtran/issue-2118
(fix) chartify process when chart path is absolute
2022-04-14 08:25:13 +09:00
Yusuke Kuoka b5480123a2
Merge pull request #31 from yxxhero/fix_outout_dir
fix output-dir issue
2022-04-14 08:20:14 +09:00
Lüchinger Dominic f89234e5dc
Redact sensitive informations like password in chart url
Signed-off-by: Lüchinger Dominic <dev@snowgarden.ch>
2022-04-13 00:47:32 +02:00
Quan TRAN 12e103d510 (fix) non-existent custom temp dir
Signed-off-by: Quan TRAN <account@itscaro.me>
2022-04-12 22:27:59 +02:00
yxxhero ec648c4011 use os.PathSeparator replace /
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-04-12 13:13:53 +08:00
Quan TRAN c7b23a67cb
Merge pull request #32 from yxxhero/fix_typo_state
(fix) typo in state.go
2022-04-11 23:47:59 +02:00
Quan TRAN 3cae3f4f89 add integration test
Signed-off-by: Quan TRAN <account@itscaro.me>
2022-04-11 23:41:28 +02:00
Quan TRAN 88127d641b [fix] chartify process when chart path is absolute
Signed-off-by: Quan TRAN <account@itscaro.me>
2022-04-11 23:34:52 +02:00
yxxhero 9c0c021dc9 fix typo in state.go
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-04-11 23:33:25 +02:00
yxxhero 7743f317d1 fix output-dir issue
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-04-11 12:57:09 +08:00
Yusuke Kuoka f1a250cab3
Merge pull request #28 from itscaro/qtran/image
[Dockerfile] only use image alpine for compilation, add sops & age to pre-built image, remove helm v2 image
2022-04-08 11:20:05 +09:00
Yusuke Kuoka 89a00ca3e3
Merge pull request #25 from helmfile/bump-go-getter
Bump go-getter to 1.5.11
2022-04-08 11:18:20 +09:00
Yusuke Kuoka b672af6c06 Bump go-getter to 1.5.11
Ref https://github.com/roboll/helmfile/issues/2106

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-04-08 02:03:40 +00:00
Quan TRAN a4555f34ff test build image without publication
Signed-off-by: Quan TRAN <account@itscaro.me>
2022-04-06 11:30:10 +02:00
Quan TRAN 570a2c22e9 [Dockerfile] only use image alpine for compilation, add sops & age to pre-built image, remove helm v2 image
Signed-off-by: Quan TRAN <account@itscaro.me>
2022-04-06 10:59:24 +02:00
Yusuke Kuoka 97e0ca73ca feat: Auto-detect term for coloring helm-diff output
Since helm-diff has added an ability to auto-detect the term to decide if it should output with color or not, helmfile had been defaulted to no-color.
This resoloves that, by adding a term-detection logic that is same as helm-diff.

As a part of this work, I have also implemented a new global flag `--color`, which is used for forcing color without relying on the term-detection logic implemented in helmfile or explicitly setting the HELM_DIFF_COLOR envvar. I hope it is useful for folks.

Ref https://github.com/roboll/helmfile/issues/2043

Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-04-06 02:38:36 +00:00