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" . }}