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
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
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
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
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
Felipe Santos
fbf40b600f
feat: improve summary for releases failed to delete ( #1735 )
...
Signed-off-by: Felipe Santos <felipecassiors@gmail.com>
2024-10-14 10:49:05 -04:00
Shane Starcher
b6ab825d3c
[feature] add --skip-refresh to globals ( #1736 )
2024-10-12 19:56:55 +08:00
Felipe Santos
4beb2ac042
fix: duration of delete failures are always 0s ( #1734 )
2024-10-12 06:58:38 +08:00
yxxhero
b375a31f20
feat: update go version and adjust dependencies in Dockerfile and go.mod ( #1722 )
...
* feat: update go version and adjust dependencies in Dockerfile and go.mod
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix lint
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix lint
Signed-off-by: yxxhero <aiopsclub@163.com>
---------
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-09-30 09:21:44 -04:00
yxxhero
8988892c53
build(deps): bump dario.cat/mergo from 0.3.16 to 1.0.1 ( #1714 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-09-19 18:47:24 -05:00
yxxhero
5c6572b492
Add hide notes support ( #1710 )
...
* add --hide-notes support
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-09-17 20:24:19 +08:00
yxxhero
18529ab7c5
fix: two releases using the same chart in different version fails ( #1685 )
...
* fix: two releases using the same chart in different version fails
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-09-12 20:26:45 +08:00
yxxhero
5ccb35df5a
fix verify stage for helmfile when use oci as chart ( #1661 )
...
* fix verify stage for helmfile when use oci as chart
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-09-04 08:17:58 +08:00
ennekein
2cc995e508
feat: adding ability for for charts to be pulled with plain HTTP ( #1672 )
...
* eat: adding ability for for charts to be pulled without HTTPS
accomplished by:
- Adding PlainHttp attribute to RepositorySpec., HelmDefault, ReleaseSpec
- Adding UnitTests for getOCIChart Flags.
- Adding funciton and unitTests for getChartDownload
- Changing and refactoring how Flags are added to getOCIChart.
Resolves #1224
Signed-off-by: Peter Halliday <peter.halliday@servicenow.com>
* Pass PlainHttp to OCI repo options, fix unit test
Signed-off-by: Pascal Rivard <privard@rbbn.com>
* Fix doc
Signed-off-by: Pascal Rivard <privard@rbbn.com>
* Use repository fields in non-OCI chart download options
Signed-off-by: Pascal Rivard <privard@rbbn.com>
* Update hashes in TestGenerateID
Signed-off-by: Pascal Rivard <privard@rbbn.com>
* Make sure repo exists when using its options
Signed-off-by: Pascal Rivard <privard@rbbn.com>
* Do not add TLS options if PlainHttp is set, adapt unit tests
Signed-off-by: Pascal Rivard <privard@rbbn.com>
* Fix doc
Signed-off-by: Pascal Rivard <privard@rbbn.com>
* Remove 'else if' from appendChartDownloadFlags
Signed-off-by: Pascal Rivard <privard@rbbn.com>
---------
Signed-off-by: Peter Halliday <peter.halliday@servicenow.com>
Signed-off-by: Pascal Rivard <privard@rbbn.com>
Co-authored-by: Peter Halliday <peter.halliday@servicenow.com>
Co-authored-by: Pascal Rivard <privard@rbbn.com>
2024-08-27 08:00:20 +08:00
Chris Doherty
b520e429de
fix: _*.tpl files add whitespace to empty Namespace ( #1674 )
2024-08-22 05:22:45 +08:00
Henrik Huitti
066a558303
fix(oci): use output-dir-template in path if specified ( #1648 )
...
* fix(oci): use output-dir-template in path if specified
Signed-off-by: Henrik Huitti <henrik.huitti@henhu.fi>
2024-07-31 07:32:09 +08:00
yxxhero
75ad24e6dc
feat: use helm status to find helm release ( #1640 )
...
* feat: use helm status to find helm release
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-07-30 13:40:44 +08:00
Adam Talbot
a684d1424d
feat: add support for OCI auth through registry-config flag ( #1630 )
...
Signed-off-by: Adam Talbot <adam.talbot@venafi.com>
2024-07-17 12:34:04 +08:00
yxxhero
56dad58180
feat: add namespace info in syncRelease and diffRelease ( #1609 )
2024-07-16 09:47:00 +08:00
Zubair Haque
45e7681b1e
chore: add tests for release filters ( #1629 )
2024-07-16 09:45:42 +08:00
Thomas Loubiou
f77dc3d5b2
fix: inject KubeVersion and ApiVersions in Chartify rendering ( #1624 )
...
* fix: inject KubeVersion and ApiVersions in Chartify rendering
fixes #1623
Signed-off-by: Thomas Loubiou <thomas.loubiou@mirakl.com>
* test: appendApiVersionsFlags
Signed-off-by: Thomas Loubiou <thomas.loubiou@mirakl.com>
* test: add case for appendApiVersionsFlags
Signed-off-by: Thomas Loubiou <thomas.loubiou@mirakl.com>
---------
Signed-off-by: Thomas Loubiou <thomas.loubiou@mirakl.com>
2024-07-12 22:28:20 +08:00
yxxhero
59ee3ce862
fix windows glob issue ( #1572 )
2024-06-26 13:03:09 +08:00
jim-barber-he
f73da1e2a1
Add helmfile template --show-only ( #1494 )
...
Add a `--show-only` parameter to the `helmfile template` command to pass
on to the `helm template` command.
Signed-off-by: Jim Barber <jim.barber@healthengine.com.au>
2024-05-12 07:02:02 +08:00
Yusuke Kuoka
7f798fa7b4
Relax the helmfile.lock helmfile binary version constraint ( #1511 )
2024-05-09 09:50:56 +08:00
xtphate
a15a1b0731
Feature/support env hcl and interpolations ( #1423 )
...
* support HCL language for env variables
Signed-off-by: xtphate <65117176+XT-Phate@users.noreply.github.com>
2024-04-22 08:02:14 +08:00
yxxhero
ac2e132482
add NAMESPACE filed for diff ( #1460 )
...
* add namespace filed for diff
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-04-18 17:43:59 +08:00
Cyril Jouve
8aa524cd93
skip helm dep up for kustomizations ( #1424 )
...
skip helm dep up deps for kustomizations
Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>
2024-03-26 07:45:39 +08:00
Nick Van Dyck
2155fce121
Allow for conditions to have a deeper nested structure. ( #1360 )
...
* allow conditions to have a deeper nested structure
Signed-off-by: Nick Van Dyck <vandyck.nick@outlook.com>
2024-03-12 10:04:04 +08:00
yxxhero
590486446f
fix needs issue when release installed is false ( #997 )
...
* fix needs issue when release installed is false
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-03-04 10:30:03 +08:00
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
yxxhero
9203641f03
feat: add suppress output line regex support ( #1329 )
...
* feat: add suppress output line regex support
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-02-18 12:10:14 +08:00
yxxhero
43fec2d599
fix: version path issue ( #1344 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-02-16 09:08:28 +09:00
Steven Davidovitz
a027b23698
fix: use finer-grained locking when listing releases for diff ( #1343 )
...
`isReleaseInstalled` will call `helm list` which can take a bit of time.
in order to allow parallelism, we need to use a finer mutex lock.
Signed-off-by: Steven Davidovitz <steven.davidovitz@dominodatalab.com>
2024-02-14 07:56:16 +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
67dc49d193
feat: bump helm to 3.14.0 ( #1295 )
2024-01-20 05:35:50 +08:00
Seonghoi Lee
4871a92b8c
fix: prevent preparing chart for disabled releases ( #1210 )
...
* fix: prevent preparing chart for disabled releases
Previously, PrepareCharts does not filter any releases whose condition
is disabled with no selectors.
Prevent following things from
- using any unnecessary computing resources for disabled charts
- throwing any error from wrong configurations for disabled charts
Signed-off-by: Seonghoi lee <mighty1231@gmail.com>
* fix: working for integration test about list and build
Some tests require that PrepareCharts without any selector
may not add any labels on the release.
make markExcludedReleases do not add any label without any selectors
Signed-off-by: Seonghoi lee <mighty1231@gmail.com>
* fix: prevent resolved chart version loss
State loss the resolved chart version info from st.Releases
when st.GetSelectedReleases() be called
update st.Releases after st.GetSelectedReleases() in prepareCharts
Signed-off-by: Seonghoi lee <mighty1231@gmail.com>
* fix: preserve resolved version from resolveDeps
In PrepareCharts, the version, resolved from resolveDeps,
is removed after invoking GetSelectedReleases.
Do updateDeps at the first before GetSelectedReleases call
Signed-off-by: Seonghoi lee <mighty1231@gmail.com>
---------
Signed-off-by: Seonghoi lee <mighty1231@gmail.com>
2024-01-02 08:56:07 +08:00
Vladan Pavlovic
22c05f9ed9
feat: respect helmfile.lock with ad-hoc kustimzation ( #1244 )
...
* Resolve dependencies before releases are created
Signed-off-by: vlpav030 <vpav.030@gmail.com>
* Add test
Signed-off-by: vlpav030 <vpav.030@gmail.com>
---------
Signed-off-by: vlpav030 <vpav.030@gmail.com>
2023-12-27 19:25:30 +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
Oleksandr Vorona
29caac793e
Allow secrets to be excluded from release template inheritance ( #1189 )
...
* Allow secrets to be excluded from inheritance, small docs update
Signed-off-by: Alex Vorona <alex@vorona.com.ua>
* Fix typo in docs
Signed-off-by: Alex Vorona <alex@vorona.com.ua>
---------
Signed-off-by: Alex Vorona <alex@vorona.com.ua>
2023-12-05 18:17:48 +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
7d6ed97333
feat: include func support ( #1187 )
...
* feat: include func support
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-12-04 21:51:01 +08:00
Maarten Boekhold
d0b8d7ee5e
Add "PostRendererArgs" option to be passed to helm ( #1133 )
...
* Add "PostRendererArgs" option to be passed to helm
This allows using PowerShell scripts on Windows as Post Renderer.
Signed-off-by: Maarten Boekhold <maarten.boekhold@finastra.com>
2023-11-21 21:32:14 +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
Cyril Jouve
66935c4080
resolved deps even when installed=false ( #1120 )
...
fix #1119
revert #1054
Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>
2023-11-09 12:02:32 +08:00
yxxhero
0c3951097e
fix #1095 ( #1100 )
...
* fix #1095
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-11-01 11:55:55 +08:00
yxxhero
98c4aec0d4
add more tests for Desired func ( #1082 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-10-22 20:49:18 +08:00
yxxhero
a371e41960
optimize flag logic about wait ( #1051 )
...
* optimize flag logic about wait
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
* add units
Signed-off-by: yxxhero <aiopsclub@163.com>
* fix little issues
Signed-off-by: yxxhero <aiopsclub@163.com>
---------
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-10-19 07:32:00 -05:00
yxxhero
c1c1ad45bd
feat: bump helm version to 3.13.1 of tests ( #1068 )
2023-10-16 18:08:52 -05:00
Felipe Santos
d58c664776
feat: add duration to failed releases summary ( #1066 )
...
Signed-off-by: Felipe Santos <felipecassiors@gmail.com>
2023-10-12 18:49:07 -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
yxxhero
212c39cb53
feat: skip deps when installed is false ( #1054 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-10-07 02:16:05 -05:00
Yuuki Takahashi
430a825b12
Add diffArgs to helmDefaults ( #1019 )
...
* Add diffArgs to helmDefaults
Signed-off-by: Yuuki Takahashi <20282867+yktakaha4@users.noreply.github.com>
2023-09-13 21:23:41 -05:00
Alessio Dionisi
ad258463b6
feat: add an option to set a custom kustomize binary ( #1012 )
...
Signed-off-by: Alessio Dionisi <me@alessiodionisi.com>
2023-09-13 06:58:53 -05:00
yxxhero
803ff8d0ab
feat keyring supportting ( #984 )
...
* feat keyring supportting
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-08-22 21:00:45 -05:00
Jan-Otto Kröpke
9bc7bfc500
Implement --diff-args ( #959 )
...
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
2023-08-09 19:47:15 +08: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
48e48aa568
feat: add friendly tips for helmfile config order ( #710 )
...
* feat: add kindful tips for helmfile config order
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-08-06 22:22:36 +08:00
yxxhero
aac734ffd5
fix re-using environment state in sub-helmfiles issue ( #951 )
...
* fix re-using environment state in sub-helmfiles issue
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-08-06 21:49:55 +08:00
yxxhero
cfa89d4040
feat: add insecure support for oci repo ( #921 )
...
* feat: add insecure support for oci repo
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-07-24 09:09:10 +08:00
yxxhero
67ab08ab5e
fix: oci pull directory conflict when download twice ( #914 )
...
* fix: oci pull directory conflict when download twice
Signed-off-by: yxxhero <aiopsclub@163.com>
* add test cases
2023-07-23 21:10:03 +08:00
Jan-Otto Kröpke
d1c260af5f
feat: Allow to skip diff output on release base ( #906 )
...
* feat: Allow to skip diff output on release base
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
* fix tests
Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>
* feat: Allow to skip diff output on release base
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
* fix tests
Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>
* s/skipDiffOutput/suppressDiff
Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>
* s/skipDiffOutput/suppressDiff
Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>
* fix tests
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
---------
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <joe@cloudeteer.de>
2023-07-02 07:50:59 +08:00
yxxhero
b51842bb61
feat: add --insecure-skip-tls-verify support for helmfile template ( #916 )
2023-06-30 20:23:43 +08:00
xiaomudk
3384a40fd9
fix set-file cannot find the file on windows ( #908 )
2023-06-27 04:56:09 +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
ee86032f0a
bump helm to v3.12.1 ( #899 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-06-15 11:12:41 +08:00
yxxhero
afcc9e4b80
fix: chartifyOpts ignore release set values ( #896 )
...
* fix: chartifyOpts ignore release set values
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-06-13 23:28:27 +08:00
yxxhero
2f0bc4b2e4
add unittest for storage ( #894 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-06-13 13:20:40 +09: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
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
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
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
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
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
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
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
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
bfb94314be
bump chartify to v0.14.0 ( #759 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-03-21 18:52:42 +08:00
yxxhero
a817997ed8
bump mergo to 0.3.14 ( #751 )
...
bump merge to 0.3.14
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-03-17 18:37:15 +08:00
yxxhero
063ba86447
fix concurrency issue ( #742 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-03-15 15:42:16 +08:00
yxxhero
2d9f83c1de
clean: optimize postrenderer code ( #738 )
2023-03-14 06:18:20 +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
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
yxxhero
f629ee1ae6
bump vals to v0.22.0 ( #703 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-02-17 14:09:49 +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
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
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
Yusuke Kuoka
ec60ac815b
feat: Add missingFileHandlerConfig.ignoreMissingGitBranch ( #645 )
2023-01-23 17:27:00 +08:00
yxxhero
a724ab73f6
fix inherit chart empty check issue ( #635 )
...
Signed-off-by: yxxhero <aiopsclub@163.com>
Signed-off-by: yxxhero <aiopsclub@163.com>
2023-01-19 09:37:22 +08:00