mirror of
https://github.com/truecharts/library-charts.git
synced 2026-07-03 00:54:16 -03:00
fix: correct mistake in volsync url
This commit is contained in:
@@ -53,9 +53,9 @@ persistence:
|
||||
credentials:
|
||||
mys3:
|
||||
type: s3
|
||||
url: ""
|
||||
url: "test"
|
||||
region: ""
|
||||
bucket: ""
|
||||
accessKey: ""
|
||||
secretKey: ""
|
||||
encrKey: ""
|
||||
bucket: "test"
|
||||
accessKey: "test"
|
||||
secretKey: "test"
|
||||
encrKey: "test"
|
||||
|
||||
@@ -53,9 +53,9 @@ persistence:
|
||||
credentials:
|
||||
mys3:
|
||||
type: s3
|
||||
url: ""
|
||||
url: "test"
|
||||
region: ""
|
||||
bucket: ""
|
||||
accessKey: ""
|
||||
secretKey: ""
|
||||
encrKey: ""
|
||||
bucket: "test"
|
||||
accessKey: "test"
|
||||
secretKey: "test"
|
||||
encrKey: "test"
|
||||
|
||||
@@ -15,7 +15,7 @@ maintainers:
|
||||
name: common
|
||||
sources: null
|
||||
type: library
|
||||
version: 22.0.1
|
||||
version: 22.0.2
|
||||
annotations:
|
||||
artifacthub.io/category: "integration-delivery"
|
||||
artifacthub.io/license: "BUSL-1.1"
|
||||
|
||||
@@ -97,14 +97,14 @@
|
||||
{{- include "tc.v1.common.lib.metadata.validation" (dict "objectData" $volsyncData "caller" "PVC - VolSync") -}}
|
||||
|
||||
{{/* Create Secret for VolSync */}}
|
||||
{{- $volsyncSecretName := printf "%s-volsync-%s" $objectData.name $volsync.name -}}
|
||||
{{- $volsyncSecretName := printf "%s-volsync-%s" $objectData.name $volsyncData.name -}}
|
||||
{{- $_ := set $volsyncData "repository" $volsyncSecretName -}}
|
||||
|
||||
{{- $credentials := get $.Values.credentials $volsync.credentials -}}
|
||||
|
||||
{{- $resticrepository := printf "s3:%s/%s/volsync/%s" $credentials.url $credentials.bucket $.Release.Name $volsyncSecretName -}}
|
||||
{{- $resticrepository := printf "s3:%s/%s/%s/volsync/%s-volsync-%s" $credentials.url $credentials.bucket $.Release.Name $objectData.shortName $volsyncData.name -}}
|
||||
{{- if $credentials.path -}}
|
||||
{{- $resticrepository = printf "s3:%s/%s/%s/volsync/%s" $credentials.url $credentials.bucket ( $credentials.path | trimSuffix "/" ) $.Release.Name $volsyncSecretName -}}
|
||||
{{- $resticrepository = printf "s3:%s/%s/%s/%s/volsync/%s-volsync-%s" $credentials.url $credentials.bucket ( $credentials.path | trimSuffix "/" ) $.Release.Name $objectData.shortName $volsyncData.name -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- $resticpassword := ( $credentials.encrKey | default $.Release.Name ) -}}
|
||||
|
||||
Reference in New Issue
Block a user