chore(argo-cd): Convert manifests of 'kind: List' to dashes separated documents (#1120)

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Marco Kilchhofer 2022-02-03 10:36:26 +01:00 committed by GitHub
parent ba124f2587
commit a0a74fb43d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 99 additions and 107 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: v2.2.3
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 3.33.1
version: 3.33.2
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
keywords:
@ -21,4 +21,4 @@ dependencies:
condition: redis-ha.enabled
annotations:
artifacthub.io/changes: |
- "[Fixed]: Consistent annotation quoting across all manifests"
- "[Changed]: Convert manifests of 'kind: List' to dashes separated documents."

View file

@ -1,11 +1,8 @@
{{- if .Values.server.additionalApplications }}
apiVersion: v1
kind: List
items:
{{- range .Values.server.additionalApplications }}
- apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
{{- range .Values.server.additionalApplications }}
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
{{- with .additionalAnnotations }}
annotations:
{{- range $key, $value := . }}
@ -24,7 +21,7 @@ items:
finalizers:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
spec:
project: {{ tpl .project $ }}
source:
{{- toYaml .source | nindent 8 }}
@ -42,5 +39,4 @@ items:
info:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
{{- end }}

View file

@ -1,11 +1,8 @@
{{- if .Values.server.additionalProjects }}
apiVersion: v1
kind: List
items:
{{- range .Values.server.additionalProjects }}
- apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
{{- range .Values.server.additionalProjects }}
---
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
{{- with .additionalAnnotations }}
annotations:
{{- range $key, $value := . }}
@ -24,7 +21,7 @@ items:
finalizers:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
spec:
description: {{ .description }}
sourceRepos:
{{- toYaml .sourceRepos | nindent 8 }}
@ -58,5 +55,4 @@ items:
signatureKeys:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
{{- end }}