Update library/common/templates/class/velero/_schedule.tpl

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

View File

@@ -19,7 +19,7 @@ objectData:
{{- if and $lookupBSL $lookupBSL.items -}}
{{- $lookupBSL = $lookupBSL.items -}}
{{- end -}}
{{- with (index $lookupBSL 0) }}
{{- with ( index $lookupBSL ( $lookupBSL | keys | first ) ) }}
{{- $namespace = .metadata.namespace -}}
{{- end -}}
---