Closed tpiperatgod closed 2 years ago
Since OpenFunction must rely on Shipwright, we can set the Shipwright component to be enabled by default, meaning that Shipwright needs to be installed by default in all cases.
The approximate way to do this is to always set the shipwright condition to true in this method: https://github.com/OpenFunction/cli/blob/938c4141db0219d76139fd48c4e807e7d816922e/pkg/cmd/subcommand/install.go#L357
Since OpenFunction must rely on Shipwright, we can set the Shipwright component to be enabled by default, meaning that Shipwright needs to be installed by default in all cases.
The approximate way to do this is to always set the shipwright condition to true in this method: https://github.com/OpenFunction/cli/blob/938c4141db0219d76139fd48c4e807e7d816922e/pkg/cmd/subcommand/install.go#L357