Put your deployments in a directory with a name containing _helm
Put your yaml files in a directory, it will deploy any yaml as kube yaml that are not in a directory with a name containing _helm
go build -o lube cmd/main.go
./lube deploy <url>
./lube deploy <dirpath>
`./lube deploy
package main
import(
"github.com/ertia-io/lube"
)
func main(){
dp := lube.NewLubeDeployer("~/.kube/config", "lube-namespace" )
//Deploy archive url (any url to tar.gz)
err = ld.DeployArchiveUrl(context.Background(),https://github.com/ertia-io/deployments.tar.gz)
//Deploy directory any dir containing helm charts / kube yaml
err = ld.DeployDirectoryRecursive(context.Background(),"/opt/ertia/mydeploys/")
}