From 9ed8a153c2d664994b2cc18d026c05a1e77fb7e9 Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Sat, 25 Nov 2023 15:17:32 +0200 Subject: [PATCH] add comment --- library/common/templates/lib/velero/_providerSecret.tpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/common/templates/lib/velero/_providerSecret.tpl b/library/common/templates/lib/velero/_providerSecret.tpl index dcda0063..8dafe0c5 100644 --- a/library/common/templates/lib/velero/_providerSecret.tpl +++ b/library/common/templates/lib/velero/_providerSecret.tpl @@ -2,7 +2,8 @@ {{- $rootCtx := .rootCtx }} {{- $objectData := .objectData -}} - {{- $creds := "" -}} {{/* TODO: Provider should probably be velero.io/aws or we should map it */}} + {{- $creds := "" -}} {{/* We can add additinal providers here, and only create the template for the data */}} + {{/* TODO: Provider should probably be velero.io/aws or we should map it */}} {{- if and (eq ($objectData.provider | toString) "aws") $objectData.credential.aws -}} {{- $creds = (include "tc.v1.common.lib.velero.provider.aws.secret" (dict "creds" $objectData.credential.aws) | fromYaml).data -}} {{- end -}}