Skip to content

Commit

Permalink
fix(argocd-apps): don't render empty app description
Browse files Browse the repository at this point in the history
Signed-off-by: Zoltán Reegn <[email protected]>
  • Loading branch information
reegnz committed Sep 4, 2024
1 parent a5dc035 commit 7061f3f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion charts/argocd-apps/templates/projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ spec:
{{- with $projectData.permitOnlyProjectScopedClusters }}
permitOnlyProjectScopedClusters: {{ . }}
{{- end }}
description: {{ $projectData.description }}
{{- with $projectData.description }}
description: {{ . }}
{{- end }}
{{- with $projectData.sourceRepos }}
sourceRepos:
{{- toYaml . | nindent 4 }}
Expand Down

0 comments on commit 7061f3f

Please sign in to comment.