yxxhero
f052796fb2
fix tests
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-09-17 15:29:40 +08:00
yxxhero
9f7f5c02a8
fix tests
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-09-17 15:29:40 +08:00
yxxhero
e919131f17
fix: includes-transitive issue
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-09-17 15:29:40 +08:00
Yuuki Takahashi
430a825b12
Add diffArgs to helmDefaults ( #1019 )
...
* Add diffArgs to helmDefaults
Signed-off-by: Yuuki Takahashi <20282867+yktakaha4@users.noreply.github.com>
2023-09-13 21:23:41 -05:00
Alessio Dionisi
ad258463b6
feat: add an option to set a custom kustomize binary ( #1012 )
...
Signed-off-by: Alessio Dionisi <me@alessiodionisi.com>
2023-09-13 06:58:53 -05:00
yxxhero
85e037a946
bump helm to v3.12.3 ( #971 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-08-12 11:04:08 +08:00
Jan-Otto Kröpke
9bc7bfc500
Implement --diff-args ( #959 )
...
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
2023-08-09 19:47:15 +08:00
WrenIX
ab50997798
chore: join with space ( #963 )
...
Signed-off-by: WrenIX <dev.github@wrenix.eu>
2023-08-08 13:25:54 +08:00
yxxhero
48e48aa568
feat: add friendly tips for helmfile config order ( #710 )
...
* feat: add kindful tips for helmfile config order
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-08-06 22:22:36 +08:00
yxxhero
aac734ffd5
fix re-using environment state in sub-helmfiles issue ( #951 )
...
* fix re-using environment state in sub-helmfiles issue
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-08-06 21:49:55 +08:00
yxxhero
cfa89d4040
feat: add insecure support for oci repo ( #921 )
...
* feat: add insecure support for oci repo
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-07-24 09:09:10 +08:00
yxxhero
67ab08ab5e
fix: oci pull directory conflict when download twice ( #914 )
...
* fix: oci pull directory conflict when download twice
Signed-off-by: yxxhero <aiopsclub@163.com>
* add test cases
2023-07-23 21:10:03 +08:00
Yusuke Kuoka
858c233272
Cancel rendering helmfile parts once the missing env is detected in the previous part ( #941 )
...
* Cancel rendering helmfile parts once the missing env is detected in the previous part
Fixes #913
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-07-23 17:23:41 +08:00
yxxhero
a3c1e32676
bump helm to v3.12.2 ( #933 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-07-16 17:22:18 +08:00
yxxhero
c55fa0f765
Replace interface{} by any ( #901 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-06-16 10:49:05 +09:00
yxxhero
ee86032f0a
bump helm to v3.12.1 ( #899 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-06-15 11:12:41 +08:00
yxxhero
df01973824
cleanup: remove panic in testutil ( #890 )
...
* cleanup: remove panic in testutil
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-06-13 13:44:32 +08:00
Yusuke Kuoka
1f1c817e86
Stop failing on single helmfile part missing specified env ( #885 )
...
* Stop failing on single helmfile part missing specified env
Ref https://github.com/helmfile/helmfile/issues/807
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
* Enhance RequireLog test helper to support updating snapshot
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
---------
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-06-10 18:49:51 +08:00
Jan-Otto Kröpke
f7b9de6ac1
Feat: add --strip-args-values-on-exit-error ( #887 )
...
* Add --strip-args-values-on-exit-error
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
2023-06-07 14:39:38 +08:00
yxxhero
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
yxxhero
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
yxxhero
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
xiaomudk
c498af3f52
Fix set flag are ignored when used in conjunction with jsonPatches ( #867 )
...
* Fix set flag are ignored when used in conjunction with jsonPatches
Signed-off-by: xiaomudk <xiaomudk@gmail.com>
2023-05-24 07:29:19 +08:00
SeWieland
8b3ad5b793
feat: make environment context available ( #832 )
...
* feat: make environment context available
This feature adds the "{{.Environment.KubeContext}}" variable.
Discussion #829
Signed-off-by: sewieland <sebastian.wieland@iav.de>
* chore: fix tests which compare logging outputs
This commit adds an addtional space wherever needed to the expected log outputs due to the added "KubeContext" in the environment struct.
Discussion #829
Signed-off-by: Sebastian Wieland <wieland.s@mailbox.org>
* docs: added documentation for `Environment.KubeContext`
Discussion #829
Signed-off-by: Sebastian Wieland <wieland.s@mailbox.org>
* test: make sure the `Environment.KubeContext` is mapped out correctly
Discussion #829
Signed-off-by: Sebastian Wieland <wieland.s@mailbox.org>
---------
Signed-off-by: sewieland <sebastian.wieland@iav.de>
Signed-off-by: Sebastian Wieland <wieland.s@mailbox.org>
Co-authored-by: sewieland <sebastian.wieland@iav.de>
2023-05-22 13:43:46 +09:00
yxxhero
3bbd816247
fix extra args missing in helmfile apply subcommand ( #858 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-05-18 12:34:18 +08:00
yxxhero
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
yxxhero
54ed6bf0d5
bump helm to v3.12.0 ( #855 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-05-11 10:35:17 +08:00
William Lahti
b6dd7122f9
feat: add --skip-trailing-cr to helmfile diff ( #625 )
2023-05-08 05:23:59 +08:00
Dmitry Chepurovskiy
aa5be82834
Make helmfile respect signals send by kill command (not only Ctrl+C in terminal) ( #750 )
...
Fixes #746
Signed-off-by: Dmitry Chepurovskiy <me@dm3ch.net>
Signed-off-by: yxxhero <aiopsclub@163.com>
Co-authored-by: yxxhero <aiopsclub@163.com>
2023-04-29 15:25:29 +09:00
Soh Takada
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
AlexAxenti
0012e7e5a1
feat: add duration to affected releases on sync ( #773 )
...
* feat: add duration to affected releases on sync
Signed-off-by: Alexandru Axenti <alex.axenti@gmail.com>
2023-04-15 08:09:47 +08:00
yxxhero
219602ebc7
bump helm to v3.11.3 ( #802 )
...
* bump helm to v3.11.3
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-04-13 10:34:58 +08:00
Hans Song
1d0ba72b47
feat: add/expose cli flags ( #771 )
...
* feat: add/expose cli flags
Signed-off-by: Hans Song <hans.m.song@gmail.com>
* fix tests
Signed-off-by: Hans Song <hans.m.song@gmail.com>
* remove skipdeps from subcommand options
Signed-off-by: Hans Song <hans.m.song@gmail.com>
* remove skip-deps from subcommand flags
Signed-off-by: Hans Song <hans.m.song@gmail.com>
* remove SkipDeps from subcommand implementations
Signed-off-by: Hans Song <hans.m.song@gmail.com>
* update doco with new flags
Signed-off-by: Hans Song <hans.m.song@gmail.com>
---------
Signed-off-by: Hans Song <hans.m.song@gmail.com>
2023-04-02 14:53:52 +08:00
Quan TRAN
5650661a88
remove unnecessary remote.Locate() ( #565 )
...
* remove unnecessary Locate
Signed-off-by: Quan TRAN <account@itscaro.me>
* add remote test
Signed-off-by: Quan TRAN <itscaro@users.noreply.github.com>
---------
Signed-off-by: Quan TRAN <account@itscaro.me>
Signed-off-by: Quan TRAN <itscaro@users.noreply.github.com>
Co-authored-by: yxxhero <11087727+yxxhero@users.noreply.github.com>
2023-03-29 21:27:12 +08:00
yxxhero
2d9f83c1de
clean: optimize postrenderer code ( #738 )
2023-03-14 06:18:20 +08:00
yxxhero
400488d3ae
bump helm to 3.11.2 ( #733 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-03-09 09:00:48 +08:00
yxxhero
95c56d87fc
v1: Fix --state-values-set to override values of environments colocated with releases ( #705 )
2023-03-05 16:03:00 +08:00
yxxhero
d0ef31e10b
optimize logger code ( #706 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-02-19 23:20:47 +08:00
yxxhero
f629ee1ae6
bump vals to v0.22.0 ( #703 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-02-17 14:09:49 +08:00
xiaomudk
a8574ba0cf
Fix post-renderer flag not working in diff and template subcommand ( #691 )
...
Signed-off-by: xiaomudk <xiaomudk@gmail.com>
2023-02-14 10:47:24 +08:00
yxxhero
37c213210e
bump helm to 3.11.1 ( #695 )
2023-02-12 20:15:57 +08:00
yxxhero
65eca3337e
fix panic issue ( #690 )
2023-02-10 07:32:08 +08:00
Yusuke Kuoka
fc027d1538
breaking: Fix the inherit feature to support multi-inheritance ( #674 )
...
* breaking: Fix the inherit feature introduced in Helmfile v0.150.0 for multi-inheritance
Follow-up for #435
Addresses https://github.com/helmfile/helmfile/discussions/656#discussioncomment-4877360 towards Helmfile v1
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
* Print a deprecation warning on releases[].inherit of map
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
---------
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-02-07 08:18:19 +08:00
yxxhero
abbdb6950b
feat: add gotmpl file ext when using helmfile.d feature ( #649 )
...
Closes #654
Signed-off-by: yxxhero <aiopsclub@163.com>
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-01-25 08:34:39 +09:00
yxxhero
8bea5aee3e
use latest helm previous minor version for helmfile init ( #652 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-01-24 13:44:52 +08:00
Yusuke Kuoka
bc6317122b
Disable double-rendering in V1 ( #647 )
...
* Disable double-rendering in V1
We are going to force users to separate environments and releases sections in every helmfile.yaml in the [Helmfile V1](https://github.com/helmfile/helmfile/blob/main/docs/proposals/towards-1.0.md ). The goal of separation was to make the helmfile.yaml rendering result not dependent on the double-rendering and therefore the feature should be safe to be turned off in V1.
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
* Fix helmfile template rendering error log for v1
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
* Add test for helmfile template debug log differences between v0 and v1 modes
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
* Fix helmfile template render debug log to not mention "first-pass" in v1 mode
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-01-24 12:38:11 +08:00
Yusuke Kuoka
652b609b35
Do not load the legacy default charts.yaml in v1 ( #651 )
2023-01-24 07:01:31 +08:00
yxxhero
cff674b7e9
bump helm to v3.11.0 ( #639 )
...
* fix conflicts
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix checksum
Signed-off-by: yxxhero <aiopsclub@163.com>
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-01-21 11:56:03 +09:00
yxxhero
1664edd0b9
add --skip-charts for destroy for disable prepare charts ( #637 )
...
* add --skip-charts for destroy for disable prepare charts
Signed-off-by: yxxhero <aiopsclub@163.com>
* add --skip-charts for delete subcmd
Signed-off-by: yxxhero <aiopsclub@163.com>
* add docs and e2e test
Signed-off-by: yxxhero <aiopsclub@163.com>
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-01-21 11:54:59 +09:00
yxxhero
a724ab73f6
fix inherit chart empty check issue ( #635 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-01-19 09:37:22 +08:00