File tree 4 files changed +15
-2
lines changed
4 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -93,12 +93,14 @@ and their default values.
93
93
| ` nodeSelector ` | Node labels for pod assignment | ` {} ` |
94
94
| ` tolerations ` | List of node taints to tolerate | ` [] ` |
95
95
| ` persistence.accessMode ` | PVC Access Mode for Verdaccio volume | ` ReadWriteOnce ` |
96
+ | ` persistence.annotations ` | Annotations to add to the PVC | ` {} ` |
96
97
| ` persistence.enabled ` | Enable persistence using PVC | ` true ` |
97
98
| ` persistence.existingClaim ` | Use existing PVC | ` nil ` |
98
99
| ` persistence.mounts ` | Additional mounts | ` nil ` |
100
+ | ` persistence.resourcePolicy ` | Set "keep" to avoid removing PVC during a helm delete operation | ` "" ` |
101
+ | ` persistence.selector ` | Selector to match an existing Persistent Volume | ` {} ` (evaluated as a template) |
99
102
| ` persistence.size ` | PVC Storage Request for Verdaccio volume | ` 8Gi ` |
100
103
| ` persistence.storageClass ` | PVC Storage Class for Verdaccio volume | ` nil ` |
101
- | ` persistence.selector ` | Selector to match an existing Persistent Volume | ` {} ` (evaluated as a template) |
102
104
| ` persistence.volumes ` | Additional volumes | ` nil ` |
103
105
| ` topologySpreadConstraints ` | Topology Spread Constraints for pod assignment | ` [] ` |
104
106
| ` podLabels ` | Additional pod labels | ` {} ` (evaluated as a template) |
Original file line number Diff line number Diff line change 1
1
apiVersion : v2
2
2
description : A lightweight private node.js proxy registry
3
3
name : verdaccio
4
- version : 4.20 .0
4
+ version : 4.21 .0
5
5
appVersion : 6.0.0
6
6
home : https://verdaccio.org
7
7
icon : https://cdn.verdaccio.dev/logos/default.png
Original file line number Diff line number Diff line change @@ -3,6 +3,13 @@ kind: PersistentVolumeClaim
3
3
apiVersion : v1
4
4
metadata :
5
5
name : {{ template "verdaccio.fullname" . }}
6
+ annotations :
7
+ {{- range $key, $value := .Values.persistence.annotations }}
8
+ {{ $key }}: {{ $value | quote }}
9
+ {{- end }}
10
+ {{- if eq .Values.persistence.resourcePolicy "keep" }}
11
+ helm.sh/resource-policy : keep
12
+ {{- end }}
6
13
labels :
7
14
{{- include "verdaccio.labels" . | nindent 4 }}
8
15
spec :
Original file line number Diff line number Diff line change @@ -214,6 +214,10 @@ persistence:
214
214
215
215
accessMode : ReadWriteOnce
216
216
size : 8Gi
217
+ annotations : {}
218
+ # Set it to "keep" to avoid removing PVC during a helm delete operation.
219
+ # Leaving it empty will delete PVC after the chart has been deleted.
220
+ resourcePolicy : " "
217
221
# # selector can be used to match an existing PersistentVolume
218
222
# # selector:
219
223
# # matchLabels:
You can’t perform that action at this time.
0 commit comments