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
2fb90f77
Unverified
Commit
2fb90f77
authored
Oct 03, 2021
by
Kubernetes Prow Robot
Committed by
GitHub
Oct 03, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #140 from olifly/separate-reclaimpolicy-for-sc-and-pv
Separate reclaimPolicies for auto-generated StorageClass and main NFS PV
parents
ff001a12
ba68ff69
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
2 deletions
+5
-2
Chart.yaml
charts/nfs-subdir-external-provisioner/Chart.yaml
+1
-1
README.md
charts/nfs-subdir-external-provisioner/README.md
+1
-0
persistentvolume.yaml
...bdir-external-provisioner/templates/persistentvolume.yaml
+1
-1
values.yaml
charts/nfs-subdir-external-provisioner/values.yaml
+2
-0
No files found.
charts/nfs-subdir-external-provisioner/Chart.yaml
View file @
2fb90f77
...
...
@@ -3,7 +3,7 @@ appVersion: 4.0.2
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.1
3
version
:
4.0.1
4
kubeVersion
:
"
>=1.9.0-0"
sources
:
-
https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner
...
...
charts/nfs-subdir-external-provisioner/README.md
View file @
2fb90f77
...
...
@@ -71,6 +71,7 @@ The following tables lists the configurable parameters of this chart and their d
|
`nfs.path`
| Basepath of the mount point to be used |
`/nfs-storage`
|
|
`nfs.mountOptions`
| Mount options (e.g. 'nfsvers=3') | null |
|
`nfs.volumeName`
| Volume name used inside the pods |
`nfs-subdir-external-provisioner-root`
|
|
`nfs.reclaimPolicy`
| Reclaim policy for the main nfs volume used for subdir provisioning |
`Retain`
|
|
`resources`
| Resources required (e.g. CPU, memory) |
`{}`
|
|
`rbac.create`
| Use Role-based Access Control |
`true`
|
|
`podSecurityPolicy.enabled`
| Create & use Pod Security Policy resources |
`false`
|
...
...
charts/nfs-subdir-external-provisioner/templates/persistentvolume.yaml
View file @
2fb90f77
...
...
@@ -12,7 +12,7 @@ spec:
volumeMode
:
Filesystem
accessModes
:
-
{{
.Values.storageClass.accessModes
}}
persistentVolumeReclaimPolicy
:
{{
.Values.
storageClas
s.reclaimPolicy
}}
persistentVolumeReclaimPolicy
:
{{
.Values.
nf
s.reclaimPolicy
}}
storageClassName
:
"
"
{{
- if .Values.nfs.mountOptions
}}
mountOptions
:
...
...
charts/nfs-subdir-external-provisioner/values.yaml
View file @
2fb90f77
...
...
@@ -12,6 +12,8 @@ nfs:
path
:
/nfs-storage
mountOptions
:
volumeName
:
nfs-subdir-external-provisioner-root
# Reclaim policy for the main nfs volume
reclaimPolicy
:
Retain
# For creating the StorageClass automatically:
storageClass
:
...
...
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