Skip to content

Commit

Permalink
Merge pull request #99 from helxplatform/develop
Browse files Browse the repository at this point in the history
Publish retention feature
  • Loading branch information
waTeim authored Jan 8, 2024
2 parents 67e23d3 + 638b589 commit 8ce4dcc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ description: A Helm chart for Kubernetes
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 4.0.0
version: 4.1.0
# This is the version number of the application being deployed. This version
# number should be incremented each time you make changes to the application.
appVersion: 3.3.0
Expand Down
6 changes: 5 additions & 1 deletion templates/user-storage-pvc.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{{- if eq .Values.userStorage.createPVC true }}
{{- if .Values.userStorage.createPVC }}
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ .Values.global.stdnfsPvc }}
labels:
{{- include "appstore.labels" . | nindent 4 }}
{{- if .Values.userStorage.retain }}
annotations:
"helm.sh/resource-policy": "keep"
{{- end }}
spec:
accessModes:
- ReadWriteMany
Expand Down
1 change: 1 addition & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ userStorage:
# -- Create a PVC for user's files. If false then the PVC needs to be created
# outside of the appstore chart.
createPVC: true
retain: true
storageSize: 10Gi
storageClass:
nfs:
Expand Down

0 comments on commit 8ce4dcc

Please sign in to comment.