UNCLASSIFIED - NO CUI

Skip to content

Simplify conditionals/DRY up the k3d dev script

Micah Nagel requested to merge k3d-dev-script-simplify into master

Main change in this MR is an incremental build of the k3d cluster create command. This saves us from a mess of nested conditionals and handling every combination of options. It prevents a lot of repetition in the commands used and makes it easier to extend with other k3d options if needed.

Assuming I changed things properly this shouldn't change any behavior, just the under the hood code.

Edited by Micah Nagel

Merge request reports