Skip to main content

local-path-provisioner


Installation

git clone https://github.com/rancher/local-path-provisioner.git -b v0.0.20 --depth 1
mkdir -p storage/local-path-provisioner/base
helm show values ./local-path-provisioner/deploy/chart \
> storage/local-path-provisioner/base/values.yaml
storage/local-path-provisioner/base/values.yaml
# ...

storageClass:
create: true
defaultClass: false # storageclass.kubernetes.io/is-default-class=false

# ...
helm upgrade local-path-provisioner ./local-path-provisioner/deploy/chart \
--install \
-n storage \
--create-namespace \
-f storage/local-path-provisioner/base/values.yaml
helm get manifest local-path-provisioner \
> storage/local-path-provisioner/base/manifest.yaml

Reference