From be05447b220ae398dd46c762bc92ab350823920c Mon Sep 17 00:00:00 2001 From: Nicolas Ochem Date: Mon, 6 Nov 2023 07:28:59 -0800 Subject: [PATCH] Update charts/tezos/templates/_helpers.tpl Co-authored-by: Aryeh Harris --- charts/tezos/templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/tezos/templates/_helpers.tpl b/charts/tezos/templates/_helpers.tpl index eae8cd4f5..4c20ab2f5 100644 --- a/charts/tezos/templates/_helpers.tpl +++ b/charts/tezos/templates/_helpers.tpl @@ -230,7 +230,7 @@ metadata: {{- /* Ensure all keys are defined in accounts and fail otherwise */}} {{- $allAuthorizedKeys = uniq $allAuthorizedKeys }} {{- range $key := $allAuthorizedKeys }} - {{- if not (index $.Values.accounts $key) }} + {{- if not (index $.Values.accounts $key "key") }} {{- fail (printf "Authorized key '%s' is not defined in accounts." $key) }} {{- end }} {{- end }}