From 98f0cd3bb8f4801a07104cf45f58f450cfb8b04b Mon Sep 17 00:00:00 2001 From: prettysunflower Date: Mon, 30 Jun 2025 09:12:09 -0400 Subject: [PATCH] apps(znc): Moved storage to seaweedfs-storage --- apps/znc/pvc.yaml | 38 +++----------------------------------- apps/znc/statefulset.yaml | 2 +- 2 files changed, 4 insertions(+), 36 deletions(-) diff --git a/apps/znc/pvc.yaml b/apps/znc/pvc.yaml index 3536d54..9dd1ce7 100644 --- a/apps/znc/pvc.yaml +++ b/apps/znc/pvc.yaml @@ -1,43 +1,11 @@ apiVersion: v1 -kind: PersistentVolume -metadata: - name: znc-pv -spec: - storageClassName: s3yuyuko - capacity: - storage: 5G - accessModes: - - ReadWriteOnce - claimRef: - namespace: default - name: znc-yuyuko-pvc - csi: - driver: ru.yandex.s3.csi - controllerPublishSecretRef: - name: csi-yuyuko-secret - namespace: kube-system - nodePublishSecretRef: - name: csi-yuyuko-secret - namespace: kube-system - nodeStageSecretRef: - name: csi-yuyuko-secret - namespace: kube-system - volumeAttributes: - capacity: 5G - mounter: s3fs-fuse - options: --memory-limit 1000 --dir-mode 0777 --file-mode 0666 -o allow_other --uid 1000 --gid 1000 - volumeHandle: znc-pv ---- -apiVersion: v1 kind: PersistentVolumeClaim metadata: - name: znc-yuyuko-pvc + name: znc-pvc spec: accessModes: - ReadWriteOnce - storageClassName: s3yuyuko resources: requests: - storage: 5G - volumeMode: Filesystem - volumeName: znc-pv \ No newline at end of file + storage: 5Gi + storageClassName: seaweedfs-storage \ No newline at end of file diff --git a/apps/znc/statefulset.yaml b/apps/znc/statefulset.yaml index 360a629..084c573 100644 --- a/apps/znc/statefulset.yaml +++ b/apps/znc/statefulset.yaml @@ -18,7 +18,7 @@ spec: volumes: - name: znc-config persistentVolumeClaim: - claimName: znc-yuyuko-pvc + claimName: znc-pvc containers: - name: znc image: znc:1.10.0