Skip to content

Commit

Permalink
Move version pins after controller-runtime and k8s.io bump
Browse files Browse the repository at this point in the history
  • Loading branch information
gibizer committed Feb 15, 2024
1 parent 71081e7 commit f25b1bb
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions default.json5
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@
"matchPackagePatterns": ["^k8s.io"],
// We exclude kube-openapi as it has no tags
"excludePackagePatterns": ["^k8s.io/kube-openapi"],
// We need a matching controller-runtime and we
// need to update our webhook definitions to be compatible
// with 0.27 first
"allowedVersions": "< 0.27.0",
// 0.29 needs controller-runtime 0.17 and golang 1.21
"allowedVersions": "< 0.29.0",
"enabled": true
},
// We disable kube-openapi updates as it has no tags to express a limit
Expand All @@ -56,7 +54,8 @@
{
"groupName": "sigs.k8s.io/controller-runtime",
"matchPackagePatterns": ["^sigs.k8s.io/controller-runtime"],
"allowedVersions": "< 0.15.0",
// 0.17 needs golang 1.21 and ubi9/go-toolset:1.21
"allowedVersions": "< 0.17.0",
"enabled": true
},
// We need to manually select a version to bump to as there
Expand All @@ -69,9 +68,8 @@
},
{
"groupName": "mergo",
"matchPackagePatterns": ["^github.com/imdario/mergo"],
// mergo 1.0.0 requires to bump k8s to 0.27 first
"allowedVersions": "< 1.0.0",
"matchPackagePatterns": ["^github.com/darccio/mergo"],
"allowedVersions": "< 2.0.0",
"enabled": true
},
{
Expand All @@ -89,15 +87,13 @@
{
"groupName": "ginkgo",
"matchPackagePatterns": ["^github.com/onsi/ginkgo/v2"],
// v2.15.0 needs golang 1.20
"allowedVersions": "< 2.15.0",
"allowedVersions": "< 3.0.0",
"enabled": true
},
{
"groupName": "gomega",
"matchPackagePatterns": ["^github.com/onsi/gomega"],
// v1.31.0 needs golang 1.20
"allowedVersions": "< 1.31.0",
"allowedVersions": "< 2.0.0",
"enabled": true
}
]
Expand Down

0 comments on commit f25b1bb

Please sign in to comment.