diff --git a/charts/t8s-cluster/templates/_helpers.tpl b/charts/t8s-cluster/templates/_helpers.tpl index d57b0c45e..66c7f55da 100644 --- a/charts/t8s-cluster/templates/_helpers.tpl +++ b/charts/t8s-cluster/templates/_helpers.tpl @@ -30,5 +30,5 @@ sourceRef: {{- $hasGPUFlavor = true -}} {{- end -}} {{- end -}} - {{- $hasGPUFlavor -}} + {{- $hasGPUFlavor | ternary true "" -}} {{- end -}} diff --git a/charts/t8s-cluster/values.yaml b/charts/t8s-cluster/values.yaml index bb649082f..5d34611d5 100644 --- a/charts/t8s-cluster/values.yaml +++ b/charts/t8s-cluster/values.yaml @@ -10,7 +10,7 @@ global: url: https://helm.ngc.nvidia.com/nvidia charts: gpu-operator: 23.x.x - condition: '{{ eq (include "t8s-cluster.hasGPUNodes" (dict "context" $)) "true" }}' + condition: '{{ include "t8s-cluster.hasGPUNodes" (dict "context" $) }}' cloud-provider-openstack: url: https://kubernetes.github.io/cloud-provider-openstack cetic: