fix(k0s): only include workers in autopilot if there are any
This commit is contained in:
1 parent
d6e80ea087
commit
4159190a46
1 file changed
+2
@@ -18,6 +18,8 @@ spec:
|
||||
controllers:
|
||||
discovery:
|
||||
selector: {}
|
||||
{% if cluster.nodes.inventory | selectattr('controller', 'equalto', False) | list | length %}
|
||||
workers:
|
||||
discovery:
|
||||
selector: {}
|
||||
{% endif %}
|
||||
Reference in new issue
Block a user