argocd-helm/charts/argo-cd/templates/argocd-configs/projects.yaml
Alex ec31320b2e
fix(argo-cd): Fix indent on Argo CD applications and projects (#1283)
* fix(argo-cd): Fix indent on Argo CD application creation

Signed-off-by: Alex Sears <me@alexsears.com>

* Version bump

Signed-off-by: Alex Sears <me@alexsears.com>

* Add ArtifactHub change annotation

Signed-off-by: Alex Sears <me@alexsears.com>

* Helm docs run

Signed-off-by: Alex Sears <me@alexsears.com>

* Fix indent also on 'server.additionalProjects'

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

* Reword changelog

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

* Restore README (use helm-docs v1.9.1

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2022-05-19 13:51:00 +02:00

58 lines
1.3 KiB
YAML

{{- range .Values.server.additionalProjects }}
---
apiVersion: argoproj.io/v1alpha1
kind: AppProject
metadata:
{{- with .additionalAnnotations }}
annotations:
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
{{- with .additionalLabels }}
labels:
{{- toYaml . | nindent 4 }}
{{- end }}
name: {{ .name }}
{{- with .namespace }}
namespace: {{ . }}
{{- end }}
{{- with .finalizers }}
finalizers:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
description: {{ .description }}
sourceRepos:
{{- toYaml .sourceRepos | nindent 4 }}
destinations:
{{- toYaml .destinations | nindent 4 }}
{{- with .clusterResourceWhitelist }}
clusterResourceWhitelist:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .namespaceResourceBlacklist }}
namespaceResourceBlacklist:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .namespaceResourceWhitelist }}
namespaceResourceWhitelist:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .orphanedResources }}
orphanedResources:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .roles }}
roles:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .syncWindows }}
syncWindows:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .signatureKeys }}
signatureKeys:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}