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
f7160441
Commit
f7160441
authored
Feb 17, 2021
by
ariksidney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add pathPattern support to Helmchart
parent
0a662526
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
storageclass.yaml
...s-subdir-external-provisioner/templates/storageclass.yaml
+3
-0
values.yaml
charts/nfs-subdir-external-provisioner/values.yaml
+4
-0
No files found.
charts/nfs-subdir-external-provisioner/templates/storageclass.yaml
View file @
f7160441
...
...
@@ -17,6 +17,9 @@ allowVolumeExpansion: {{ .Values.storageClass.allowVolumeExpansion }}
reclaimPolicy
:
{{
.Values.storageClass.reclaimPolicy
}}
parameters
:
archiveOnDelete
:
"
{{
.Values.storageClass.archiveOnDelete
}}"
{{
- if .Values.storageClass.pathPattern
}}
pathPattern
:
"
{{
.Values.storageClass.pathPattern
}}"
{{
- end
}}
{{
- if .Values.nfs.mountOptions
}}
mountOptions
:
{{
- range .Values.nfs.mountOptions
}}
...
...
charts/nfs-subdir-external-provisioner/values.yaml
View file @
f7160441
...
...
@@ -35,6 +35,10 @@ storageClass:
# When set to false your PVs will not be archived by the provisioner upon deletion of the PVC.
archiveOnDelete
:
true
# 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
:
# Set access mode - ReadWriteOnce, ReadOnlyMany or ReadWriteMany
accessModes
:
ReadWriteOnce
...
...
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