{{- if .Values.policies.monitoring.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ template "openebs.fullname" . }}-prometheus-tunables
  labels:
    app: {{ template "openebs.name" . }}
    chart: {{ template "openebs.chart" . }}
    release: {{ .Release.Name }}
    heritage: {{ .Release.Service }}
    component: prometheus-tunables
data:
  storage-retention: 24h
{{- end }}
