diff --git a/kustomize/kustomization.yaml b/kustomize/kustomization.yaml index 9501a72..336c514 100644 --- a/kustomize/kustomization.yaml +++ b/kustomize/kustomization.yaml @@ -7,6 +7,6 @@ resources: - postfix-svc.yaml - roundcube-deployment.yaml - roundcube-svc.yaml - + - roundcube-volume.yaml apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization \ No newline at end of file diff --git a/kustomize/roundcube-volume.yaml b/kustomize/roundcube-volume.yaml new file mode 100644 index 0000000..301c975 --- /dev/null +++ b/kustomize/roundcube-volume.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: roundcube-pv-claim + labels: + app: roundcube +spec: + resources: + requests: + storage: 100Mi + accessModes: + - ReadWriteOnce