Skip to content

Commit

Permalink
[kube-prometheus-stack] fix the retentionSize value
Browse files Browse the repository at this point in the history
  • Loading branch information
karloramone committed May 10, 2024
1 parent f8626ba commit ee1ca21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/kube-prometheus-stack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ name: kube-prometheus-stack
sources:
- https://github.com/prometheus-community/helm-charts
- https://github.com/prometheus-operator/kube-prometheus
version: 58.5.0
version: 58.5.1
appVersion: v0.73.2
kubeVersion: ">=1.19.0-0"
home: https://github.com/prometheus-operator/kube-prometheus
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ spec:
{{ toYaml .Values.prometheus.prometheusSpec.resources | indent 4 }}
{{- end }}
{{- if not .Values.prometheus.agentMode }}
{{- if not .Values.prometheus.prometheusSpec.retentionSize }}
retention: {{ .Values.prometheus.prometheusSpec.retention | quote }}
{{- end }}
{{- if .Values.prometheus.prometheusSpec.retentionSize }}
retentionSize: {{ .Values.prometheus.prometheusSpec.retentionSize | quote }}
{{- end }}
Expand Down

0 comments on commit ee1ca21

Please sign in to comment.