Skip to content

Commit

Permalink
Allow users to remove machinesets by setting them to null (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
simu authored Jun 18, 2024
1 parent ee01f07 commit 8f2c8b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions component/machine-sets.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ local machineSpecs = [
{
['machineset-' + m.name]: machineSet(m.name, m.spec)
for m in machineSpecs
if m.spec != null
} + {
[if std.length(machineSpecs) == 0 then '.gitkeep']: {},
}

0 comments on commit 8f2c8b1

Please sign in to comment.