Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
charts
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商店
charts
Commits
e8355055
Commit
e8355055
authored
Mar 05, 2019
by
Guangbo Chen
Committed by
Guangbo
Mar 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update nfs-provisioner to use hostpath if persistence is not set
parent
77583db8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
2 deletions
+12
-2
Chart.yaml
proposed/nfs-provisioner/latest/Chart.yaml
+1
-1
questions.yml
proposed/nfs-provisioner/latest/questions.yml
+8
-0
statefulset.yaml
proposed/nfs-provisioner/latest/templates/statefulset.yaml
+2
-1
values.yaml
proposed/nfs-provisioner/latest/values.yaml
+1
-0
No files found.
proposed/nfs-provisioner/latest/Chart.yaml
View file @
e8355055
...
...
@@ -3,7 +3,7 @@ appVersion: 1.0.9
description
:
nfs-server-provisioner is an out-of-tree dynamic provisioner for Kubernetes. You can use it to quickly & easily deploy shared storage that works almost anywhere.
name
:
nfs-provisioner
icon
:
file://../nfs-logo.png
version
:
0.2.
1
version
:
0.2.
2
maintainers
:
-
name
:
kiall
email
:
kiall@macinnes.ie
...
...
proposed/nfs-provisioner/latest/questions.yml
View file @
e8355055
...
...
@@ -101,3 +101,11 @@ questions:
description
:
"
If
undefined
or
null,
uses
the
default
StorageClass.
Default
to
null"
type
:
storageclass
label
:
Default StorageClass for nfs-server-provisionner
-
variable
:
persistence.hostPath
default
:
"
/srv"
description
:
"
for
GKE
uses
/home/kubernetes/nfs/
instead,
custom
nfs
host
path
read
and
write
permission
are
required,
default
to
/srv"
type
:
string
label
:
NFS Host Path
required
:
true
show_if
:
"
persistence.enabled=false"
group
:
"
Persistent
Storage"
proposed/nfs-provisioner/latest/templates/statefulset.yaml
View file @
e8355055
...
...
@@ -85,7 +85,8 @@ spec:
{{
- if not .Values.persistence.enabled
}}
volumes
:
-
name
:
data
emptyDir
:
{}
hostPath
:
path
:
{{
.Values.persistence.hostPath
}}
{{
- end
}}
{{
- if .Values.persistence.enabled
}}
...
...
proposed/nfs-provisioner/latest/values.yaml
View file @
e8355055
...
...
@@ -37,6 +37,7 @@ persistence:
accessMode
:
ReadWriteOnce
size
:
1Gi
hostPath
:
/srv
## 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