Skip to content

Commit

Permalink
Merge pull request #61 from nukleros/lib-upgrades
Browse files Browse the repository at this point in the history
feat: upgrade dependency versions for generated projects
  • Loading branch information
scottd018 authored Nov 7, 2022
2 parents 854791e + 453701f commit 7d19f84
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
21 changes: 11 additions & 10 deletions internal/plugins/workload/v1/scaffolds/templates/gomod.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,24 @@ func goModDependencyMap() map[string]string {
"github.com/go-logr/logr": "v1.2.3",
"github.com/nukleros/operator-builder-tools": "v0.3.0",
"github.com/onsi/ginkgo": "v1.16.5",
"github.com/onsi/gomega": "v1.19.0",
"github.com/spf13/cobra": "v1.4.0",
"github.com/stretchr/testify": "v1.7.3",
"google.golang.org/api": "v0.84.0",
"github.com/onsi/gomega": "v1.24.0",
"github.com/spf13/cobra": "v1.6.1",
"github.com/stretchr/testify": "v1.8.1",
"google.golang.org/api": "v0.102.0",
"gopkg.in/yaml.v2": "v2.4.0",
"k8s.io/api": "v0.24.2",
"k8s.io/apimachinery": "v0.24.2",
"k8s.io/client-go": "v0.24.2",
"sigs.k8s.io/controller-runtime": "v0.12.1",
"sigs.k8s.io/kubebuilder/v3": "v3.4.1",
"k8s.io/api": "v0.25.3",
"k8s.io/apimachinery": "v0.25.3",
"k8s.io/client-go": "v0.25.3",
"sigs.k8s.io/controller-runtime": "v0.13.1",
"sigs.k8s.io/kubebuilder/v3": "v3.7.0",
"sigs.k8s.io/yaml": "v1.3.0",
}
}

func goModIndirectDependencyMap() map[string]string {
return map[string]string{
"gopkg.in/check.v1": "v1.0.0-20201130134442-10cb98267c6c",
"gopkg.in/check.v1": "v1.0.0-20201130134442-10cb98267c6c",
"cloud.google.com/go/compute/metadata": "v0.2.1",
}
}

Expand Down
4 changes: 2 additions & 2 deletions internal/utils/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ package utils

const (
// specifies the minimum version required to build the generated project.
GeneratedGoVersionMinimum = "1.17"
GeneratedGoVersionMinimum = "1.18"

// specifies the preferred version.
GeneratedGoVersionPreferred = "1.18"
GeneratedGoVersionPreferred = "1.19"
)

0 comments on commit 7d19f84

Please sign in to comment.