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>
This commit is contained in:
parent
48e16abc42
commit
462fde1f29
3 changed files with 9 additions and 5 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue