From 4f0dbd171234b1ac17e74544786f3e9981b76329 Mon Sep 17 00:00:00 2001
From: nltimv <git@nltimv.com>
Date: Tue, 19 Sep 2023 15:38:45 +0200
Subject: [PATCH] Change default to hostPath

---
 deploy/chart/local-path-provisioner/README.md   | 2 +-
 deploy/chart/local-path-provisioner/values.yaml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/deploy/chart/local-path-provisioner/README.md b/deploy/chart/local-path-provisioner/README.md
index 4d43c861..26362264 100644
--- a/deploy/chart/local-path-provisioner/README.md
+++ b/deploy/chart/local-path-provisioner/README.md
@@ -61,7 +61,7 @@ default values.
 | `storageClass.create`               | If true, create a `StorageClass`                                                | `true`                                                                              |
 | `storageClass.provisionerName`      | The provisioner name for the storage class                                      | `nil`                                                                               |
 | `storageClass.defaultClass`         | If true, set the created `StorageClass` as the cluster's default `StorageClass` | `false`                                                                             |
-| `storageClass.defaultVolumeType`    | The default volume type this storage class creates                              | `local`                                                                             |
+| `storageClass.defaultVolumeType`    | The default volume type this storage class creates                              | `hostPath`                                                                          |
 | `storageClass.name`                 | The name to assign the created StorageClass                                     | local-path                                                                          |
 | `storageClass.reclaimPolicy`        | ReclaimPolicy field of the class                                                | Delete                                                                              |
 | `nodePathMap`                       | Configuration of where to store the data on each node                           | `[{node: DEFAULT_PATH_FOR_NON_LISTED_NODES, paths: [/opt/local-path-provisioner]}]` |
diff --git a/deploy/chart/local-path-provisioner/values.yaml b/deploy/chart/local-path-provisioner/values.yaml
index b4d0fb94..f67a3937 100644
--- a/deploy/chart/local-path-provisioner/values.yaml
+++ b/deploy/chart/local-path-provisioner/values.yaml
@@ -35,7 +35,7 @@ storageClass:
   defaultClass: false
 
   ## The default volume type this storage class creates, can be "local" or "hostPath"
-  defaultVolumeType: local
+  defaultVolumeType: hostPath
 
   ## Set a StorageClass name
   ## Ignored if storageClass.create is false
-- 
GitLab