yxxhero
9d74fa3513
bump chartify to v0.13.0 ( #702 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-02-17 14:07:14 +08:00
dependabot[bot]
ebc56f3aff
build(deps): bump github.com/containerd/containerd from 1.6.15 to 1.6.18 ( #701 )
...
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd ) from 1.6.15 to 1.6.18.
- [Release notes](https://github.com/containerd/containerd/releases )
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md )
- [Commits](https://github.com/containerd/containerd/compare/v1.6.15...v1.6.18 )
---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-17 07:47:00 +08:00
dependabot[bot]
99e85bb672
build(deps): bump github.com/hashicorp/go-getter from 1.6.2 to 1.7.0 ( #697 )
...
Bumps [github.com/hashicorp/go-getter](https://github.com/hashicorp/go-getter ) from 1.6.2 to 1.7.0.
- [Release notes](https://github.com/hashicorp/go-getter/releases )
- [Changelog](https://github.com/hashicorp/go-getter/blob/main/.goreleaser.yml )
- [Commits](https://github.com/hashicorp/go-getter/compare/v1.6.2...v1.7.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-getter
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-16 12:43:23 +08:00
Kohei Yamamoto
cb50fa932c
fix: repos command help message ( #698 )
2023-02-15 07:23:50 +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
2d98bba1a1
Fix a typo in the v1 proposal ( #688 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-02-09 08:24:07 +08:00
dependabot[bot]
d443e7424e
build(deps): bump helm.sh/helm/v3 from 3.11.0 to 3.11.1 ( #689 )
2023-02-09 08:00:06 +08:00
Yusuke Kuoka
8f2d97a1b3
Relax the forbid-env-with-releases policy for plain helmfile.yaml on v1 ( #684 )
2023-02-09 07:02:50 +08:00
dependabot[bot]
e930deffbc
build(deps): bump golang.org/x/term from 0.4.0 to 0.5.0 ( #686 )
2023-02-09 06:03:48 +08:00
Yusuke Kuoka
0e89ceb0f0
Remove references to .tpl from v1 proposal ( #685 )
...
I think we never implemented support for .tpl suffixed helmfile.yaml.
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-02-08 11:14:22 +08:00
Yusuke Kuoka
8c130a4fa7
fix: Make the forbid-env-with-releases policy strict on v1 ( #683 )
...
Currently, both v0 and v1 warns any usage of environments with releases within the same helmfile part.
It should rather be an error for v1, as proposed in https://github.com/helmfile/helmfile/blob/main/docs/proposals/towards-1.0.md#forbid-the-use-of-environments-and-releases-within-a-single-helmfileyaml-part .
Follow-up for #592
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-02-08 09:09:12 +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
xiaomudk
b359efef8b
Sync Chinese readme ( #676 )
2023-02-07 07:05:18 +08:00
xiaomudk
4ce8676588
Improve readme readability ( #678 )
...
Signed-off-by: xiaomudk <xiaomudk@gmail.com>
2023-02-07 07:25:35 +09:00
Yusuke Kuoka
59f32512fd
Use goccy/go-yaml fork to not break dynamic values on helmfile v1 ( #675 )
...
* Use goccy/go-yaml fork to not break dynamic values on helmfile v1
I forked goccy/go-yaml to https://github.com/helmfile/go-yaml and added a commit 259d2ed450 to let it produce YAML data compatible with other legacy YAML parsers that do not support YAML 1.2.
Ref https://github.com/helmfile/helmfile/discussions/656
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
* Add test for goccy/go-yaml fork behavior
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
---------
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-02-06 11:39:27 +08:00
yxxhero
652628c5ee
Bump Go to 1.20 ( #672 )
...
* bump go 1.20
Signed-off-by: yxxhero <aiopsclub@163.com>
* use go-version: ^1.20
Signed-off-by: yxxhero <aiopsclub@163.com>
* bump go 1.20
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix go version
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix go version
Signed-off-by: yxxhero <aiopsclub@163.com>
---------
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-02-04 08:57:52 +08:00
yxxhero
9aadde6173
fix typo ( #670 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-02-01 22:25:01 +08:00
xiaomudk
04fc38f233
Add chinese readme ( #664 )
...
Add chinese docs
Signed-off-by: xiaomudk <xiaomudk@gmail.com>
2023-02-01 07:54:25 +09:00
yxxhero
f355b297be
add build-in objects docs ( #667 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-02-01 07:53:59 +09:00
Yusuke Kuoka
d263b99b44
Reformat v1 proposal ( #663 )
...
so that we can link to each section easily using "#the-element-id" URL fragment.
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-01-30 08:47:00 +08:00
toyamagu
5190d0b62b
docs: Running helmfile withought an internet connection by --skip-deps option ( #659 )
2023-01-29 13:34:59 +08:00
Felix
daa77b24c0
Bring up the init command in readme #661 ( #662 )
2023-01-29 04:44:22 +08:00
yxxhero
1ccdf83cd5
update hooks docs ( #657 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-01-26 07:36:13 +09:00
yxxhero
d164a4f0bb
update examples info ( #658 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-01-26 07:34:43 +09:00
Chetan Goti
518ab98c1c
fix(docs): transfer issue link for Docs site ( #655 )
2023-01-25 13:56:22 +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
b44aaf90f7
remove helm v2 code in tests ( #648 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-01-24 07:02:57 +09:00
Yusuke Kuoka
ec60ac815b
feat: Add missingFileHandlerConfig.ignoreMissingGitBranch ( #645 )
2023-01-23 17:27:00 +08:00
Yusuke Kuoka
60e024ee3b
Fix a minor typo in the v1 proposal ( #646 )
2023-01-23 09:50:19 +08:00
Yusuke Kuoka
543629f335
Remove unused go-getter driver funcs ( #643 )
...
The go-getter driver (named `Remote`) is used to implement remote values. I found some unused functions in its implementation. This commit removes those unused functions so that it becomes more maintainable.
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2023-01-22 16:06:43 +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
dependabot[bot]
f3a24dd99a
build(deps): bump k8s.io/apimachinery from 0.26.0 to 0.26.1 ( #641 )
...
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery ) from 0.26.0 to 0.26.1.
- [Release notes](https://github.com/kubernetes/apimachinery/releases )
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.26.0...v0.26.1 )
---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-20 09:37:14 +08: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
dependabot[bot]
44b473ebe8
build(deps): bump github.com/containerd/containerd from 1.6.6 to 1.6.12 ( #632 )
...
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd ) from 1.6.6 to 1.6.12.
- [Release notes](https://github.com/containerd/containerd/releases )
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md )
- [Commits](https://github.com/containerd/containerd/compare/v1.6.6...v1.6.12 )
---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-17 17:14:01 +08:00
Gaius
c3a9d45b55
feat: add paths-ignore to ci.yaml and lint.yaml ( #631 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-01-17 16:56:36 +08:00
koralsky
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
xiaomudk
c4eb62388b
Drop Helm v2 support ( #613 )
...
Resolves #589
Signed-off-by: xiaomudk <xiaomudk@gmail.com>
2023-01-17 09:24:47 +09:00
xiaomudk
1f134d931f
fix fetch does not work with kustomized releases ( #624 )
...
* fix fetch does not work with kustomized releases
Signed-off-by: xiaomudk <xiaomudk@gmail.com>
* add tests
Signed-off-by: yxxhero <aiopsclub@163.com>
Signed-off-by: xiaomudk <xiaomudk@gmail.com>
Signed-off-by: yxxhero <aiopsclub@163.com>
Co-authored-by: yxxhero <aiopsclub@163.com>
2023-01-15 09:19:01 +08:00
yxxhero
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
yxxhero
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
dependabot[bot]
fdfa520f1b
build(deps): bump gitpython from 3.1.27 to 3.1.30 in /docs ( #618 )
...
Bumps [gitpython](https://github.com/gitpython-developers/GitPython ) from 3.1.27 to 3.1.30.
- [Release notes](https://github.com/gitpython-developers/GitPython/releases )
- [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES )
- [Commits](https://github.com/gitpython-developers/GitPython/compare/3.1.27...3.1.30 )
---
updated-dependencies:
- dependency-name: gitpython
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-06 09:26:37 +08:00
dependabot[bot]
982795acb3
build(deps): bump golang.org/x/term from 0.3.0 to 0.4.0 ( #616 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/golang/term/releases )
- [Commits](https://github.com/golang/term/compare/v0.3.0...v0.4.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-06 08:48:34 +08:00
Yusuke Kuoka
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
Yusuke Kuoka
490bb5d147
feat: `inherit` field for release template inheritance ( #606 )
...
* feat: `inherit` field for release template inheritance
Ref https://github.com/helmfile/helmfile/issues/435#issuecomment-1364749414
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
* Fix wording
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
* Comment on releaseWithInheritedTemplate
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
* Update Release Template doc with the new `inherit` feature
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
* Fix a typo in code comment
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-12-28 10:01:04 +09:00