From ab4f1290fe913ab3422786f0e848253039d94f07 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Mon, 9 Oct 2023 17:53:56 +0200 Subject: [PATCH] Add roudncube pvc --- kustomize/kustomization.yaml | 2 +- kustomize/roundcube-volume.yaml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 kustomize/roundcube-volume.yaml 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