79b7cf4612
OBS-URL: https://build.opensuse.org/package/show/devel:kubic/kubernetes1.32?expand=0&rev=1
23 lines
964 B
Diff
23 lines
964 B
Diff
From 16e70f84cf9c5a72607efe86f0e030ac05fdd7f9 Mon Sep 17 00:00:00 2001
|
|
From: Richard Brown <rbrownccb@opensuse.org>
|
|
Date: Wed, 14 Apr 2021 17:04:02 +0200
|
|
Subject: [PATCH] Use kubic.opensuse.org for kubeadm version checks
|
|
|
|
---
|
|
cmd/kubeadm/app/util/version.go | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: kubernetes-1.26.0/cmd/kubeadm/app/util/version.go
|
|
===================================================================
|
|
--- kubernetes-1.26.0.orig/cmd/kubeadm/app/util/version.go
|
|
+++ kubernetes-1.26.0/cmd/kubeadm/app/util/version.go
|
|
@@ -39,7 +39,7 @@ const (
|
|
)
|
|
|
|
var (
|
|
- kubeReleaseBucketURL = "https://dl.k8s.io"
|
|
+ kubeReleaseBucketURL = "https://kubic.opensuse.org"
|
|
kubeCIBucketURL = "https://storage.googleapis.com/k8s-release-dev"
|
|
kubeReleaseRegex = regexp.MustCompile(`^v?(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)([-\w.+]*)?$`)
|
|
kubeReleaseLabelRegex = regexp.MustCompile(`^((latest|stable)+(-[1-9](\.[1-9](\d)?)?)?)\z`)
|