From b66df8571aae171d303226e45d2bb52eb197e509 Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Tue, 20 Dec 2022 00:59:33 +0200 Subject: [PATCH] add todo --- library/common/1.0.0/templates/class/_configmap.tpl | 2 ++ library/common/1.0.0/templates/loader/_apply.tpl | 1 + 2 files changed, 3 insertions(+) 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 -}}