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
23c664fd
Commit
23c664fd
authored
Jun 02, 2021
by
Robin Elfrink
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chart: Add option to set nfs root volume name.
Signed-off-by:
Robin Elfrink
<
robin.elfrink@eu.equinix.com
>
parent
5e1b3429
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
3 deletions
+5
-3
Chart.yaml
charts/nfs-subdir-external-provisioner/Chart.yaml
+1
-1
README.md
charts/nfs-subdir-external-provisioner/README.md
+1
-0
deployment.yaml
...nfs-subdir-external-provisioner/templates/deployment.yaml
+2
-2
values.yaml
charts/nfs-subdir-external-provisioner/values.yaml
+1
-0
No files found.
charts/nfs-subdir-external-provisioner/Chart.yaml
View file @
23c664fd
...
...
@@ -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
0
version
:
4.0.1
1
kubeVersion
:
"
>=1.9.0-0"
sources
:
-
https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner
...
...
charts/nfs-subdir-external-provisioner/README.md
View file @
23c664fd
...
...
@@ -70,6 +70,7 @@ The following tables lists the configurable parameters of this chart and their d
|
`nfs.server`
| Hostname of the NFS server (required) | null (ip or hostname) |
|
`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`
|
|
`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/deployment.yaml
View file @
23c664fd
...
...
@@ -44,7 +44,7 @@ spec:
image
:
"
{{
.Values.image.repository
}}:{{
.Values.image.tag
}}"
imagePullPolicy
:
{{
.Values.image.pullPolicy
}}
volumeMounts
:
-
name
:
nfs-subdir-external-provisioner-root
-
name
:
{{
.Values.nfs.volumeName
}}
mountPath
:
/persistentvolumes
env
:
-
name
:
PROVISIONER_NAME
...
...
@@ -62,7 +62,7 @@ spec:
{{
toYaml . | indent 12
}}
{{
- end
}}
volumes
:
-
name
:
nfs-subdir-external-provisioner-root
-
name
:
{{
.Values.nfs.volumeName
}}
{{
- if .Values.buildMode
}}
emptyDir
:
{}
{{
- else if .Values.nfs.mountOptions
}}
...
...
charts/nfs-subdir-external-provisioner/values.yaml
View file @
23c664fd
...
...
@@ -11,6 +11,7 @@ nfs:
server
:
path
:
/nfs-storage
mountOptions
:
volumeName
:
nfs-subdir-external-provisioner-root
# 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