Repository: kubernetes/minikube
Pull request #13200 (2021-12-20 08:03:41)

bump default/newest kubernetes versions
This PR was auto-generated by `make update-kubernetes-version` using [update-k8s-versions.yml](https://github.com/kubernetes/minikube/tree/master/.github/workflows) CI Workflow. 
Please only merge if all the tests pass.

```
 M pkg/minikube/bootstrapper/bsutil/testdata/v1.23/containerd-api-port.yaml
 M pkg/minikube/bootstrapper/bsutil/testdata/v1.23/containerd-pod-network-cidr.yaml
 M pkg/minikube/bootstrapper/bsutil/testdata/v1.23/containerd.yaml
 M pkg/minikube/bootstrapper/bsutil/testdata/v1.23/crio-options-gates.yaml
 M pkg/minikube/bootstrapper/bsutil/testdata/v1.23/crio.yaml
 M pkg/minikube/bootstrapper/bsutil/testdata/v1.23/default.yaml
 M pkg/minikube/bootstrapper/bsutil/testdata/v1.23/dns.yaml
 M pkg/minikube/bootstrapper/bsutil/testdata/v1.23/image-repository.yaml
 M pkg/minikube/bootstrapper/bsutil/testdata/v1.23/options.yaml
 M pkg/minikube/constants/constants.go
 M site/content/en/docs/commands/start.md
```


Patch:
diff --git a/pkg/minikube/constants/constants.go b/pkg/minikube/constants/constants.go
index e377cf97f..029abf495 100644
--- a/pkg/minikube/constants/constants.go
+++ b/pkg/minikube/constants/constants.go
@@ -34,10 +34,10 @@ var (
 const (
 	// DefaultKubernetesVersion is the default Kubernetes version
 	// dont update till #10545 is solved
-	DefaultKubernetesVersion = "v1.22.4"
+	DefaultKubernetesVersion = "v1.23.1"
 	// NewestKubernetesVersion is the newest Kubernetes version to test against
 	// NOTE: You may need to update coreDNS & etcd versions in pkg/minikube/bootstrapper/images/images.go
-	NewestKubernetesVersion = "v1.23.0-rc.1"
+	NewestKubernetesVersion = "v1.23.2-rc.0"
 	// OldestKubernetesVersion is the oldest Kubernetes version to test against
 	OldestKubernetesVersion = "v1.16.0"
 	// NoKubernetesVersion is the version used when users does NOT want to install kubernetes
diff --git a/site/content/en/docs/commands/start.md b/site/content/en/docs/commands/start.md
index 4844c7488..b19e58fd4 100644
--- a/site/content/en/docs/commands/start.md
+++ b/site/content/en/docs/commands/start.md
@@ -68,7 +68,7 @@ minikube start [flags]
       --interactive                       Allow user prompts for more information (default true)
       --iso-url strings                   Locations to fetch the minikube ISO from. (default [https://storage.googleapis.com/minikube-builds/iso/12892/minikube-v1.24.0-1639505700-12892.iso,https://github.com/kubernetes/minikube/releases/download/v1.24.0-1639505700-12892/minikube-v1.24.0-1639505700-12892.iso,https://kubernetes.oss-cn-hangzhou.aliyuncs.com/minikube/iso/minikube-v1.24.0-1639505700-12892.iso])
       --keep-context                      This will keep the existing kubectl context and will create a minikube context.
-      --kubernetes-version string         The Kubernetes version that the minikube VM will use (ex: v1.2.3, 'stable' for v1.22.4, 'latest' for v1.23.0-rc.1). Defaults to 'stable'.
+      --kubernetes-version string         The Kubernetes version that the minikube VM will use (ex: v1.2.3, 'stable' for v1.23.1, 'latest' for v1.23.2-rc.0). Defaults to 'stable'.
       --kvm-gpu                           Enable experimental NVIDIA GPU support in minikube
       --kvm-hidden                        Hide the hypervisor signature from the guest in minikube (kvm2 driver only)
       --kvm-network string                The KVM default network name. (kvm2 driver only) (default "default")


Test patch:
diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/containerd-api-port.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/containerd-api-port.yaml
index 44ba22842..a26adfa22 100644
--- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/containerd-api-port.yaml
+++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/containerd-api-port.yaml
@@ -40,7 +40,7 @@ etcd:
     dataDir: /var/lib/minikube/etcd
     extraArgs:
       proxy-refresh-interval: "70000"
-kubernetesVersion: v1.23.0-rc.1
+kubernetesVersion: v1.23.0
 networking:
   dnsDomain: cluster.local
   podSubnet: "10.244.0.0/16"
diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/containerd-pod-network-cidr.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/containerd-pod-network-cidr.yaml
index 4f10db858..358ce92e0 100644
--- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/containerd-pod-network-cidr.yaml
+++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/containerd-pod-network-cidr.yaml
@@ -40,7 +40,7 @@ etcd:
     dataDir: /var/lib/minikube/etcd
     extraArgs:
       proxy-refresh-interval: "70000"
-kubernetesVersion: v1.23.0-rc.1
+kubernetesVersion: v1.23.0
 networking:
   dnsDomain: cluster.local
   podSubnet: "192.168.32.0/20"
diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/containerd.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/containerd.yaml
index a8e5c1dbd..35aedf090 100644
--- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/containerd.yaml
+++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/containerd.yaml
@@ -40,7 +40,7 @@ etcd:
     dataDir: /var/lib/minikube/etcd
     extraArgs:
       proxy-refresh-interval: "70000"
-kubernetesVersion: v1.23.0-rc.1
+kubernetesVersion: v1.23.0
 networking:
   dnsDomain: cluster.local
   podSubnet: "10.244.0.0/16"
diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/crio-options-gates.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/crio-options-gates.yaml
index 7c4cbdec8..3a9b024ed 100644
--- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/crio-options-gates.yaml
+++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/crio-options-gates.yaml
@@ -46,7 +46,7 @@ etcd:
     dataDir: /var/lib/minikube/etcd
     extraArgs:
       proxy-refresh-interval: "70000"
-kubernetesVersion: v1.23.0-rc.1
+kubernetesVersion: v1.23.0
 networking:
   dnsDomain: cluster.local
   podSubnet: "10.244.0.0/16"
diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/crio.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/crio.yaml
index 4a7a6c4b9..6d7ae1490 100644
--- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/crio.yaml
+++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/crio.yaml
@@ -40,7 +40,7 @@ etcd:
     dataDir: /var/lib/minikube/etcd
     extraArgs:
       proxy-refresh-interval: "70000"
-kubernetesVersion: v1.23.0-rc.1
+kubernetesVersion: v1.23.0
 networking:
   dnsDomain: cluster.local
   podSubnet: "10.244.0.0/16"
diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/default.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/default.yaml
index 2f3c77f3d..c0d85b013 100644
--- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/default.yaml
+++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/default.yaml
@@ -40,7 +40,7 @@ etcd:
     dataDir: /var/lib/minikube/etcd
     extraArgs:
       proxy-refresh-interval: "70000"
-kubernetesVersion: v1.23.0-rc.1
+kubernetesVersion: v1.23.0
 networking:
   dnsDomain: cluster.local
   podSubnet: "10.244.0.0/16"
diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/dns.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/dns.yaml
index 788c3c078..f4d22f7ff 100644
--- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/dns.yaml
+++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/dns.yaml
@@ -40,7 +40,7 @@ etcd:
     dataDir: /var/lib/minikube/etcd
     extraArgs:
       proxy-refresh-interval: "70000"
-kubernetesVersion: v1.23.0-rc.1
+kubernetesVersion: v1.23.0
 networking:
   dnsDomain: minikube.local
   podSubnet: "10.244.0.0/16"
diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/image-repository.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/image-repository.yaml
index c4a63d496..69b154b1d 100644
--- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/image-repository.yaml
+++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/image-repository.yaml
@@ -41,7 +41,7 @@ etcd:
     dataDir: /var/lib/minikube/etcd
     extraArgs:
       proxy-refresh-interval: "70000"
-kubernetesVersion: v1.23.0-rc.1
+kubernetesVersion: v1.23.0
 networking:
   dnsDomain: cluster.local
   podSubnet: "10.244.0.0/16"
diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/options.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/options.yaml
index a6624c0de..e677bac6f 100644
--- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/options.yaml
+++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.23/options.yaml
@@ -43,7 +43,7 @@ etcd:
     dataDir: /var/lib/minikube/etcd
     extraArgs:
       proxy-refresh-interval: "70000"
-kubernetesVersion: v1.23.0-rc.1
+kubernetesVersion: v1.23.0
 networking:
   dnsDomain: cluster.local
   podSubnet: "10.244.0.0/16"