mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-03 13:54:58 -03:00
Update library/common/templates/class/velero/_schedule.tpl
This commit is contained in:
@@ -14,7 +14,7 @@ objectData:
|
||||
|
||||
{{- $rootCtx := .rootCtx -}}
|
||||
{{- $objectData := .objectData }}
|
||||
{{- $namespace := ( include "tc.v1.common.lib.metadata.namespace" (dict "rootCtx" $rootCtx "objectData" $objectData "caller" "Schedule" ) -}}
|
||||
{{- $namespace := ( include "tc.v1.common.lib.metadata.namespace" (dict "rootCtx" $rootCtx "objectData" $objectData "caller" "Schedule" )) -}}
|
||||
{{- $lookupBSL := (lookup "velero.io/v1" "BackupStorageLocation" "" "") -}}
|
||||
{{- if and $lookupBSL $lookupBSL.items -}}
|
||||
{{- with (index $lookupBSL.items 0) }}
|
||||
|
||||
Reference in New Issue
Block a user