Skip to content

Commit

Permalink
Fix helm README
Browse files Browse the repository at this point in the history
add local-path-provisioner to ./deploy/chart in helm command
  • Loading branch information
jamshidi799 authored and derekbit committed May 27, 2024
1 parent c4dc309 commit 116423a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions deploy/chart/local-path-provisioner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ solution than the built-in `local` volume feature in Kubernetes.
```console
$ git clone https://github.com/rancher/local-path-provisioner.git
$ cd local-path-provisioner
$ helm install --name local-path-storage --namespace local-path-storage ./deploy/chart/
$ helm install --name local-path-storage --namespace local-path-storage ./deploy/chart/local-path-provisioner
```

## Introduction
Expand All @@ -30,7 +30,7 @@ To install the chart with the release name `local-path-storage`:
```console
$ git clone https://github.com/rancher/local-path-provisioner.git
$ cd local-path-provisioner
$ helm install ./deploy/chart/ --name local-path-storage --namespace local-path-storage
$ helm install ./deploy/chart/local-path-provisioner --name local-path-storage --namespace local-path-storage
```

The command deploys Local Path Provisioner on the Kubernetes cluster in the default configuration. The
Expand Down Expand Up @@ -83,14 +83,14 @@ default values.
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,

```console
$ helm install ./deploy/chart/ --name local-path-storage --namespace local-path-storage --set storageClass.provisionerName=rancher.io/local-path
$ helm install ./deploy/chart/local-path-provisioner --name local-path-storage --namespace local-path-storage --set storageClass.provisionerName=rancher.io/local-path
```

Alternatively, a YAML file that specifies the values for the above parameters can be provided while installing the
chart. For example,

```console
$ helm install --name local-path-storage --namespace local-path-storage ./deploy/chart/ -f values.yaml
$ helm install --name local-path-storage --namespace local-path-storage ./deploy/chart/local-path-provisioner -f values.yaml
```

> **Tip**: You can use the default [values.yaml](values.yaml)
Expand All @@ -115,5 +115,5 @@ If the output contains "beta", you may install the chart with RBAC enabled (see
To enable the creation of RBAC resources (On clusters with RBAC). Do the following:

```console
$ helm install ./deploy/chart/ --name local-path-storage --namespace local-path-storage --set rbac.create=true
$ helm install ./deploy/chart/local-path-provisioner --name local-path-storage --namespace local-path-storage --set rbac.create=true
```

0 comments on commit 116423a

Please sign in to comment.