Commit Graph

702 Commits

Author SHA1 Message Date
yxxhero 2ebdf9a37c add runinfo
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-06-02 15:03:54 +08:00
yxxhero 61b4199c80 fix more issue
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-06-02 15:03:54 +08:00
yxxhero cc3202e9b9 fix issues
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-06-02 15:03:54 +08:00
yxxhero c710e2b01c fix issues
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-06-02 15:03:54 +08:00
Peter Halliday ac25cc5d47 Restrict version of helm, and default dryRun. (#1265)
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-06-02 15:03:54 +08:00
yxxhero b5095c04a4 fix tests
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-06-02 15:03:54 +08:00
Peter Halliday 4b3ad24bc7 Fix typos and ask unittest (#1235)
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-06-02 15:03:54 +08:00
yxxhero 279d7dee18 fix conflicts
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-06-02 15:03:54 +08:00
yxxhero 2f408163cf
bump helm-diff to 3.9.7 (#1536)
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-05-27 08:48:56 +08:00
yxxhero 30bcab5c96
feat: bump helm to v3.15.1 (#1523)
* feat: bump helm to v3.15.1

Signed-off-by: yxxhero <aiopsclub@163.com>
2024-05-24 10:56:41 +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
yxxhero f2a0467b05
bump helm-diff to v3.9.6 (#1517)
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-05-11 10:51:14 +08:00
Yusuke Kuoka 7f798fa7b4
Relax the helmfile.lock helmfile binary version constraint (#1511) 2024-05-09 09:50:56 +08:00
drivelikebrazil f09855d40e
Remove config key order check (#1504)
* Make bases and environments equivalent priority config keys

Signed-off-by: Richard Swearingen <drivelikebrazil@gmail.com>
2024-05-08 06:24:08 +08:00
Vladan Pavlovic dc20eb10c5
Update DAG with dependencies (#1477)
* Add show-dag command

Signed-off-by: vlpav030 <vpav.030@gmail.com>
2024-04-27 07:37:28 +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
yxxhero 8d96c87528
bump helm to v3.14.4 (#1453)
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-04-12 10:22:35 +08:00
yxxhero e89fa706d4
update deps versions (#1446) 2024-04-06 22:04:38 +08:00
yxxhero 270f27f481
remove HELMFILE_SKIP_INSECURE_TEMPLATE_FUNCTIONS for v1 (#1434)
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-04-01 08:42:55 +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
yxxhero 1100e50666
feat: bump helm to 3.14.3 (#1418) 2024-03-22 09:37:19 +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
yxxhero 7c0134fa66
bump helm-diff to 3.9.5 (#1384)
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-03-03 09:45:57 +08:00
Tim Ramlot 5910ce0b99
Add `--kubeconfig` flag (#1381)
add kubeconfig flag

Signed-off-by: Tim Ramlot <42113979+inteon@users.noreply.github.com>
2024-03-01 20:26:54 +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 f482625ee9
feat: bump helm to v3.14.2 (#1372)
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-02-27 08:27:24 +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 831000a9af
Update Helm version to v3.14.1 (#1352) 2024-02-17 06:21:16 +08:00
Richard Wall 4bc786485c
Make it clear that the plugin install prompt is a question (#1355) 2024-02-16 19:58:16 +08:00
yxxhero 43fec2d599
fix: version path issue (#1344)
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-02-16 09:08:28 +09:00
Cyril Jouve 268a4808e9
run deps without chart preparation (#1011)
* nonreg for #1011

Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>

* run deps without chart preparation

Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>

---------

Signed-off-by: Cyril Jouve <jv.cyril@gmail.com>
2024-02-14 17:16:48 +08: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
yxxhero 9192562e1b
feat: Bump helm-diff to 3.9.4 (#1316)
Signed-off-by: yxxhero <aiopsclub@163.com>
2024-01-27 20:40:55 +09: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
yxxhero 008b2dd1d4
fix: issue with pre-release Helm version (#1293) 2024-01-18 09:21:15 +08:00
coderkou f66fbd7c84
Bump helm diff to 3.9.2 (#1291) 2024-01-17 22:52:12 +08:00
yxxhero 09aced6cb0
feat: bump helm-diff to v3.9.1 (#1286) 2024-01-14 09:33:15 +08:00
ennekein dabbe5e7d4
Bugfix: do not print registry password to stdout when running (#1275)
* Bugfix: do not print registry password to stdout when running
Resolves #1274

Signed-off-by: Pascal Rivard <privard@rbbn.com>

* Update exec.go

Signed-off-by: yxxhero <11087727+yxxhero@users.noreply.github.com>

* fix lint issues

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

* Add unit test

Signed-off-by: Pascal Rivard <privard@rbbn.com>

---------

Signed-off-by: Pascal Rivard <privard@rbbn.com>
Signed-off-by: yxxhero <11087727+yxxhero@users.noreply.github.com>
Signed-off-by: yxxhero <aiopsclub@163.com>
Co-authored-by: Pascal Rivard <privard@rbbn.com>
Co-authored-by: yxxhero <11087727+yxxhero@users.noreply.github.com>
Co-authored-by: yxxhero <aiopsclub@163.com>
2024-01-10 07:26:47 +08:00
yxxhero 3576e7d36b
feat: include func support more template functions (#1277) 2024-01-09 14:33:50 +08:00
petelock 00dc5d9116
fix checker error message (#1266)
Signed-off-by: petelock <pete2387@gmail.com>
2024-01-04 17:31:00 +08:00
Shane Starcher d681c62ff8
add support for HELMFILE_FILE_PATH envvar to set -f (#1255)
* fix imports

Signed-off-by: Shane Starcher <shanestarcher@gmail.com>

* unset env var

Signed-off-by: Shane Starcher <shanestarcher@gmail.com>

---------

Signed-off-by: Shane Starcher <shanestarcher@gmail.com>
2024-01-03 21:37:49 +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
Cyril Jouve eb21377f39
replace custom diff in tests using testify (#1215) 2023-12-13 06:32:38 +08:00
Cyril Jouve e0f1f765c5
simplify multierr usage with standard errors (#1208) 2023-12-10 20:04:05 +08:00