apiVersion: v1
kind: ConfigMap
metadata:
  name: extra-storageclass
data:
  storageclass-config.yaml: |
    apiVersion: storage.k8s.io/v1
    kind: StorageClass
    metadata:
      name: index-acceleration
    mountOptions:
      - nodelalloc,noatime
    parameters:
      csi.storage.k8s.io/fstype: ext4
      iops: "3000"
      throughput: "125"
      type: gp3
      encrypted: "true"
      tagSpecification: Vendor=PingCAP
    provisioner: ebs.csi.aws.com
    allowVolumeExpansion: true
    reclaimPolicy: Delete
    volumeBindingMode: WaitForFirstConsumer
    ---
    apiVersion: storage.k8s.io/v1
    kind: StorageClass
    metadata:
      name: auditlog
    mountOptions:
      - nodelalloc,noatime
    parameters:
      csi.storage.k8s.io/fstype: ext4
      encrypted: "true"
      tagSpecification_Vendor: Vendor=PingCAP
      type: gp3
    provisioner: ebs.csi.aws.com
    allowVolumeExpansion: true
    reclaimPolicy: Delete
    volumeBindingMode: WaitForFirstConsumer
