add with statements around project templates for source/destinations (#1678)

Signed-off-by: lukepatrick <lukephilips@gmail.com>

Signed-off-by: lukepatrick <lukephilips@gmail.com>
Co-authored-by: Petr Drastil <petr.drastil@gmail.com>
pull/1680/head^2 argocd-apps-0.0.4
Luke 2022-12-02 06:26:17 -07:00 committed by GitHub
parent 48e16abc42
commit 462fde1f29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 5 deletions

View File

@ -70,7 +70,7 @@ jobs:
run: |
helm repo add dandydeveloper https://dandydeveloper.github.io/charts/
helm dependency build charts/argo-cd/
helm template charts/argo-cd/ -s templates/crds/* | kubectl apply -f -
helm template charts/argo-cd/ --set server.extensions.enabled=true -s templates/crds/* | kubectl apply -f -
- name: Skip HPA tests of ArgoCD
if: contains(steps.list-changed.outputs.changed_charts, 'argo-cd')

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: argocd-apps
description: A Helm chart for managing additional Argo CD Applications and Projects
type: application
version: 0.0.3
version: 0.0.4
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
keywords:
@ -14,4 +14,4 @@ maintainers:
url: https://argoproj.github.io/
annotations:
artifacthub.io/changes: |
- "[Added]: Add Extensions"
- "[Changed]: Projects templates"

View File

@ -23,10 +23,14 @@ metadata:
{{- end }}
spec:
description: {{ .description }}
{{- with .sourceRepos }}
sourceRepos:
{{- toYaml .sourceRepos | nindent 4 }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .destinations }}
destinations:
{{- toYaml .destinations | nindent 4 }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .clusterResourceWhitelist }}
clusterResourceWhitelist:
{{- toYaml . | nindent 4 }}