renovate helmfile "skipReason": "unsupported-chart-type" with oci private repos (got it working but please provide insights)) #26207
Replies: 3 comments
-
Hi there, Get your discussion fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. To get started, please read our guide on creating a minimal reproduction. We may close the discussion if you, or someone else, haven't created a minimal reproduction within two weeks. If you need more time, or are stuck, please ask for help or more time in a comment. Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
-
I have the same problem for gitlab projects. repositories:
- name: gitlab
url: registry.<domain>
oci: true My releases have the full path: releases:
- name: chart-1
chart: gitlab/repo-1/chart-1
- name: chart-2
chart: gitlab/repo-2/chart-2 This is not possible because the repo path will be added to the depname instead of the repo (see renovate/lib/modules/manager/helmfile/extract.ts Lines 103 to 107 in 51eea2e I think a better way is to split the chart into 3 parts (repoName, repoPath and depName). |
Beta Was this translation helpful? Give feedback.
-
Proposed a solution to address an issue in PR |
Beta Was this translation helpful? Give feedback.
-
How are you running Renovate?
Mend Renovate hosted app on github.com
If you're self-hosting Renovate, tell us what version of Renovate you run.
No response
If you're self-hosting Renovate, select which platform you are using.
None
Was this something which used to work for you, and then stopped?
None
Describe the problem
Hi,
I am having trouble with helmfile using private OCI repos.
All works well with public repos. Using helmfile cli directly all works fine (public/private oci repos) but facing some issue using private oci repos from helmfile with renovate preset.
The same pull from the private oci repo works just fine for dockerfile and helmv3 presets but can't make for helmfile one. Whatever i do to try manipulate it using docker.io registry or Google Artifact Registry it always ends with
skipReason": "unsupported-chart-type"
Spent quite a bit of time trying different things around but ending with same results and this is the current statuses:
Note: on logs output dockerfile is using a Dockerfile with FROM directive pointing to the helm chart for testing purposes and verify it works.
helmfile using private repo. Using helmfile cli it works perfectly.
Any help on this appreciate.
Thanks
Relevant debug logs
Logs
Here is the relevant bit of output
using helmfile cli:
This might be the trigger point
renovate/lib/modules/manager/helmfile/extract.ts
Line 140 in 74014fd
Doing some changes into helmfile to end up closer to the reported by helmv3 output namely
"depName": "replaceme/test-chart"
to be just"depName": "test-chart"
helmfile
ends up with
But this is closer to the output on helmv3 with remaining spotted difference to be registryUrls
on helmfile
vs on helmv3
And with the following helmfile changes it WORKS 🎉 😅
results
it feels a bit convoluted and not so easy to get right but it works. I will just leave it open for now in the attempt to get some feeback on this and how i can get advice to improve setup if possible but i am good to go for now as i get this working.
Have you created a minimal reproduction repository?
Beta Was this translation helpful? Give feedback.
All reactions