From ed245346e458de6307e2df5b5f964172ea33830e Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Sun, 19 May 2024 15:13:36 +0200 Subject: [PATCH] Update common.yaml Signed-off-by: Kjeld Schouten --- charts/incubator/volsync/templates/common.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/incubator/volsync/templates/common.yaml b/charts/incubator/volsync/templates/common.yaml index 995efb03eb0..63bd6ffa80e 100644 --- a/charts/incubator/volsync/templates/common.yaml +++ b/charts/incubator/volsync/templates/common.yaml @@ -1,5 +1,9 @@ {{/* Make sure all variables are set properly */}} {{- include "tc.v1.common.loader.init" . }} +{{- if or .Values.credentials .Values.credentialsList }} +{{- fail "Don't try to add credenatials to VolSync, add them to the individual charts using VolSync" }} +{{- end }} + {{/* Render the templates */}} {{ include "tc.v1.common.loader.apply" . }}