Skip to content

Commit

Permalink
Merge pull request #6 from sferatime/main
Browse files Browse the repository at this point in the history
  • Loading branch information
himaster authored Nov 20, 2024
2 parents c03dc7b + 39223c5 commit 1217251
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 26 deletions.
2 changes: 1 addition & 1 deletion app/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ maintainers:
#
# NOTE: this value is set at build time. DO NOT CHANGE.
#
version: 1.3.5
version: 1.3.6
26 changes: 1 addition & 25 deletions app/templates/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,35 +18,11 @@ metadata:
{{- toYaml $values.customLabels | nindent 4 }}
{{- end }}
spec:
storageClassName: ""
storageClassName: {{ default nfs .storageClassName | quote }}
accessModes:
- ReadWriteMany
resources:
requests:
storage: {{ .size }}

---
apiVersion: v1
kind: PersistentVolume
metadata:
name: {{ $fullname }}-{{ .name }}
labels:
application: {{ $fullname }}
{{- toYaml $values.commonLabels | nindent 4 }}
{{- if $values.customLabels }}
{{- toYaml $values.customLabels | nindent 4 }}
{{- end }}
spec:
claimRef:
namespace: {{ $namespace }}
name: {{ $fullname }}-{{ .name }}
accessModes:
- ReadWriteMany
capacity:
storage: {{ .size }}
nfs:
path: {{ .nfs.path }}
server: {{ .nfs.server }}
persistentVolumeReclaimPolicy: Delete
{{- end }}
{{- end }}

0 comments on commit 1217251

Please sign in to comment.