mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-06 04:46:24 -03:00
hmm
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
|
||||
{{/* Set namespace to velero location or itself, just in case its used from within velero */}}
|
||||
{{- $operator := index $.Values.operator "velero" -}}
|
||||
{{- $namespace := $operator.namespace | default ( include "tc.v1.common.lib.metadata.namespace" (dict "rootCtx" $rootCtx "objectData" $objectData "caller" "backupstoragelocation") ) -}}
|
||||
{{- $namespace := $operator.namespace | default ( include "tc.v1.common.lib.metadata.namespace" (dict "rootCtx" $ "objectData" $objectData "caller" "backupstoragelocation") ) -}}
|
||||
{{- $_ := set $objectData.namespace $namespace -}}
|
||||
|
||||
{{/* Create secret with creds */}}
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
{{/* Set namespace to velero location or itself, just in case its used from within velero */}}
|
||||
{{- $operator := index $.Values.operator "velero" -}}
|
||||
{{- $namespace := $operator.namespace | default ( include "tc.v1.common.lib.metadata.namespace" (dict "rootCtx" $rootCtx "objectData" $objectData "caller" "backupstoragelocation") ) -}}
|
||||
{{- $namespace := $operator.namespace | default ( include "tc.v1.common.lib.metadata.namespace" (dict "rootCtx" $ "objectData" $objectData "caller" "backupstoragelocation") ) -}}
|
||||
{{- $_ := set $objectData.namespace $namespace -}}
|
||||
|
||||
{{/* Call class to create the object */}}
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
|
||||
{{/* Set database to velero location or itself, just in case its used from within velero */}}
|
||||
{{- $operator := index $.Values.operator "velero" -}}
|
||||
{{- $namespace := $operator.namespace | default ( include "tc.v1.common.lib.metadata.namespace" (dict "rootCtx" $rootCtx "objectData" $objectData "caller" "backupstoragelocation") ) -}}
|
||||
{{- $namespace := $operator.namespace | default ( include "tc.v1.common.lib.metadata.namespace" (dict "rootCtx" $ "objectData" $objectData "caller" "backupstoragelocation") ) -}}
|
||||
|
||||
{{/* Perform validations */}} {{/* volumesnapshotlocations have a max name length of 253 */}}
|
||||
{{- include "tc.v1.common.lib.chart.names.validation" (dict "name" $objectName "length" 253) -}}
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
{{/* Set namespace to velero location or itself, just in case its used from within velero */}}
|
||||
{{- $operator := index $.Values.operator "velero" -}}
|
||||
{{- $namespace := $operator.namespace | default ( include "tc.v1.common.lib.metadata.namespace" (dict "rootCtx" $rootCtx "objectData" $objectData "caller" "backupstoragelocation") ) -}}
|
||||
{{- $namespace := $operator.namespace | default ( include "tc.v1.common.lib.metadata.namespace" (dict "rootCtx" $ "objectData" $objectData "caller" "backupstoragelocation") ) -}}
|
||||
{{- $_ := set $objectData.namespace $namespace -}}
|
||||
|
||||
{{/* Create secret with creds */}}
|
||||
|
||||
Reference in New Issue
Block a user