Renovate partly reporting ArgoCD deps updates #24353
-
How are you running Renovate?Self-hosted Renovate If you're self-hosting Renovate, tell us what version of Renovate you run.36.91 If you're self-hosting Renovate, select which platform you are using.GitLab self-hosted Was this something which used to work for you, and then stopped?I am trying to get this working for the first time Describe the problemHello, I'm using Renovate to automatically upgrade ArgoCD apps. "argocd": {
"fileMatch": [
"-app\\.ya?ml$",
"addons\\.ya?ml$"
]
}, I have configured Renovate to scan a repository where multiple The logs seem to indicate the fileMatch expression is OK - I have a total of 19 files matching (see logs below). This is correctly processed - a PR is created: ---
apiVersion: "argoproj.io/v1alpha1"
kind: "Application"
metadata:
name: "addons"
namespace: "argocd"
spec:
project: "default"
source:
repoURL: https://my.registry/helm/
targetRevision: "0.4.3"
chart: "addons"
<snip> This is kind of ignored by Renovate: ---
apiVersion: "argoproj.io/v1alpha1"
kind: "Application"
metadata:
name: "addons"
namespace: "argocd"
spec:
project: "default"
source:
repoURL: "https://my.registry/helm/"
targetRevision: "0.4.3"
chart: "addons"
<snip> Here's the reproduction repo: https://github.com/fad3t/renovate-argocd Thanks, Relevant debug logs
Have you created a minimal reproduction repository?I have linked to a minimal reproduction in the description above: https://github.com/fad3t/renovate-argocd |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The |
Beta Was this translation helpful? Give feedback.
I have identified the issue.
We do not expect the apiVersion value to be quoted as this is unnecessary and usually isn't been done.
I'm preparing a PR to fix this, but as workaround simply do this
As context we check for this line to reduce overhead of parsing yaml documents when they do not contain ArgoCD manifests.