package c_middle

const CmiiPVCTemplate = `
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: nfs-backend-log-pvc
  namespace: {{ .Namespace }}
  labels:
    cmii.type: middleware-base
    cmii.app: nfs-backend-log-pvc
    helm.sh/chart: all-persistence-volume-claims-1.1.0
    app.kubernetes.io/version: "{{ .TagVersion }}"
spec:
  storageClassName: nfs-prod-distribute
  accessModes:
    - ReadWriteMany
  volumeMode: Filesystem
  resources:
    requests:
      storage: 100Gi
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: helm-emqxs
  namespace: {{ .Namespace }}
  labels:
    cmii.type: middleware-base
    cmii.app: helm-emqxs
    helm.sh/chart: all-persistence-volume-claims-1.1.0
    app.kubernetes.io/version: "{{ .TagVersion }}"
spec:
  storageClassName: nfs-prod-distribute
  accessModes:
    - ReadWriteMany
  volumeMode: Filesystem
  resources:
    requests:
      storage: 20Gi
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: helm-mongo
  namespace: {{ .Namespace }}
  labels:
    cmii.type: middleware-base
    cmii.app: helm-mongo
    helm.sh/chart: all-persistence-volume-claims-1.1.0
    app.kubernetes.io/version: "{{ .TagVersion }}"
spec:
  storageClassName: nfs-prod-distribute
  accessModes:
    - ReadWriteMany
  volumeMode: Filesystem
  resources:
    requests:
      storage: 30Gi
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: helm-rabbitmq
  namespace: {{ .Namespace }}
  labels:
    cmii.type: middleware-base
    cmii.app: helm-rabbitmq
    helm.sh/chart: all-persistence-volume-claims-1.1.0
    app.kubernetes.io/version: "{{ .TagVersion }}"
spec:
  storageClassName: nfs-prod-distribute
  accessModes:
    - ReadWriteMany
  volumeMode: Filesystem
  resources:
    requests:
      storage: 20Gi
`
