Tim Ramlot
7ccacb7ee5
Add the SyncArgs option and --sync-args flag ( #1375 )
...
* add the SyncArgs option
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
* add syncArgs to helmDefaults and update index.md
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
* add --sync-args flags to helmfile sync
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
* add tests for appendExtraDiffFlags and appendExtraSyncFlags
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
---------
Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-02-29 20:49:48 +08:00
Eduardo Naves
430677d43c
Fix the password display problem when passing the chart link ( #1281 )
...
* Fix the password display problem when passing the
chart link
Signed-off-by: Eduardo Naves <eduardonaves41@gmail.com>
2024-01-24 09:01:04 +08:00
yxxhero
e99cde01ce
bump helm version to 3.13.3 ( #1225 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-12-14 10:26:17 +08:00
yxxhero
cb6b91c5dc
fix: ConditionEnabled panic issue ( #1221 )
2023-12-13 15:04:20 +08:00
Virgínia Tavares
b10692dc9b
Create DeleteWait and DeleteTimeout parameters for Destroy ( #1177 )
...
* Create DeleteWait and DeleteTimeout parameters
Signed-off-by: Virginia Tavares <briosovirginia@gmail.com>
* Create tests for deleteWait and deleteTimeout
Signed-off-by: Virginia Tavares <briosovirginia@gmail.com>
* build(deps): bump github.com/aws/aws-sdk-go from 1.48.6 to 1.48.7 (#1176 )
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.48.6 to 1.48.7.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.48.6...v1.48.7 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
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>
* Update temp_test.go with DeleteWait and DeleteTimeout
Signed-off-by: Virginia Tavares <briosovirginia@gmail.com>
* Create deleteWait function in state.go
Signed-off-by: Virginia Tavares <briosovirginia@gmail.com>
* Fix comments from review
Signed-off-by: Virginia Tavares <briosovirginia@gmail.com>
---------
Signed-off-by: Virginia Tavares <briosovirginia@gmail.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Virginia Tavares <virginia.tavares@ericsson.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-05 08:38:37 +08:00
yxxhero
26f89e7e5d
bump helm to 3.13.2 ( #1130 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-11-12 11:03:09 +08:00
yxxhero
c1c1ad45bd
feat: bump helm version to 3.13.1 of tests ( #1068 )
2023-10-16 18:08:52 -05:00
yxxhero
904f303a34
optimize OCI chart version check ( #1052 )
...
* optimize OCI chart version check
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
---------
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-10-07 02:16:41 -05:00
WrenIX
ab50997798
chore: join with space ( #963 )
...
Signed-off-by: WrenIX <dev.github@wrenix.eu>
2023-08-08 13:25:54 +08:00
yxxhero
c55fa0f765
Replace interface{} by any ( #901 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-06-16 10:49:05 +09: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
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
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
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
William Lahti
b6dd7122f9
feat: add --skip-trailing-cr to helmfile diff ( #625 )
2023-05-08 05:23:59 +08: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
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
yxxhero
2d9f83c1de
clean: optimize postrenderer code ( #738 )
2023-03-14 06:18:20 +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
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
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
guofutan
0a953731b0
fix( #507 ): support assign --post-renderer within helmfile flags and helmdefault or release config
...
1. only implement post-renderer flags this patch
2. As mumoshu advise, add helmfile flags `--post-render` and add the
postRenderer config in helmDefaults and release. the priority is
helmfile flags > release > helmDefaults.
3. fix the test case in state_test.go and some other tests.
Signed-off-by: guofutan <guofutan@tencent.com>
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-12-13 13:12:07 +08:00
koralsky
1ba83ae722
declare "reuse values" control mode in helmDefaults ( #527 )
...
* support for helmDefaults.reuseValues
Signed-off-by: Karol Ossowski <k@koralsky.pl>
2022-11-20 08:47:48 +08:00
yxxhero
143f85b4f1
fix: helmfile template fails when selector matches a chart fetched with go-getter
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-11-13 15:10:57 +08:00
Lassi Pölönen
0f44cfacc4
Add the ability to specify a lock file ( #432 )
...
Allow configuring the lockfile in the state. This makes it possible for
example maintain a lock per environment.
Signed-off-by: Lassi Pölönen <lassi.polonen@iki.fi>
Signed-off-by: Lassi Pölönen <lassi.polonen@iki.fi>
2022-11-12 08:59:56 +09:00
Helge Eichelberg
8f59a1c18a
Add --output-dir-template flag to the fetch command ( #456 )
...
* Add --output-dir-template flag to the fetch command
Signed-off-by: elchenberg <elchenberg@users.noreply.github.com>
2022-11-05 18:55:02 +08:00
Quan TRAN
e919b4b1d2
fix oci:// chart ( #477 )
...
* fix oci:// chart
Signed-off-by: Quan TRAN <itscaro@users.noreply.github.com>
2022-11-01 13:50:05 +08:00
Quan TRAN
414f899c28
use fs.Getwd() to get working dir for sub helmfile ( #471 )
...
* use fs.Getwd() to get working dir for sub helmfile
Signed-off-by: Quan TRAN <itscaro@users.noreply.github.com>
2022-10-29 07:40:40 +08:00
Quan TRAN
2702161e74
add basepath along with filepath into yaml comment ( #460 )
...
* add basepath along with filepath into yaml comment
Signed-off-by: Quan TRAN <itscaro@users.noreply.github.com>
2022-10-25 17:44:28 +08:00
Yusuke Kuoka
31cd729fd4
Prevent excessive log in tests
...
I had been unhappy with the fact that our go-test output had a lot of debug log messages which obfuscated test results.
I'm finally removeing all those by directing the test log output to io.Discard.
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-10-11 06:19:32 +09:00
yxxhero
21c28ca6d0
feat: add reuse-values args for diff apply and sync ( #411 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-10-08 14:27:39 +09:00
yxxhero
e06abe4620
feat: add more clear error message and Environment info for template ( #413 )
...
* feat: add more clear error message and Environment info for template
Signed-off-by: yxxhero <aiopsclub@163.com>
* Update pkg/state/state.go
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
Signed-off-by: yxxhero <aiopsclub@163.com>
Signed-off-by: yxxhero <aiopsclub@163.com>
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-10-07 10:56:32 +09:00
Kevin Leturc
422852dd9a
feat: retrieve repository's username/password from environment
...
Signed-off-by: Kevin Leturc <kevinleturc@users.noreply.github.com>
2022-10-06 16:48:44 +02:00
Felipe Santos
f15bdbbb0c
Use helm show chart to identify chart version
...
Signed-off-by: Felipe Santos <felipecassiors@gmail.com>
2022-10-03 22:04:08 -03:00
mugioka
68728ef352
chore: add test for gatherOCIUsernamePassword.
...
Signed-off-by: mugioka <okamugi0722@gmail.com>
2022-10-03 15:45:40 +09:00
Arpan
e1ca846772
added option for --no-hooks for helm diff and apply ( #279 )
...
* added option for --no-hooks for helm diff and apply
Signed-off-by: Arpan Adhikari <kcarpan5@gmail.com>
* test case for --no-hooks
Signed-off-by: Arpan Adhikari <kcarpan5@gmail.com>
* fix test fails
Signed-off-by: Arpan Adhikari <kcarpan5@gmail.com>
* Resolve conflict with main
Signed-off-by: Arpan Adhikari <kcarpan5@gmail.com>
* fixup! Resolve conflict with main
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
* Add no-hooks case for diff test
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
* fixup! Add no-hooks case for diff test
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
Signed-off-by: Arpan Adhikari <kcarpan5@gmail.com>
Signed-off-by: Yusuke Kuoka <ykuoka@gmail.com>
Co-authored-by: Arpan Adhikari <arpan@thephotostudio.com.au>
Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
2022-09-18 18:41:27 +09:00
Arkaitz Jimenez
cc33e7b7d8
Introduce Helmfile's own filesystem abstraction to correctly unit test some components ( #307 )
...
Use abstracted FS
Signed-off-by: Arkaitz Jimenez <arkaitzj@gmail.com>
Signed-off-by: Arkaitz Jimenez <arkaitzj@gmail.com>
2022-08-24 12:58:43 +09:00
yxxhero
8690d63401
fix lint error
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-08-13 07:40:32 +08:00
yxxhero
ac23def893
add Go lint
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-07-16 20:21:11 +08:00
Eng Zer Jun
ce3b81e2a1
test: use `T.Setenv` to set env vars in tests ( #189 )
...
This commit replaces `os.Setenv` with `t.Setenv` in tests. The
environment variable is automatically restored to its original value
when the test and all its subtests complete.
Reference: https://pkg.go.dev/testing#T.Setenv
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-06-30 09:15:34 +09:00
Sergio Morales
414db47428
chore(state): Append Api Versions flags to helm-diff ( #107 )
...
* chore(state): Append Api Versions flags to helm-diff
Signed-off-by: Sergio Morales <sergio@cornershopapp.com>
* chore(state): Added unit test to state.flagsForDiff
Signed-off-by: Sergio Morales <sergio@cornershopapp.com>
* chore(state): Check Helmstate values if ReleaseSpec values aren't set
Signed-off-by: Sergio Morales <sergio@cornershopapp.com>
2022-06-05 15:18:54 +09:00
austin ce
eb3484d4a8
Rename module to github.com/helmfile/helmfile
...
Also updates a few more references to the roboll/helmfile repository,
where possible.
Signed-off-by: austin ce <austin.cawley@gmail.com>
2022-05-18 10:05:07 -04:00
yxxhero
88f17e6c9a
fix more go lint warn
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-04-20 16:26:06 +08:00
yxxhero
303ef9cd80
remove ioutil usage in all project
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2022-04-03 15:53:19 +08:00
Anton Bretting
2f04831817
Fix various golangci-lint errors ( #2059 )
2022-02-12 20:28:08 +09:00
Sören Jentzsch
19927fc147
feat: Add --suppress option for diff and apply commands ( #2077 )
2022-02-03 08:46:39 +09:00
Babis K
d34dc7bb64
Add support for --insecure-skip-tls-verify flag on helm repo add command ( #1990 )
...
Parses a new field in repositories named `skipTLSVerify` and if set to `true`, it appends `--insecure-skip-tls-verify` in `helm repo add` command.
This should be useful with internal self-signed repos, mitm proxies etc.
Resolves #1871
2021-12-21 09:18:57 +09:00
pjotre86
77e6268bcb
Add support for transitive dependencies. ( #1983 )
...
Co-authored-by: Peter Aichinger <petera@topdesk.com>
2021-10-20 17:55:08 +09:00