Argocd manager not able to parse yaml wrapped in a helm flow control #27762
-
What would you like help with?I think I found a bug How are you running Renovate?Self-hosted If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.GitLab Please tell us more about your question or problemHi everyone, {{- if .Values.enabled }}
apiVersion: argoproj.io/v1alpha1
kind: Application
spec:
source:
chart: kube-state-metrics
repoURL: https://prometheus-community.github.io/helm-charts
targetRevision: 2.4.1
{{- end }} It looks like the current schema configuration can not handle this type of yaml-file, which leads to a parsing failure where the file is skipped silently (only visible via Logs (if relevant)Logs
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This is not a valid yaml file, and not a bug |
Beta Was this translation helpful? Give feedback.
-
it's not a bug. it's simply not supported. it should be easy to support, because we've already a function to strip go templates language before parsing the yaml. |
Beta Was this translation helpful? Give feedback.
Hi @viceice,
thanks for the hint. I've created a PR #27766.