Commit Graph

22 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
Dinar Valeev 00fefaf800 feat(fleet): support registryAliases (#42045)
* feat(fleet): support registryAliases

Support registry aliases for pull through internal regitry case

Signed-off-by: Dinar Valeev <k0da@opensuse.org>

* Fix lint

Signed-off-by: Dinar Valeev <k0da@opensuse.org>

* Address review comments

Signed-off-by: Dinar Valeev <k0da@opensuse.org>

* Switch to inline codeBlock

Signed-off-by: Dinar Valeev <k0da@opensuse.org>

* inline registryConfig in tests

Signed-off-by: Dinar Valeev <k0da@opensuse.org>

---------

Signed-off-by: Dinar Valeev <k0da@opensuse.org>
2026-03-27 11:27:54 +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
Fabian Sievert 90d8b7d93e fix(manager/fleet): Make name optional for target customizations in FleetFile schema (#36085)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2025-05-24 08:06:00 +00:00
Michael Kriese 45bdc77844 refactor(manager): always set package name from docker image extract (#33917) 2025-01-29 15:36:24 +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
Michael Kriese edf3c793dc refactor(yaml): drop unused argument (#30804) 2024-08-15 13:42:53 +00:00
Sebastian Poxhofer bf5eeb54da refactor: centralize OCI detection and deletion (#28544) 2024-04-20 11:16:24 +00:00
Christian Danscheid cd02e93201 feat(fleet): extract dependencies from helm blocks with OCI-based helm charts (#28352) 2024-04-13 16:53:50 +00:00
Sebastian Poxhofer 14cba69c58 refactor(managers): yaml schema checks (#26811) 2024-02-25 06:14:19 +00:00
Michael Kriese 6c2263eeb3 chore: fix types for linting (#26695) 2024-01-17 11:30:45 +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
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
Ryo Matsukawa 0417c111ac refactor: Merged multiple skipReasons into unspecified-version. (#22409) 2023-05-25 05:48:11 +00:00
Rhys Arkins 3cef2f2e4f refactor: PackageFile -> PackageFileContent (#20502) 2023-02-19 12:43:48 +00:00
Sebastian Poxhofer 5c5cde9d78 fix(manager/fleet): do not merge version into customization objects (#20223)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-04 15:44:25 +00:00
Rhys Arkins 1e3b1a8604 fix(fleet): warn not error on invalid YAML 2023-01-19 06:21:28 +01:00
Sebastian Poxhofer 1e2c2f13c9 feat(manager/fleet): support updating customisations of versions (#18202) 2022-12-20 06:38:17 +01:00
Sebastian Poxhofer 90f85b9958 feat(manager/fleet): implement Rancher Fleet manager (#16138)
* feat(manager/fleet): implement Rancher Fleet manager

* Apply suggestions from code review

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* Update lib/modules/manager/fleet/extract.spec.ts

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

* docs(fleet): add tsdocs

* fixup test null checks

* docs: add default filematch

* chore: rename tempDep to dep

* apply change requests

* catch exceptions from yaml-js

* trigger yaml parse error

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-26 08:48:50 +00:00