d878449ace
Add Kuberntes 1.22 OBS-URL: https://build.opensuse.org/request/show/910508 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/kubernetes1.22?expand=0&rev=1
27 lines
1.4 KiB
Diff
27 lines
1.4 KiB
Diff
diff --git a/cmd/kubeadm/app/apis/kubeadm/v1beta2/defaults.go b/cmd/kubeadm/app/apis/kubeadm/v1beta2/defaults.go
|
|
index 2611da7be9c..9875fad32b9 100644
|
|
--- a/cmd/kubeadm/app/apis/kubeadm/v1beta2/defaults.go
|
|
+++ b/cmd/kubeadm/app/apis/kubeadm/v1beta2/defaults.go
|
|
@@ -40,7 +40,7 @@ const (
|
|
// DefaultCertificatesDir defines default certificate directory
|
|
DefaultCertificatesDir = "/etc/kubernetes/pki"
|
|
// DefaultImageRepository defines default image registry
|
|
- DefaultImageRepository = "k8s.gcr.io"
|
|
+ DefaultImageRepository = "registry.opensuse.org/kubic"
|
|
// DefaultManifestsDir defines default manifests directory
|
|
DefaultManifestsDir = "/etc/kubernetes/manifests"
|
|
// DefaultClusterName defines the default cluster name
|
|
diff --git a/cmd/kubeadm/app/apis/kubeadm/v1beta3/defaults.go b/cmd/kubeadm/app/apis/kubeadm/v1beta3/defaults.go
|
|
index feb72d7807e..c04d6a5973a 100644
|
|
--- a/cmd/kubeadm/app/apis/kubeadm/v1beta3/defaults.go
|
|
+++ b/cmd/kubeadm/app/apis/kubeadm/v1beta3/defaults.go
|
|
@@ -42,7 +42,7 @@ const (
|
|
// DefaultCertificatesDir defines default certificate directory
|
|
DefaultCertificatesDir = "/etc/kubernetes/pki"
|
|
// DefaultImageRepository defines default image registry
|
|
- DefaultImageRepository = "k8s.gcr.io"
|
|
+ DefaultImageRepository = "registry.opensuse.org/kubic"
|
|
// DefaultManifestsDir defines default manifests directory
|
|
DefaultManifestsDir = "/etc/kubernetes/manifests"
|
|
// DefaultClusterName defines the default cluster name
|