---
apiVersion: v1
kind: ConfigMap
metadata:
  name: cluster-monitoring-config
  namespace: openshift-monitoring
data:
  config.yaml: |
      prometheusK8s:
        volumeClaimTemplate:
          metadata:
            name: my-prometheus-claim
          spec:
            storageClassName: csi-rbd
            resources:
              requests:
                storage: 40Gi
      alertmanagerMain:
        volumeClaimTemplate:
          metadata:
            name: my-alertmanager-claim
          spec:
            storageClassName: csi-rbd
            resources:
              requests:
                storage: 40Gi