fix(argocd-apps): don't render empty app description (#2911)
* fix(argocd-apps): don't render empty app description Signed-off-by: Zoltán Reegn <zoltan.reegn@gmail.com> * chore: Apply suggestions from code review Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com> --------- Signed-off-by: Zoltán Reegn <zoltan.reegn@gmail.com> Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com> Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
This commit is contained in:
parent
687392688f
commit
a344d64fbd
2 changed files with 6 additions and 4 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue