{{- if (and (.Values.components).nstl ( or (.Values.components).nstla (.Values.components).nstlb (.Values.components).nstlc (.Values.components).nstld)) -}}
{{- fail "You can only choose nstl or nstl[a-d], not both" -}}
{{- end -}}

{{- if (and (.Values.components).sharepoint ( or (.Values.components).sharepointa (.Values.components).sharepointb (.Values.components).sharepointc (.Values.components).sharepointd)) -}}
{{- fail "You can only choose sharepoint or sharepoint[a-d], not both" -}}
{{- end -}}

{{- if (and (.Values.components).erpproxy ( or (.Values.components).erpproxya (.Values.components).erpproxyb (.Values.components).erpproxyc (.Values.components).erpproxyd)) -}}
{{- fail "You can only choose erpproxy or erpproxy[a-d], not both" -}}
{{- end -}}