From 28b72d552bbe9680815606ca7fd4eb3b122895f2 Mon Sep 17 00:00:00 2001 From: Steve McMaster Date: Sat, 20 Jul 2024 14:01:02 -0400 Subject: [PATCH] fix? --- base.tf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base.tf.j2 b/base.tf.j2 index 3f92a29..4772dc9 100644 --- a/base.tf.j2 +++ b/base.tf.j2 @@ -420,10 +420,10 @@ resource "kubernetes_deployment" "main" { {% endblock %} {% block kubernetes_pod_main_tolerations %} - dynamic "gpu_toleration" { + dynamic "toleration" { for_each = data.coder_parameter.gpu.value == 0 ? [] : [1] - toleration { + content { key = "nvidia.com/gpu" operator = "Exists" effect = "NoSchedule"