Commit Graph

36 Commits

Author SHA1 Message Date
Sebastian Poxhofer be13c9f5f7 feat(manager): share OCI Helm chart resolution across managers (#45760)
* feat(manager): share OCI Helm chart resolution across managers

Add getOciChartDep() to helmv3/oci.ts and use it in argocd, fleet, flux,
helmfile, helmsman, helmv3, kustomize, sveltos, terraform and vendir.

- set pinDigests: false for OCI charts in all of them
- apply registryAliases to OCI charts in argocd, helmfile and helmsman
- keep the registry port in terraform helm_release repositories
- skip fleet OCI charts without a version instead of using 'undefined'

* docs(manager/helmv3): correct the OCI chart pinDigests rationale

* refactor(manager/helmfile): drop redundant OCI repository url guard

The repository schema already requires url to be a string, so the falsy
branch could not be reached by parsed input and left the patch partially
covered.
2026-09-09 13:51:30 +00:00
Sebastian Poxhofer 9717259ffc refactor(oxlint): enable no-else-return and unicorn/no-lonely-if (#44553)
Enable no-else-return (with allowElseIf: false) and unicorn/no-lonely-if
as errors in .oxlintrc.json and fix all 131 pre-existing violations
(91 no-else-return, 40 unicorn/no-lonely-if) across 98 files.

The no-else-return violations were fixed with the oxlint autofix
(iterated to a fixpoint, plus two else-if chains that required
--fix-dangerously) followed by Prettier formatting. One comment dropped
by the autofix in lib/modules/manager/pub/artifacts.ts was restored
manually. The unicorn/no-lonely-if violations were merged by hand,
preserving comments and coverage-ignore hints.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 12:11:21 +00:00
Bernd Schorgers eaf3c814ae feat(helmfile): Support release templates (#42968)
* feat(helmfile): Support release templates

* Process review comments

Co-authored-by: Michael Kriese <michael.kriese@gmx.de>

* fix missing import

---------

Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
2026-05-20 20:10:21 +00:00
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00
RahulGautamSingh 76f911041a refactor: use named exports (#39196)
* use named exports

* fix test

* add missing imnport

* fix prettier
2025-11-10 12:00:35 +00:00
Jonas Rutishauser 1cdc992bf0 fix(manager/helmfile): Allow replacements of oci:// charts (#35296) 2025-08-16 08:21:20 +00:00
Michael Kriese 3211d56e21 refactor(zod): rename schema to match our best practices guide (#37499) 2025-08-14 10:35:03 +00:00
Michael Kriese c4660844d5 fix(helmfile): skip helm-git repositories (#35142) 2025-04-02 10:34:56 +00:00
renovate[bot] 55845508b6 chore(deps): update eslint monorepo to v9 (major) (#33573)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-02-20 11:31:13 +00:00
Vladimir Kuznichenkov 54e718e671 feat(manager/helmfile): allow forward slashes in OCI chart names (#33162) 2024-12-22 10:14:53 +00:00
Sebastian Poxhofer d74ba704fd refactor: use yaml instead of js-yaml for parsing YAML files (#31336) 2024-09-16 18:03:23 +00:00
Philip ad64f11af4 fix(helmfile): url joiner is broken, use upath instead (#31008)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-08-27 13:31:34 +00:00
Michael Kriese edf3c793dc refactor(yaml): drop unused argument (#30804) 2024-08-15 13:42:53 +00:00
Philip 0e330ea765 fix(helmfile): support case with oci repository in different document (#30215)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2024-07-21 12:14:54 +00:00
Sebastian Poxhofer bf5eeb54da refactor: centralize OCI detection and deletion (#28544) 2024-04-20 11:16:24 +00:00
Sebastian Poxhofer d0878d99b6 refactor(manager/helmfile): use schema for yaml parsing (#27539)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-03-15 21:58:19 +00:00
Jonas Rutishauser 7356fedefb feat(manager/helmfile): Support oci urls in helmfile (#27126) 2024-02-12 13:31:44 +00:00
Michael Kriese 6c2263eeb3 chore: fix types for linting (#26695) 2024-01-17 11:30:45 +00:00
Patrick Hobusch 4c4bd3a331 fix(helmfile): make resolving deps in multi-doc files more stable (#26078) 2023-12-05 09:28:27 +00:00
Sebastian Poxhofer 3c33a26441 refactor(util/yaml): rename load and loadAll to parseSingleYaml and parseYaml (#26084) 2023-12-01 20:13:01 +00:00
Sebastian Poxhofer f42d0583d5 refactor(utils/yaml): centralize YAML parsing to allow central templating handling (#26068) 2023-12-01 11:58:43 +00:00
Sergei Zharinov b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
Sergei Zharinov d847715d2c refactor(helm): More idiomatic schema usage (#24934) 2023-10-02 04:56:00 +00:00
Michael Kriese 497d4c131f fix(manager): unify logging (#22398)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2023-05-25 16:53:05 +00:00
Nikolai Røed Kristiansen 0538a4c96d fix(manager/helmfile): Use helmfile relative path (#21591) 2023-04-24 08:22:52 +00:00
Nikolai Røed Kristiansen b1424dd948 feat(manager/helmfile): Detect kustomization.yaml (#21111)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-04-12 11:49:23 +00:00
Nikolai Røed Kristiansen e368cde1eb fix(manager/helmfile): Detect more local charts (#21093) 2023-03-26 12:19:04 +00:00
Nikolai Røed Kristiansen c2fe56a126 feat(manager/helmfile): Support kustomize (#20782) 2023-03-19 08:15:15 +00:00
Rhys Arkins 3cef2f2e4f refactor: PackageFile -> PackageFileContent (#20502) 2023-02-19 12:43:48 +00:00
Michael Kriese adc056c0ad fix(manager/helmfile): replace escaped templates (#17513) 2022-08-31 06:50:50 +00:00
Michael Kriese 24691ac42f fix(manager/helmfile): replace all templates (#17210) 2022-08-16 14:24:36 +02:00
RahulGautamSingh 996e4a6e57 feat: rename aliases to registryAliases (#15877) 2022-06-10 05:14:49 +00:00
Jean-Yves CAMIER e97974d55b feat(helmfile): oci support (#15432) 2022-05-05 14:15:20 +02:00
jandersen-plaid 2af3717baf fix(manager:helmfile): remove go templating strings on a best effort basis for yaml parsing (#15106)
Signed-off-by: Jack Andersen <jandersen@plaid.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-04-22 06:44:46 +02:00
Michael Kriese da6ba6435f refactor(manager): strict null checks (#15151)
* refactor: strict null checks for util

* chore: fix type

* Update tsconfig.strict.json

* Update lib/util/package-rules.ts

* Update lib/util/package-rules.ts

* chore: fix test and coverage

* chore: fix package rules

* refactor(manager): strict null checks

* chore: revert config changes
2022-04-17 14:34:26 +02:00
Rhys Arkins dca3418bbd refactor: lib/modules (#14488)
Moves datasource, manager, platform and versioning code from lib/ into new lib/modules/

BREAKING CHANGE: External tools must update paths to datasource, manager, platform and versioning
2022-03-04 09:04:02 +01:00