fix
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Steve McMaster 2024-07-20 13:47:25 -04:00
parent b63a39384c
commit 8479613654

View File

@ -420,13 +420,12 @@ resource "kubernetes_deployment" "main" {
{% endblock %}
{% block kubernetes_pod_main_tolerations %}
toleration = data.coder_parameter.gpu.value == 0 ? [] : [
{
"key": "nvidia.com/gpu",
"operator": "Exists",
"effect": "NoSchedule"
toleration {
for_each = data.coder_parameter.gpu.value == 0 ? [] : [1]
key = "nvidia.com/gpu"
operator = "Exists"
effect = "NoSchedule"
}
]
{% endblock %}
{% block kubernetes_pod_main_container %}