fix(init): update argocd app definition format

update project an application definition based an this (mostly useless)
changelog entry:

> make the chart use maps instead of lists

Usefull hints on the new structure can be found in then git diff:
https://github.com/argoproj/argo-helm/compare/argo-events-2.4.4...argocd-apps-2.0.0

or in the new valuesContent:
https://artifacthub.io/packages/helm/argo/argocd-apps?modal=values
This commit is contained in:
Sebastian Mark 2024-04-05 09:33:52 +02:00
parent f24fdc4e56
commit 7c7d88ab04

View file

@ -36,7 +36,7 @@ spec:
targetNamespace: argocd targetNamespace: argocd
valuesContent: |- valuesContent: |-
projects: projects:
- name: baseline baseline:
namespace: argocd namespace: argocd
finalizers: finalizers:
- resources-finalizer.argocd.argoproj.io - resources-finalizer.argocd.argoproj.io
@ -49,8 +49,7 @@ spec:
- group: '*' - group: '*'
kind: '*' kind: '*'
applications: applications:
- name: baseline baseline:
namespace: argocd
project: baseline project: baseline
finalizers: finalizers:
- resources-finalizer.argocd.argoproj.io - resources-finalizer.argocd.argoproj.io