Skip to content

Commit

Permalink
chart
Browse files Browse the repository at this point in the history
Signed-off-by: Francois Marceau <[email protected]>
  • Loading branch information
clarifai-fmarceau committed May 30, 2024
1 parent 998a77e commit 4639442
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bitnami/thanos/templates/receive/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -309,11 +309,13 @@ spec:
- name: data
emptyDir: {}
{{- else if and .Values.receive.persistence.enabled (not .Values.receive.persistence.existingClaim) }}
{{- if semverCompare ">=1.23-0" (include "common.capabilities.kubeVersion" .) -}}
{{- if .Values.receive.persistentVolumeClaimRetentionPolicy.enabled }}
persistentVolumeClaimRetentionPolicy:
whenDeleted: {{ .Values.receive.persistentVolumeClaimRetentionPolicy.whenDeleted }}
whenScaled: {{ .Values.receive.persistentVolumeClaimRetentionPolicy.whenScaled }}
{{- end }}
{{- end }}
volumeClaimTemplates:
- metadata:
name: data
Expand Down
2 changes: 2 additions & 0 deletions bitnami/thanos/templates/ruler/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -288,11 +288,13 @@ spec:
- name: data
emptyDir: {}
{{- else if and .Values.ruler.persistence.enabled (not .Values.ruler.persistence.existingClaim) }}
{{- if semverCompare ">=1.23-0" (include "common.capabilities.kubeVersion" .) -}}
{{- if .Values.ruler.persistentVolumeClaimRetentionPolicy.enabled }}
persistentVolumeClaimRetentionPolicy:
whenDeleted: {{ .Values.ruler.persistentVolumeClaimRetentionPolicy.whenDeleted }}
whenScaled: {{ .Values.ruler.persistentVolumeClaimRetentionPolicy.whenScaled }}
{{- end }}
{{- end }}
volumeClaimTemplates:
- metadata:
name: data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,11 +330,13 @@ spec:
- name: data
emptyDir: {}
{{- else if and $.Values.storegateway.persistence.enabled (not $.Values.storegateway.persistence.existingClaim) }}
{{- if semverCompare ">=1.23-0" (include "common.capabilities.kubeVersion" $) -}}
{{- if $.Values.storegateway.persistentVolumeClaimRetentionPolicy.enabled }}
persistentVolumeClaimRetentionPolicy:
whenDeleted: {{ $.Values.storegateway.persistentVolumeClaimRetentionPolicy.whenDeleted }}
whenScaled: {{ $.Values.storegateway.persistentVolumeClaimRetentionPolicy.whenScaled }}
{{- end }}
{{- end }}
volumeClaimTemplates:
- metadata:
name: data
Expand Down
2 changes: 2 additions & 0 deletions bitnami/thanos/templates/storegateway/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -285,11 +285,13 @@ spec:
- name: data
emptyDir: {}
{{- else if and .Values.storegateway.persistence.enabled (not .Values.storegateway.persistence.existingClaim) }}
{{- if semverCompare ">=1.23-0" (include "common.capabilities.kubeVersion" .) -}}
{{- if .Values.storegateway.persistentVolumeClaimRetentionPolicy.enabled }}
persistentVolumeClaimRetentionPolicy:
whenDeleted: {{ .Values.storegateway.persistentVolumeClaimRetentionPolicy.whenDeleted }}
whenScaled: {{ .Values.storegateway.persistentVolumeClaimRetentionPolicy.whenScaled }}
{{- end }}
{{- end }}
volumeClaimTemplates:
- metadata:
name: data
Expand Down

0 comments on commit 4639442

Please sign in to comment.