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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Local Path Provisioner
Commits
c48a8e2e
Commit
c48a8e2e
authored
Jul 13, 2023
by
Dmitry K. Anisimov
Committed by
Derek Su
Nov 19, 2023
Browse files
Options
Downloads
Patches
Plain Diff
add storageClass.volumeBindingMode value to helm chart
(cherry picked from commit
f8f59d0a
)
parent
b7ecde60
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
deploy/chart/local-path-provisioner/templates/storageclass.yaml
+1
-1
1 addition, 1 deletion
.../chart/local-path-provisioner/templates/storageclass.yaml
deploy/chart/local-path-provisioner/values.yaml
+3
-0
3 additions, 0 deletions
deploy/chart/local-path-provisioner/values.yaml
with
4 additions
and
1 deletion
deploy/chart/local-path-provisioner/templates/storageclass.yaml
+
1
−
1
View file @
c48a8e2e
...
...
@@ -10,7 +10,7 @@ metadata:
storageclass.kubernetes.io/is-default-class
:
"
true"
{{
- end
}}
provisioner
:
{{
template "local-path-provisioner.provisionerName" .
}}
volumeBindingMode
:
WaitForFirstConsumer
volumeBindingMode
:
{{
.Values.storageClass.volumeBindingMode
}}
reclaimPolicy
:
{{
.Values.storageClass.reclaimPolicy
}}
allowVolumeExpansion
:
true
{{
- end
}}
This diff is collapsed.
Click to expand it.
deploy/chart/local-path-provisioner/values.yaml
+
3
−
0
View file @
c48a8e2e
...
...
@@ -41,6 +41,9 @@ storageClass:
## ReclaimPolicy field of the class, which can be either Delete or Retain
reclaimPolicy
:
Delete
## volumeBindingMode field controls when volume binding and dynamic provisioning should occur, can be "Immediate" or "WaitForFirstConsumer"
volumeBindingMode
:
WaitForFirstConsumer
# nodePathMap is the place user can customize where to store the data on each node.
# 1. If one node is not listed on the nodePathMap, and Kubernetes wants to create volume on it, the paths specified in
# DEFAULT_PATH_FOR_NON_LISTED_NODES will be used for provisioning.
...
...
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