From 10ca9c3d8e189a6d242bc82bc11dc80c3834edc1 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Wed, 11 Mar 2026 16:37:47 -0500 Subject: [PATCH] feat: move to local storage --- clusters/cl01tl/helm/outline/Chart.lock | 7 +++- clusters/cl01tl/helm/outline/Chart.yaml | 4 ++ clusters/cl01tl/helm/outline/values.yaml | 47 ++++++++++++------------ 3 files changed, 32 insertions(+), 26 deletions(-) diff --git a/clusters/cl01tl/helm/outline/Chart.lock b/clusters/cl01tl/helm/outline/Chart.lock index bc3660366..53a7a49b0 100644 --- a/clusters/cl01tl/helm/outline/Chart.lock +++ b/clusters/cl01tl/helm/outline/Chart.lock @@ -11,5 +11,8 @@ dependencies: - name: valkey repository: oci://harbor.alexlebens.net/helm-charts version: 0.4.0 -digest: sha256:315941cca92632a42d42fe2d98f01d3e8a18dbde1c729e466f76a446a7d93440 -generated: "2026-03-09T23:08:20.752831748Z" +- name: volsync-target + repository: oci://harbor.alexlebens.net/helm-charts + version: 0.8.0 +digest: sha256:e1f1a6ebdee3146e028c4df1762a4c60c1e62733a91e54d615190f8138be117d +generated: "2026-03-11T16:37:32.297394-05:00" diff --git a/clusters/cl01tl/helm/outline/Chart.yaml b/clusters/cl01tl/helm/outline/Chart.yaml index c05333ef5..9c7f666cb 100644 --- a/clusters/cl01tl/helm/outline/Chart.yaml +++ b/clusters/cl01tl/helm/outline/Chart.yaml @@ -33,6 +33,10 @@ dependencies: alias: valkey version: 0.4.0 repository: oci://harbor.alexlebens.net/helm-charts + - name: volsync-target + alias: volsync-target-data + version: 0.8.0 + repository: oci://harbor.alexlebens.net/helm-charts icon: https://cdn.jsdelivr.net/gh/selfhst/icons/png/outline.png # renovate: datasource=github-releases depName=outline/outline appVersion: 1.5.0 diff --git a/clusters/cl01tl/helm/outline/values.yaml b/clusters/cl01tl/helm/outline/values.yaml index 24dd0242a..d6e9cb268 100644 --- a/clusters/cl01tl/helm/outline/values.yaml +++ b/clusters/cl01tl/helm/outline/values.yaml @@ -66,30 +66,7 @@ outline: - name: REDIS_URL value: redis://outline-valkey.outline:6379 - name: FILE_STORAGE - value: s3 - - name: AWS_ACCESS_KEY_ID - valueFrom: - secretKeyRef: - name: ceph-bucket-outline - key: AWS_ACCESS_KEY_ID - - name: AWS_SECRET_ACCESS_KEY - valueFrom: - secretKeyRef: - name: ceph-bucket-outline - key: AWS_SECRET_ACCESS_KEY - - name: AWS_REGION - value: us-east-1 - - name: AWS_S3_UPLOAD_BUCKET_NAME - valueFrom: - configMapKeyRef: - name: ceph-bucket-outline - key: BUCKET_NAME - - name: AWS_S3_UPLOAD_BUCKET_URL - value: https://objects.alexlebens.dev - - name: AWS_S3_FORCE_PATH_STYLE - value: true - - name: AWS_S3_ACL - value: private + value: local - name: FILE_STORAGE_UPLOAD_MAX_SIZE value: "26214400" - name: FORCE_HTTPS @@ -142,6 +119,18 @@ outline: port: 3000 targetPort: 3000 protocol: HTTP + persistence: + data: + forceRename: outline-data + storageClass: ceph-block + accessMode: ReadWriteOnce + size: 5Gi + retain: true + advancedMounts: + main: + main: + - path: /var/lib/outline/data + readOnly: false postgres-18-cluster: mode: recovery recovery: @@ -184,3 +173,13 @@ postgres-18-cluster: # immediate: true # schedule: "0 0 0 * * *" # backupName: external +volsync-target-data: + pvcTarget: outline-data + local: + enabled: true + schedule: 50 11 * * * + remote: + enabled: false + external: + enabled: true + schedule: 50 12 * * *