Commit Graph

1695 Commits

Author SHA1 Message Date
yxxhero 400488d3ae
bump helm to 3.11.2 (#733)
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-03-09 09:00:48 +08:00
dependabot[bot] 87eaa851e7
build(deps): bump go.uber.org/multierr from 1.9.0 to 1.10.0 (#731) 2023-03-09 05:50:08 +08:00
yxxhero c21958557c
fix: improve set and values flags help message (#724)
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-03-07 09:21:13 +09:00
dependabot[bot] 939ae409c3
build(deps): bump golang.org/x/term from 0.5.0 to 0.6.0 (#728) 2023-03-07 05:22:46 +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 522392c08c
fix get template func (#721) 2023-03-03 06:37:22 +08:00
yxxhero a5c4bea54a
fix build-in objects docs (#719)
* fix build-in objects docs

Signed-off-by: yxxhero <aiopsclub@163.com>

* fix typo

Signed-off-by: yxxhero <aiopsclub@163.com>

---------

Signed-off-by: yxxhero <aiopsclub@163.com>
2023-03-02 11:03:24 +08:00
dependabot[bot] d56dfeb5e4
build(deps): bump k8s.io/apimachinery from 0.26.1 to 0.26.2 (#720) 2023-03-02 07:44:59 +08:00
dependabot[bot] 6607d12cac
build(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (#717) 2023-02-28 05:37:25 +08:00
yxxhero 68d6b2d885
fix: update file help message (#714) 2023-02-27 06:33:44 +08:00
yxxhero 2c2bfcf58a
issue with in process label will never be considered stale (#716)
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-02-27 07:28:53 +09:00
yxxhero 489a3ae133
fix cobra issue (#715)
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-02-24 21:43:42 +08:00
Mitsuo Heijo dfe835a9c4
Use Masterminds/semver/v3 instead of hashicorp/go-version (#712)
Signed-off-by: Mitsuo Heijo <mitsuo.heijo@gmail.com>
2023-02-22 09:43:13 +08:00
yxxhero d0ef31e10b
optimize logger code (#706)
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-02-19 23:20:47 +08:00
dependabot[bot] 77d3aee6f7
build(deps): bump golang.org/x/net from 0.5.0 to 0.7.0 (#704) 2023-02-18 16:50:24 +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
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