Commit Graph

1817 Commits

Author SHA1 Message Date
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
yxxhero 2f0bc4b2e4
add unittest for storage (#894)
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-06-13 13:20:40 +09:00
Joseph Gardner d3c34d61f2
fix(docs): table and list formatting (#891)
Signed-off-by: Joseph Gardner <josephgardner@users.noreply.github.com>
2023-06-11 06:57:38 +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
Joseph Gardner 8249833d14
chore(docs): fix table (#881)
Signed-off-by: Joseph Gardner <josephgardner@users.noreply.github.com>
2023-06-06 06:41:21 +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 e67eb0c973
Upgrade helm diff version (#883)
feat: bump helm diff to v3.8.0

Signed-off-by: yxxhero <aiopsclub@163.com>
2023-06-04 10:29:32 +08:00
yxxhero ae77967bf2
cleanup: remove tls configures about helm v2 (#880) 2023-06-03 22:02:46 +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
dependabot[bot] d9e303befa
build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (#876)
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4)

---
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-31 07:20:29 +08:00
dependabot[bot] 048ab1dcf5
build(deps): bump github.com/imdario/mergo from 0.3.15 to 0.3.16 (#873)
Bumps [github.com/imdario/mergo](https://github.com/imdario/mergo) from 0.3.15 to 0.3.16.
- [Release notes](https://github.com/imdario/mergo/releases)
- [Commits](https://github.com/imdario/mergo/compare/v0.3.15...v0.3.16)

---
updated-dependencies:
- dependency-name: github.com/imdario/mergo
  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-30 07:35:49 +08:00
Dejan Benedik 47328f31aa
fix: more stringent condition checking (#869)
The code requires `foo.enabled` condition pattern but didn't check the
latter part.

Signed-off-by: Dejan Benedik <dejan.benedik@3fs.si>
2023-05-25 16:05:14 +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
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