File tree Expand file tree Collapse file tree 4 files changed +18
-2
lines changed Expand file tree Collapse file tree 4 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 7171| pyroscope.persistence.accessModes[ 0] | string | ` "ReadWriteOnce" ` | |
7272| pyroscope.persistence.annotations | object | ` {} ` | |
7373| pyroscope.persistence.enabled | bool | ` false ` | |
74+ | pyroscope.persistence.metastore.subPath | string | ` ".metastore" ` | |
75+ | pyroscope.persistence.shared.subPath | string | ` ".shared" ` | |
7476| pyroscope.persistence.size | string | ` "10Gi" ` | |
7577| pyroscope.podAnnotations."profiles.grafana.com/cpu.port_name" | string | ` "http2" ` | |
7678| pyroscope.podAnnotations."profiles.grafana.com/cpu.scrape" | string | ` "true" ` | |
Original file line number Diff line number Diff line change @@ -214,12 +214,12 @@ spec:
214214 {{- if $hasV2 }}
215215 - name : data
216216 mountPath : /data-shared
217- subPath : . shared
217+ subPath : {{ $values.persistence. shared.subPath }}
218218 {{- end }}
219219 {{- if $isMetastore }}
220220 - name : data
221221 mountPath : /data-metastore
222- subPath : . metastore
222+ subPath : {{ $values.persistence. metastore.subPath }}
223223 {{- end }}
224224 {{- with $values.extraVolumeMounts }}
225225 {{- toYaml . | nindent 12 }}
Original file line number Diff line number Diff line change @@ -144,6 +144,14 @@ pyroscope:
144144 # subPath: ""
145145 # existingClaim:
146146
147+ metastore :
148+ # subPath to use of the data volume for the metastore persistence.
149+ subPath : .metastore
150+
151+ shared :
152+ # subPath to use of the data volume for the shared storage used as bucket replacement.
153+ subPath : .shared
154+
147155 extraVolumes :
148156 []
149157 # - name: backup-volume
Original file line number Diff line number Diff line change 414414 ],
415415 "annotations" : {},
416416 "enabled" : false ,
417+ "metastore" : {
418+ "subPath" : " .metastore"
419+ },
420+ "shared" : {
421+ "subPath" : " .shared"
422+ },
417423 "size" : " 10Gi"
418424 },
419425 "podAnnotations" : {
You can’t perform that action at this time.
0 commit comments