Skip to content

Commit 5568a0e

Browse files
committed
Configure dependabot to keep k8s dependencies on 0.31.x
Add dependabot ignore rules to maintain Kubernetes dependencies at the 0.31.x release line for OpenShift 4.18 / Kubernetes 1.31 compatibility: - Block all k8s.io/* packages from updating to >= 0.32.0 - Block k8s.io/klog/v2 from updating to >= 3.0.0 - Completely ignore k8s.io/kube-openapi and k8s.io/utils as they use special version pinning in go.mod replace directives This allows patch updates within the 0.31.x line while preventing automatic updates to newer Kubernetes versions that would break compatibility with OpenShift 4.18. Co-authored-by: Claude (Anthropic) [email protected] Signed-off-by: Martin Schuppert <[email protected]>
1 parent 74904d9 commit 5568a0e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ updates:
1111
- dependency-name: "kubevirt.io/containerized-data-importer-api"
1212
- dependency-name: "sigs.k8s.io/controller-runtime"
1313
- dependency-name: "github.com/metal3-io/baremetal-operator/apis"
14+
# These have special version pinning in go.mod (see replace directives)
15+
- dependency-name: "k8s.io/kube-openapi"
16+
- dependency-name: "k8s.io/utils"
17+
# Keep k8s dependencies on 0.31.x (OpenShift 4.18 / Kubernetes 1.31)
18+
- dependency-name: "k8s.io/*"
19+
versions: ">= 0.32.0"
20+
- dependency-name: "k8s.io/klog/v2"
21+
versions: ">= 3.0.0"
1422
- package-ecosystem: "gomod"
1523
directory: "/"
1624
schedule:

0 commit comments

Comments
 (0)