diff --git a/deploy/addons/storage-provisioner-gluster/storage-provisioner-glusterfile.yaml.tmpl b/deploy/addons/storage-provisioner-gluster/storage-provisioner-glusterfile.yaml.tmpl index df579da77733..74c84ede77fd 100644 --- a/deploy/addons/storage-provisioner-gluster/storage-provisioner-glusterfile.yaml.tmpl +++ b/deploy/addons/storage-provisioner-gluster/storage-provisioner-glusterfile.yaml.tmpl @@ -8,7 +8,7 @@ metadata: kubernetes.io/minikube-addons: storage-provisioner-gluster addonmanager.kubernetes.io/mode: EnsureExists annotations: - storageclass.beta.kubernetes.io/is-default-class: "true" + storageclass.kubernetes.io/is-default-class: "true" provisioner: gluster.org/glusterfile reclaimPolicy: Delete parameters: diff --git a/pkg/minikube/storageclass/storageclass.go b/pkg/minikube/storageclass/storageclass.go index 657d99911f03..fa6bb19a12ef 100644 --- a/pkg/minikube/storageclass/storageclass.go +++ b/pkg/minikube/storageclass/storageclass.go @@ -29,7 +29,7 @@ import ( func annotateDefaultStorageClass(storage storagev1.StorageV1Interface, class *v1.StorageClass, enable bool) error { isDefault := strconv.FormatBool(enable) - metav1.SetMetaDataAnnotation(&class.ObjectMeta, "storageclass.beta.kubernetes.io/is-default-class", isDefault) + metav1.SetMetaDataAnnotation(&class.ObjectMeta, "storageclass.kubernetes.io/is-default-class", isDefault) _, err := storage.StorageClasses().Update(class) return err