Skip to content

Commit c5f2c01

Browse files
committed
Show the warning only when a taint is added
1 parent ab730dd commit c5f2c01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

parameter-sets/node-pool-request/parameter-set.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@
200200
},
201201
{
202202
"type": "SEPARATOR",
203-
"description": "<div class=\"alert alert-warning\"><i class=\"icon-dku-warning\"/><span>WARNING: MUST CREATE AT LEAST ONE NODE POOL WITHOUT TAINTS. <a href=\"https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/\">See documentation</a></span></div>"
203+
"description": "<div class=\"alert alert-warning\"><i class=\"icon-dku-warning\"/><span>WARNING: MUST CREATE AT LEAST ONE NODE POOL WITHOUT TAINTS. <a href=\"https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/\">See documentation</a></span></div>",
204+
"visibilityCondition": "model.nodepoolTaints && (model.nodepoolTaints.length > 0)"
204205
},
205206
{
206207
"name": "nodepoolGCPLabels",

0 commit comments

Comments
 (0)