From 98d893e74b15667628e2f11a952ce87245329491 Mon Sep 17 00:00:00 2001 From: Konstantin Grachev Date: Wed, 1 Mar 2023 22:04:37 +0300 Subject: [PATCH] feat: add debug --- templates/_debug.yaml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 templates/_debug.yaml diff --git a/templates/_debug.yaml b/templates/_debug.yaml new file mode 100644 index 0000000..2e64b18 --- /dev/null +++ b/templates/_debug.yaml @@ -0,0 +1,3 @@ +{{- define "common.dd" -}} +{{- . | mustToPrettyJson | printf "\nThe JSON output of the dumped var is: \n%s" | fail }} +{{- end -}}