Repository: kubernetes/minikube
Pull request #17100 (2023-08-21 08:03:55)

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

```
 M pkg/minikube/bootstrapper/bsutil/testdata/v1.28/containerd-api-port.yaml
 M pkg/minikube/bootstrapper/bsutil/testdata/v1.28/containerd-pod-network-cidr.yaml
 M pkg/minikube/bootstrapper/bsutil/testdata/v1.28/containerd.yaml
 M pkg/minikube/bootstrapper/bsutil/testdata/v1.28/crio-options-gates.yaml
 M pkg/minikube/bootstrapper/bsutil/testdata/v1.28/crio.yaml
 M pkg/minikube/bootstrapper/bsutil/testdata/v1.28/default.yaml
 M pkg/minikube/bootstrapper/bsutil/testdata/v1.28/dns.yaml
 M pkg/minikube/bootstrapper/bsutil/testdata/v1.28/image-repository.yaml
 M pkg/minikube/bootstrapper/bsutil/testdata/v1.28/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 1efd8c72e..441abed62 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
-	DefaultKubernetesVersion = "v1.27.4"
+	DefaultKubernetesVersion = "v1.28.0"
 	// 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.28.0-rc.1"
+	NewestKubernetesVersion = "v1.28.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 104791464..f12806367 100644
--- a/site/content/en/docs/commands/start.md
+++ b/site/content/en/docs/commands/start.md
@@ -71,7 +71,7 @@ minikube start [flags]
       --interactive                       Allow user prompts for more information (default true)
       --iso-url strings                   Locations to fetch the minikube ISO from. The list depends on the machine architecture.
       --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.27.4, 'latest' for v1.28.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.28.0, 'latest' for v1.28.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.28/containerd-api-port.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/containerd-api-port.yaml
index 8af7fd8a0..ff5198290 100644
--- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/containerd-api-port.yaml
+++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/containerd-api-port.yaml
@@ -38,7 +38,7 @@ etcd:
     dataDir: /var/lib/minikube/etcd
     extraArgs:
       proxy-refresh-interval: "70000"
-kubernetesVersion: v1.28.0-rc.1
+kubernetesVersion: v1.28.0
 networking:
   dnsDomain: cluster.local
   podSubnet: "10.244.0.0/16"
diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/containerd-pod-network-cidr.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/containerd-pod-network-cidr.yaml
index ca1d4856f..d6e18ef7b 100644
--- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/containerd-pod-network-cidr.yaml
+++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/containerd-pod-network-cidr.yaml
@@ -38,7 +38,7 @@ etcd:
     dataDir: /var/lib/minikube/etcd
     extraArgs:
       proxy-refresh-interval: "70000"
-kubernetesVersion: v1.28.0-rc.1
+kubernetesVersion: v1.28.0
 networking:
   dnsDomain: cluster.local
   podSubnet: "192.168.32.0/20"
diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/containerd.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/containerd.yaml
index e744baa07..10400b54d 100644
--- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/containerd.yaml
+++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/containerd.yaml
@@ -38,7 +38,7 @@ etcd:
     dataDir: /var/lib/minikube/etcd
     extraArgs:
       proxy-refresh-interval: "70000"
-kubernetesVersion: v1.28.0-rc.1
+kubernetesVersion: v1.28.0
 networking:
   dnsDomain: cluster.local
   podSubnet: "10.244.0.0/16"
diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/crio-options-gates.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/crio-options-gates.yaml
index 2e9cddb8c..b60e76ed1 100644
--- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/crio-options-gates.yaml
+++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/crio-options-gates.yaml
@@ -44,7 +44,7 @@ etcd:
     dataDir: /var/lib/minikube/etcd
     extraArgs:
       proxy-refresh-interval: "70000"
-kubernetesVersion: v1.28.0-rc.1
+kubernetesVersion: v1.28.0
 networking:
   dnsDomain: cluster.local
   podSubnet: "10.244.0.0/16"
diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/crio.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/crio.yaml
index 3b9378927..69f9403e2 100644
--- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/crio.yaml
+++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/crio.yaml
@@ -38,7 +38,7 @@ etcd:
     dataDir: /var/lib/minikube/etcd
     extraArgs:
       proxy-refresh-interval: "70000"
-kubernetesVersion: v1.28.0-rc.1
+kubernetesVersion: v1.28.0
 networking:
   dnsDomain: cluster.local
   podSubnet: "10.244.0.0/16"
diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/default.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/default.yaml
index 942ad03a8..7bc34ac48 100644
--- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/default.yaml
+++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/default.yaml
@@ -38,7 +38,7 @@ etcd:
     dataDir: /var/lib/minikube/etcd
     extraArgs:
       proxy-refresh-interval: "70000"
-kubernetesVersion: v1.28.0-rc.1
+kubernetesVersion: v1.28.0
 networking:
   dnsDomain: cluster.local
   podSubnet: "10.244.0.0/16"
diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/dns.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/dns.yaml
index 92eaa2009..cf77babc8 100644
--- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/dns.yaml
+++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/dns.yaml
@@ -38,7 +38,7 @@ etcd:
     dataDir: /var/lib/minikube/etcd
     extraArgs:
       proxy-refresh-interval: "70000"
-kubernetesVersion: v1.28.0-rc.1
+kubernetesVersion: v1.28.0
 networking:
   dnsDomain: minikube.local
   podSubnet: "10.244.0.0/16"
diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/image-repository.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/image-repository.yaml
index d75601552..12776d746 100644
--- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/image-repository.yaml
+++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/image-repository.yaml
@@ -39,7 +39,7 @@ etcd:
     dataDir: /var/lib/minikube/etcd
     extraArgs:
       proxy-refresh-interval: "70000"
-kubernetesVersion: v1.28.0-rc.1
+kubernetesVersion: v1.28.0
 networking:
   dnsDomain: cluster.local
   podSubnet: "10.244.0.0/16"
diff --git a/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/options.yaml b/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/options.yaml
index bda073ae8..36edb2135 100644
--- a/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/options.yaml
+++ b/pkg/minikube/bootstrapper/bsutil/testdata/v1.28/options.yaml
@@ -41,7 +41,7 @@ etcd:
     dataDir: /var/lib/minikube/etcd
     extraArgs:
       proxy-refresh-interval: "70000"
-kubernetesVersion: v1.28.0-rc.1
+kubernetesVersion: v1.28.0
 networking:
   dnsDomain: cluster.local
   podSubnet: "10.244.0.0/16"