feat(helm): add annotations support for PVCs (#1270)

Co-authored-by: Maurice <mauriceboe@icloud.com>
This commit is contained in:
Alejandro Pinar Ruiz
2026-06-20 23:23:08 +02:00
committed by GitHub
parent a8cb2e672a
commit 4a5cf3d83d
2 changed files with 10 additions and 0 deletions
+8
View File
@@ -5,6 +5,10 @@ metadata:
name: {{ include "trek.fullname" . }}-data
labels:
app: {{ include "trek.name" . }}
{{- with .Values.persistence.data.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
accessModes:
- ReadWriteOnce
@@ -21,6 +25,10 @@ metadata:
name: {{ include "trek.fullname" . }}-uploads
labels:
app: {{ include "trek.name" . }}
{{- with .Values.persistence.uploads.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
accessModes:
- ReadWriteOnce
+2
View File
@@ -100,9 +100,11 @@ persistence:
size: 1Gi
# Leave empty to use the cluster's default StorageClass; set to bind a specific class.
storageClassName: ""
annotations: {}
uploads:
size: 1Gi
storageClassName: ""
annotations: {}
resources:
requests: