Update _schedule.tpl

This commit is contained in:
Kjeld Schouten
2024-02-06 22:45:19 +01:00
committed by GitHub
parent ca995950cb
commit e8229b01a6

View File

@@ -19,8 +19,8 @@ objectData:
{{- if and $lookupBSL $lookupBSL.items -}}
{{- $lookupBSL = $lookupBSL.items -}}
{{- end -}}
{{- with ( index $lookupBSL ( $lookupBSL | keys | first ) ) }}
{{- $namespace = .metadata.namespace -}}
{{- range $BSL := $lookupBSL -}}
{{- $namespace = $BSL.metadata.namespace -}}
{{- end -}}
---
apiVersion: velero.io/v1