From b7a8c102ff438bfad701f3a30c1cd0a056503e58 Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Wed, 21 Dec 2022 13:13:05 +0200 Subject: [PATCH] formatting --- library/common/1.0.0/templates/lib/pod/_runtimeClassName.tpl | 1 + 1 file changed, 1 insertion(+) diff --git a/library/common/1.0.0/templates/lib/pod/_runtimeClassName.tpl b/library/common/1.0.0/templates/lib/pod/_runtimeClassName.tpl index c8e9bf41bc..0442f01d99 100644 --- a/library/common/1.0.0/templates/lib/pod/_runtimeClassName.tpl +++ b/library/common/1.0.0/templates/lib/pod/_runtimeClassName.tpl @@ -1,5 +1,6 @@ {{- define "ix.v1.common.runtimeClassName" -}} {{- $root := .root -}} + {{- if hasKey $root.Values.global "ixChartContext" -}} {{- if $root.Values.global.ixChartContext.addNvidiaRuntimeClass -}} {{- print $root.Values.global.ixChartContext.nvidiaRuntimeClassName -}}