diff --git a/library/common/1.0.0/templates/class/_configmap.tpl b/library/common/1.0.0/templates/class/_configmap.tpl index 84b2d45c7c..473198ed1a 100644 --- a/library/common/1.0.0/templates/class/_configmap.tpl +++ b/library/common/1.0.0/templates/class/_configmap.tpl @@ -32,3 +32,5 @@ data: {{- fail (printf "Invalid type (%s) for configmap. Valid types are scalar and key_value" $type) -}} {{- end -}} {{- end -}} + +{{/* TODO: Unit tests*/}} diff --git a/library/common/1.0.0/templates/loader/_apply.tpl b/library/common/1.0.0/templates/loader/_apply.tpl index 15614526e8..99cb92f310 100644 --- a/library/common/1.0.0/templates/loader/_apply.tpl +++ b/library/common/1.0.0/templates/loader/_apply.tpl @@ -33,6 +33,7 @@ {{- include "ix.v1.common.util.envCheckDupes" (dict "root" .) -}} {{- include "ix.v1.common.util.cleanupEnvsForCheck" (dict "root" .) -}} + {{- if .Values.envsForDupeCheck -}} {{- fail "Failed to cleanup key." -}} {{- end -}}