yxxhero
40a4239d26
fix tests
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-02-05 21:42:43 +08:00
yxxhero
34ccb5453f
fix tests
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-02-05 21:42:43 +08:00
yxxhero
b9ff121ecb
fix tests
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-02-05 21:42:43 +08:00
yxxhero
4d651c9ecf
fix tests
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-02-05 21:42:43 +08:00
yxxhero
95d28f1e85
fix tests
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-02-05 21:42:43 +08:00
yxxhero
4ae56074d5
fix tests
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-02-05 21:42:43 +08:00
yxxhero
a2a31189ba
fix tests
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-02-05 21:42:43 +08:00
yxxhero
c400df0241
fix tests
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-02-05 21:42:43 +08:00
yxxhero
a160522048
fix tests
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-02-05 21:42:43 +08:00
yxxhero
677878b7ac
fix tests
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-02-05 21:42:43 +08:00
yxxhero
7d86dc5efc
fix tests
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-02-05 21:42:43 +08:00
yxxhero
7543c25637
fix tests
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-02-05 21:42:43 +08:00
yxxhero
f92c7d9a5f
fix tests
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-02-05 21:42:43 +08:00
yxxhero
26ec463543
fix tests
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-02-05 21:42:43 +08:00
yxxhero
52f2ced67c
fix tests
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-02-05 21:42:43 +08:00
yxxhero
a9fce77d4a
fix tests
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-02-05 21:42:43 +08:00
yxxhero
44d79a9f14
fix tests
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-02-05 21:42:43 +08:00
yxxhero
b01af88aa6
fix tests
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-02-05 21:42:43 +08:00
yxxhero
465a14e0f9
fix tests
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-02-05 21:42:43 +08:00
yxxhero
d6e6035a62
fix tests
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-02-05 21:42:43 +08:00
yxxhero
6ce6b94b35
fix tests
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-02-05 21:42:43 +08:00
yxxhero
f400bed3a5
refactor(two_pass_renderer): remove unused imports and functions
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-02-05 21:42:43 +08:00
yxxhero
a783ae1242
fix tests
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-02-05 21:42:43 +08:00
Guillaume Le Blanc
09c9ceb075
Use a regex to match --state-values-set-string arguments ( #1902 )
...
Signed-off-by: Guillaume Le Blanc <gleblanc@proton.me>
2025-02-04 07:59:31 +08:00
Nikolai Rodionov
b5eb879357
feat: execute templates against postRendererHooks ( #1839 )
...
This commit is supposed to add template support to post renderer args.
Also, to make it possible to template arguments that are added to helm
defaults, during the load, I'm removing default post renderer args from
the state and putting them to each release, unless custom args are
defined for the release.
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
2025-01-28 09:34:59 -05:00
Adam Blasko
524636c0a8
fix: using correct option for takeOwnership flag ( #1892 )
...
Fixed test to correctly assert the new flag
Signed-off-by: Adam Blasko <adam.blasko1@gmail.com>
2025-01-23 08:30:39 +08:00
Matthias Baur
d059b28fb3
Ensure 'helm repo add' is also not pollute on helmfile template ( #1887 )
...
When having multiple helmfiles in one helmfile.d folder and multiple of
them having repositories defined, the errors mention in #1749 still
existed.
Fixes #1749 (again)
Signed-off-by: Matthias Baur <m.baur@syseleven.de>
2025-01-22 20:42:33 +08:00
yxxhero
2784a4fbd7
build: update helm-diff to v3.9.14 in Dockerfiles and init.go ( #1877 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-01-17 19:54:04 -05:00
yxxhero
d0b75412d1
update helm and k8s versions in ci, dockerfiles, and go.mod ( #1872 )
2025-01-16 09:36:39 +08:00
Justin Lai
afe18e8031
feat: Add "--no-hooks" to helmfile template ( #1813 )
...
* Adding support for no-hooks in template cmd
Signed-off-by: Justin Lai <justin.lai@invitae.com>
2025-01-15 13:33:16 +08:00
Purple Clay
2333f093c1
fix: ensure development versions of charts can be used across helmfile commands ( #1865 )
...
Signed-off-by: purpleclay <purpleclaygh@gmail.com>
2025-01-13 20:55:23 +08:00
Purple Clay
2e21e2fa0b
fix: ensure plain http is supported across all helmfile commands ( #1858 )
...
fix: ensure plain http is supported across helmfile commands
Signed-off-by: purpleclay <purpleclaygh@gmail.com>
2025-01-12 15:31:12 +08:00
yxxhero
22ad21c1ae
feat: add --take-ownership flag to apply and sync commands ( #1863 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2025-01-11 08:41:10 -06:00
yxxhero
14677e288f
build: update helm-diff to v3.9.13 in Dockerfiles and init.go ( #1841 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-12-20 20:21:52 -05:00
yxxhero
53f25a1fd3
build: update Helm version to v3.16.4 in CI and Dockerfiles ( #1837 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-12-18 15:50:35 +08:00
yxxhero
f99c9c0ec4
test(state): add TestHelmState_setStringFlags for setStringFlags method ( #1823 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-12-10 08:41:55 +08:00
yxxhero
bd12fa1cc3
feat(state): add support for setString in ReleaseSpec and HelmState ( #1821 )
...
* feat(state): add support for setString in ReleaseSpec and HelmState
Signed-off-by: yxxhero <aiopsclub@163.com>
* docs: add setString section to index.md for helm configuration
Signed-off-by: yxxhero <aiopsclub@163.com>
* tests: fix more tests
Signed-off-by: yxxhero <aiopsclub@163.com>
---------
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-12-09 10:37:56 -05:00
Thomas Loubiou
8891439cdc
fix: inject global values in Chartify ( #1805 )
...
* fix: inject global values in Chartify
Signed-off-by: Thomas Loubiou <thomas.loubiou@mirakl.com>
* test: add integration tests for template --values
Signed-off-by: Thomas Loubiou <thomas.loubiou@mirakl.com>
---------
Signed-off-by: Thomas Loubiou <thomas.loubiou@mirakl.com>
2024-12-04 18:51:21 +08:00
Zubair Haque
9320822d16
chore: update with testify/assert assertion and table driven tests for fs.go ( #1794 )
...
* update with testify/assert assertion and table driven tests
Signed-off-by: zhaque44 <haque.zubair@gmail.com>
* updating test with missing scenario
Signed-off-by: zhaque44 <haque.zubair@gmail.com>
---------
Signed-off-by: zhaque44 <haque.zubair@gmail.com>
2024-11-21 09:55:53 -06:00
Krzysztof Łuczak
4287471acc
feat: add HELMFILE_INTERACTIVE env var to enable interactive mode ( #1787 )
...
* feat: add HELMFILE_INTERACTIVE env var to enable interactive mode
This commit adds the `HELMFILE_INTERACTIVE` environment variable
to enable the interactive mode by default.
Anything other than `true` will disable the interactive mode.
The precedence has the `--interactive` flag.
Signed-off-by: Krzysztof Łuczak <krzysztof.luczak.pro@gmail.com>
* Trim trailing whitespaces
Signed-off-by: Krzysztof Łuczak <krzysztof.luczak.pro@gmail.com>
---------
Signed-off-by: Krzysztof Łuczak <krzysztof.luczak.pro@gmail.com>
2024-11-18 16:35:48 +08:00
yxxhero
96d716ae00
fix: update helm-diff to version 3.9.12 in CI and Dockerfiles ( #1792 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-11-17 17:34:10 -05:00
dependabot[bot]
f0965d6d03
build(deps): bump github.com/goccy/go-yaml from 1.13.9 to 1.14.0 ( #1782 )
...
* build(deps): bump github.com/goccy/go-yaml from 1.13.9 to 1.14.0
Bumps [github.com/goccy/go-yaml](https://github.com/goccy/go-yaml ) from 1.13.9 to 1.14.0.
- [Release notes](https://github.com/goccy/go-yaml/releases )
- [Changelog](https://github.com/goccy/go-yaml/blob/master/CHANGELOG.md )
- [Commits](https://github.com/goccy/go-yaml/compare/v1.13.9...v1.14.0 )
---
updated-dependencies:
- dependency-name: github.com/goccy/go-yaml
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* feat(yaml): allow duplicate keys in strict mode
Signed-off-by: yxxhero <aiopsclub@163.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: yxxhero <aiopsclub@163.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: yxxhero <aiopsclub@163.com>
2024-11-14 08:27:43 +08:00
yxxhero
1464bd2bfa
feat: refactor label creation in state.go ( #1758 )
...
* feat: refactor label creation in state.go
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix more
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix test
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix more issue
Signed-off-by: yxxhero <aiopsclub@163.com>
---------
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-11-10 18:28:01 -05:00
Matthias Baur
d23dc8a9de
Add integration tests for #1749 ( #1766 )
...
* Add integration tests for #1749
Signed-off-by: Matthias Baur <m.baur@syseleven.de>
* Reset extra args on a higher level to only affect subsequent helmfiles
With the implementation before, extra args has been reset after each
helm.exec which leads to problems with multiple charts in a helmfile
since the correct args are only set once in Template(). But Template()
calls helm.exec(template) multiple times.
Signed-off-by: Matthias Baur <m.baur@syseleven.de>
---------
Signed-off-by: Matthias Baur <m.baur@syseleven.de>
2024-11-06 08:12:20 +08:00
dependabot[bot]
eb9cd77da3
build(deps): bump github.com/goccy/go-yaml from 1.12.0 to 1.13.0 ( #1759 )
2024-10-29 00:07:58 +00:00
zebreay
5837672bfa
fix(maputil): prevent nil value overwrite ( #1755 )
...
Signed-off-by: zhengbayi <ban11111@qq.com>
Co-authored-by: zhengbayi <zhengbaiyi@sensetime.com>
2024-10-25 20:52:05 +08:00
Zubair Haque
d1416ec7b4
feat: add skip json schema validation during the install /upgrade of a Chart ( #1737 )
...
* open PR for --skip-schema-validation flag
Signed-off-by: zhaque44 <haque.zubair@gmail.com>
2024-10-24 20:53:18 +08:00
Matthias Baur
a7d2321efd
Reset extra args before running 'dependency build' ( #1751 )
2024-10-24 06:17:58 +08:00
Zubair Haque
61439fbc34
chore: improve test assertions and descriptions for file download test ( #1745 )
...
improve test assertions and descriptions for file download test
Signed-off-by: zhaque44 <haque.zubair@gmail.com>
2024-10-19 20:52:01 +08:00
Shane Starcher
dea501cb10
[feature] --skip-refresh to pass through to deps ( #1740 )
...
--skip-refresh right now disables adding new repos, but in addition it
should pass down to helm deps update to not refresh the actual values
Signed-off-by: Shane Starcher <shane.starcher@gmail.com>
Co-authored-by: Shane Starcher <shane.starcher@gmail.com>
2024-10-15 22:26:59 +08:00