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
819f6d38
Commit
819f6d38
authored
Mar 04, 2021
by
mustache1up
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add onDelete support to helm chart
parent
487b9092
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
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/templates/storageclass.yaml
View file @
819f6d38
...
@@ -20,6 +20,9 @@ parameters:
...
@@ -20,6 +20,9 @@ parameters:
{{
- if .Values.storageClass.pathPattern
}}
{{
- if .Values.storageClass.pathPattern
}}
pathPattern
:
"
{{
.Values.storageClass.pathPattern
}}"
pathPattern
:
"
{{
.Values.storageClass.pathPattern
}}"
{{
- end
}}
{{
- end
}}
{{
- if .Values.storageClass.onDelete
}}
onDelete
:
"
{{
.Values.storageClass.onDelete
}}"
{{
- end
}}
{{
- if .Values.nfs.mountOptions
}}
{{
- if .Values.nfs.mountOptions
}}
mountOptions
:
mountOptions
:
{{
- range .Values.nfs.mountOptions
}}
{{
- range .Values.nfs.mountOptions
}}
...
...
charts/nfs-subdir-external-provisioner/values.yaml
View file @
819f6d38
...
@@ -35,6 +35,11 @@ storageClass:
...
@@ -35,6 +35,11 @@ storageClass:
# When set to false your PVs will not be archived by the provisioner upon deletion of the PVC.
# When set to false your PVs will not be archived by the provisioner upon deletion of the PVC.
archiveOnDelete
:
true
archiveOnDelete
:
true
# If it exists and has a delete value, delete the directory, if it exists and has a 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.
# Specifies a template for creating a directory path via PVC metadata's such as labels, annotations, name or namespace.
# Ignored if value not set.
# Ignored if value not set.
pathPattern
:
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