Commit Graph

1803 Commits

Author SHA1 Message Date
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
dependabot[bot] c299cd930d
build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 (#866)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.3)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-20 06:43:58 +08:00
dependabot[bot] 03883e246d
build(deps): bump k8s.io/apimachinery from 0.27.1 to 0.27.2 (#865) 2023-05-19 05:06:26 +08: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 641e1f876a
docs: update cascade (#861)
* docs: update cascade

Signed-off-by: yxxhero <aiopsclub@163.com>
2023-05-15 17:07:17 +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
dependabot[bot] 8e036e19dc
build(deps): bump github.com/docker/distribution from 2.8.1+incompatible to 2.8.2+incompatible (#857) 2023-05-12 05:42:03 +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
dependabot[bot] 45e6bccbfa
build(deps): bump go.szostok.io/version from 1.1.0 to 1.2.0 (#852)
Bumps [go.szostok.io/version](https://github.com/mszostok/version) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/mszostok/version/releases)
- [Commits](https://github.com/mszostok/version/compare/v1.1.0...v1.2.0)

---
updated-dependencies:
- dependency-name: go.szostok.io/version
  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-05-09 07:44:50 +08:00
yxxhero 643f888703
fix: loadBases overrodeEnv issue (#838) 2023-05-08 05:24:32 +08:00
William Lahti b6dd7122f9
feat: add --skip-trailing-cr to helmfile diff (#625) 2023-05-08 05:23:59 +08:00
dependabot[bot] 14a33f998f
build(deps): bump golang.org/x/sync from 0.1.0 to 0.2.0 (#847) 2023-05-05 09:07:57 +08:00
dependabot[bot] 68f569f2c7
build(deps): bump golang.org/x/term from 0.7.0 to 0.8.0 (#846)
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/golang/term/releases)
- [Commits](https://github.com/golang/term/compare/v0.7.0...v0.8.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-05 07:54:32 +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
Vincent Stchu 3d0f0afe3a
Feat: support helm flag --enable-dns (#830)
* Support helm flag --enable-dns

Signed-off-by: vincent_stchu <24803055+vincentstchu@users.noreply.github.com>
2023-04-27 16:27:09 +08:00
Lavi Blumberg b7233d1238
Properly emulated arm64 Docker builds (#826)
Signed-off-by: Lavi Blumberg <lavifb@gmail.com>
2023-04-24 23:32:59 +08:00
Ronny Moreas 58a1f2d079
chore(release): fix condition for latest tag (#823)
Signed-off-by: Ronny Moreas <ronny.moreas@kuleuven.be>
2023-04-22 16:55:04 +08:00
Lavi Blumberg b5cc1685ec
Fix depedency binaries for arm64 builds (#820)
* Build correct arch for container image

Signed-off-by: Lavi Blumberg <lavifb@gmail.com>

* Fixed arch of binaries pulled in by the Dockerfile

Signed-off-by: Lavi Blumberg <lavifb@gmail.com>

---------

Signed-off-by: Lavi Blumberg <lavifb@gmail.com>
2023-04-21 07:36:43 +08:00
Lavi Blumberg 75092bf0bc
Build correct arch for container image (#817)
Signed-off-by: Lavi Blumberg <lavifb@gmail.com>
2023-04-20 06:15:00 +08:00
stoned 75e52d70b5
Uniformize usage message (#813) 2023-04-19 06:37:28 +08:00
stoned b1f1d28fa7
Fix Markdown rendering of indented code blocks (#814)
... by using plain indented code blocks instead of indented fenced
code blocks.

While here also fix list rendering and add missing Go template escaping
in inline `values` map example.

Signed-off-by: Stoned Elipot <stoned.elipot@gmail.com>
2023-04-19 06:19:49 +08:00
stoned 4aeb0ff6f2
Fix inherit examples following #674 (#815) 2023-04-19 05:56:29 +08:00
stoned 1ddba549d3
Doc fixes (#812) 2023-04-18 21:10:22 +08:00
Oleksandr Vorona e45b1b66c9
Add documentation on internal environment variables (#811)
Signed-off-by: Alex Vorona <alex@vorona.com.ua>
2023-04-18 19:24:48 +08:00
dependabot[bot] 1f106784d0
build(deps): bump k8s.io/apimachinery from 0.27.0 to 0.27.1 (#810) 2023-04-18 05:06:14 +08:00
stoned 36d35d97c1
bump vals to v0.25.0 (#808) 2023-04-17 13:07:00 +08: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 7c72e2ba3e
fix: ValuesTemplate quote issue (#787)
* fix: ValuesTemplate quote issue

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

* optimize goccy yaml options

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

* add more options

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>
2023-04-14 13:03:26 +09: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
dependabot[bot] 4972dc49f1
build(deps): bump k8s.io/apimachinery from 0.26.3 to 0.27.0 (#801) 2023-04-13 02:16:08 +08:00
Edu-DevOps 6eeca385e0
Documentation updated about kubeVersion field (#797) 2023-04-11 05:42:48 +08:00
dependabot[bot] 58519d3b28
build(deps): bump github.com/Masterminds/semver/v3 from 3.2.0 to 3.2.1 (#796) 2023-04-11 05:00:58 +08:00
dependabot[bot] d0dbb2c2e2
build(deps): bump golang.org/x/term from 0.6.0 to 0.7.0 (#789) 2023-04-06 06:49:30 +08:00
AndreiBrandes b52e2af217
Update USERS.md (#777) 2023-04-05 11:12:17 +08:00
dependabot[bot] ed5f530c00
build(deps): bump github.com/docker/docker from 20.10.21+incompatible to 20.10.24+incompatible (#784)
build(deps): bump github.com/docker/docker

Bumps [github.com/docker/docker](https://github.com/docker/docker) from 20.10.21+incompatible to 20.10.24+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v20.10.21...v20.10.24)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-05 08:10:53 +08:00
dependabot[bot] 52358fc2ce
build(deps): bump github.com/spf13/cobra from 1.6.1 to 1.7.0 (#783) 2023-04-05 06:53:59 +08:00
Jan-Otto Kröpke ca2759e78d
Bump github.com/helmfile/vals (#781) 2023-04-05 05:33:53 +08:00
dependabot[bot] 0573034c6d
build(deps): bump github.com/goccy/go-yaml from 1.10.1 to 1.11.0 (#778) 2023-04-04 04:31:33 +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
dependabot[bot] fe1eba60db
build(deps): bump go.uber.org/multierr from 1.10.0 to 1.11.0 (#772) 2023-03-31 06:00:51 +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 6b31b66473
fix: goccy/go-yaml tests (#770)
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-03-28 18:00:14 +08:00
yxxhero c17317100b
feat: use offical goccy/go-yaml (#769)
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-03-28 17:26:48 +08:00
Scott Leggett 734957238d
fix: formatting of YAML samples in 1.0 proposal doc (#767)
Signed-off-by: Scott Leggett <scott@sl.id.au>
2023-03-27 17:01:26 +08:00
Ronny Moreas 10d640b211
chore(release): add latest tag only on release tags (#766) 2023-03-26 05:12:49 +08:00
dependabot[bot] d276cd2902
build(deps): bump github.com/imdario/mergo from 0.3.14 to 0.3.15 (#762) 2023-03-25 07:11:11 +08:00
yxxhero 5e8a502b41
feat: use new helm version parse function (#760)
* feat: use new helm version parse function

Signed-off-by: yxxhero <aiopsclub@163.com>
2023-03-23 08:46:11 +08:00
yxxhero bfb94314be
bump chartify to v0.14.0 (#759)
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-03-21 18:52:42 +08:00