We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5097ba3 commit dc0193fCopy full SHA for dc0193f
node/cloud-init.yaml.tpl
@@ -274,14 +274,18 @@ write_files:
274
server: https://${internal_vip}:9345
275
node-ip: ${node_ip}
276
cloud-provider-name: external
277
+ %{~ if length(node_taints) > 0 ~}
278
node-taint:
- %{ for k, v in node_taints ~}
279
- - "${k}=${v}"
280
- %{ endfor ~}
281
- node-label:
282
- %{ for k, v in node_labels ~}
283
284
+ %{ for k, v in node_taints ~}
+ - "${k}=${v}"
+ %{ endfor ~}
+ %{~ endif ~}
+ %{~ if length(node_labels) > 0 ~}
+ node-label:
285
+ %{ for k, v in node_labels ~}
286
287
288
289
%{~ endif ~}
290
291
runcmd:
0 commit comments