Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nfs-subdir-external-provisioner
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rancher商店
nfs-subdir-external-provisioner
Commits
5364f1b4
Unverified
Commit
5364f1b4
authored
Mar 21, 2021
by
Kubernetes Prow Robot
Committed by
GitHub
Mar 21, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #68 from mustache1up/helm-ondelete-support
Helm storageClass.onDelete parameter support
parents
863e9698
74173035
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
2 deletions
+11
-2
Chart.yaml
charts/nfs-subdir-external-provisioner/Chart.yaml
+1
-1
README.md
charts/nfs-subdir-external-provisioner/README.md
+2
-1
storageclass.yaml
...s-subdir-external-provisioner/templates/storageclass.yaml
+3
-0
values.yaml
charts/nfs-subdir-external-provisioner/values.yaml
+5
-0
No files found.
charts/nfs-subdir-external-provisioner/Chart.yaml
View file @
5364f1b4
...
...
@@ -3,7 +3,7 @@ appVersion: 4.0.0
description
:
nfs-subdir-external-provisioner is an automatic provisioner that used your *already configured* NFS server, automatically creating Persistent Volumes.
name
:
nfs-subdir-external-provisioner
home
:
https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner
version
:
4.0.
4
version
:
4.0.
5
kubeVersion
:
"
>=1.9.0-0"
sources
:
-
https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner
...
...
charts/nfs-subdir-external-provisioner/README.md
View file @
5364f1b4
...
...
@@ -60,7 +60,8 @@ The following tables lists the configurable parameters of this chart and their d
|
`storageClass.allowVolumeExpansion`
| Allow expanding the volume |
`true`
|
|
`storageClass.reclaimPolicy`
| Method used to reclaim an obsoleted volume |
`Delete`
|
|
`storageClass.provisionerName`
| Name of the provisionerName | null |
|
`storageClass.archiveOnDelete`
| Archive pvc when deleting |
`true`
|
|
`storageClass.archiveOnDelete`
| Archive PVC when deleting |
`true`
|
|
`storageClass.onDelete`
| Strategy on PVC deletion. Overrides
`archiveOnDelete`
when set to lowercase values
`delete`
or
`retain`
| null |
|
`storageClass.pathPattern`
| Specifies a template for the directory name | null |
|
`storageClass.accessModes`
| Set access mode for PV |
`ReadWriteOnce`
|
|
`leaderElection.enabled`
| Enables or disables leader election |
`true`
|
...
...
charts/nfs-subdir-external-provisioner/templates/storageclass.yaml
View file @
5364f1b4
...
...
@@ -20,6 +20,9 @@ parameters:
{{
- if .Values.storageClass.pathPattern
}}
pathPattern
:
"
{{
.Values.storageClass.pathPattern
}}"
{{
- end
}}
{{
- if .Values.storageClass.onDelete
}}
onDelete
:
"
{{
.Values.storageClass.onDelete
}}"
{{
- end
}}
{{
- if .Values.nfs.mountOptions
}}
mountOptions
:
{{
- range .Values.nfs.mountOptions
}}
...
...
charts/nfs-subdir-external-provisioner/values.yaml
View file @
5364f1b4
...
...
@@ -35,6 +35,11 @@ storageClass:
# When set to false your PVs will not be archived by the provisioner upon deletion of the PVC.
archiveOnDelete
:
true
# If it exists and has 'delete' value, delete the directory. If it exists and has 'retain' value, save the directory.
# Overrides archiveOnDelete.
# Ignored if value not set.
onDelete
:
# Specifies a template for creating a directory path via PVC metadata's such as labels, annotations, name or namespace.
# Ignored if value not set.
pathPattern
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment