diff --git a/Makefile b/Makefile index 79499c324d..26132dd26a 100644 --- a/Makefile +++ b/Makefile @@ -83,6 +83,10 @@ build-real: touch web/dist/THIS_IS_OKTETO # we need this for go:embed, but it's not actually used in dev go build ${LDFLAGS} ${GCFLAGS} -v -o bin/kotsadm $(BUILDFLAGS) ./cmd/kotsadm +.PHONY: tidy +tidy: + go mod tidy + .PHONY: run run: ./bin/kotsadm api @@ -176,7 +180,7 @@ sbom: sbom/kots-sbom.tgz # npm packages scans are ignored(only go modules are scanned) .PHONY: scan -scan: +scan: trivy fs \ --scanners vuln \ --exit-code=1 \ @@ -190,5 +194,5 @@ scan: ./ .PHONY: generate-kubectl-versions -generate-kubectl-versions: +generate-kubectl-versions: node .github/actions/kubectl-versions/dist/index.js diff --git a/go.mod b/go.mod index 2f5dc6951a..0ba625fb12 100644 --- a/go.mod +++ b/go.mod @@ -51,7 +51,7 @@ require ( github.com/replicatedhq/embedded-cluster-kinds v1.1.6 github.com/replicatedhq/kotskinds v0.0.0-20240416132840-4e646b87f7a1 github.com/replicatedhq/kurlkinds v1.5.0 - github.com/replicatedhq/troubleshoot v0.91.0 + github.com/replicatedhq/troubleshoot v0.91.1 github.com/replicatedhq/yaml/v3 v3.0.0-beta5-replicatedhq github.com/robfig/cron v1.2.0 github.com/robfig/cron/v3 v3.0.1 diff --git a/go.sum b/go.sum index ab9c622638..aee83202aa 100644 --- a/go.sum +++ b/go.sum @@ -1316,8 +1316,8 @@ github.com/replicatedhq/kurlkinds v1.5.0 h1:zZ0PKNeh4kXvSzVGkn62DKTo314GxhXg1TSB github.com/replicatedhq/kurlkinds v1.5.0/go.mod h1:rUpBMdC81IhmJNCWMU/uRsMETv9P0xFoMvdSP/TAr5A= github.com/replicatedhq/termui/v3 v3.1.1-0.20200811145416-f40076d26851 h1:eRlNDHxGfVkPCRXbA4BfQJvt5DHjFiTtWy3R/t4djyY= github.com/replicatedhq/termui/v3 v3.1.1-0.20200811145416-f40076d26851/go.mod h1:JDxG6+uubnk9/BZ2yUsyAJJwlptjrnmB2MPF5d2Xe/8= -github.com/replicatedhq/troubleshoot v0.91.0 h1:IRH1uzcW1WHV6qX/gsx4gmEgYP6lXiLtU02KB63Bo4w= -github.com/replicatedhq/troubleshoot v0.91.0/go.mod h1:ZKwwgdoe9SQFNBAzkJGzslnKy2hN4o7gp36UMY54+Lw= +github.com/replicatedhq/troubleshoot v0.91.1 h1:hzXSi1lEBB1svMdP3UXLsGKSUMU+pZBFF92A4jcHkCM= +github.com/replicatedhq/troubleshoot v0.91.1/go.mod h1:ZKwwgdoe9SQFNBAzkJGzslnKy2hN4o7gp36UMY54+Lw= github.com/replicatedhq/yaml/v3 v3.0.0-beta5-replicatedhq h1:PwPggruelq2336c1Ayg5STFqgbn/QB1tWLQwrVlU7ZQ= github.com/replicatedhq/yaml/v3 v3.0.0-beta5-replicatedhq/go.mod h1:Txa7LopbYCU8aRgmNe0n+y/EPMz50NbCPcVVJBquwag= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=