Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Local Path Provisioner
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Local Path Provisioner
Commits
116423a0
Commit
116423a0
authored
1 year ago
by
Mohammad
Committed by
Derek Su
11 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix helm README
add local-path-provisioner to ./deploy/chart in helm command
parent
c4dc309a
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
deploy/chart/local-path-provisioner/README.md
+5
-5
5 additions, 5 deletions
deploy/chart/local-path-provisioner/README.md
with
5 additions
and
5 deletions
deploy/chart/local-path-provisioner/README.md
+
5
−
5
View file @
116423a0
...
...
@@ -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
...
...
@@ -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
...
...
@@ -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)
...
...
@@ -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
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment