diff --git a/kube/deploy/apps/audiobookshelf/app/volsync.yaml b/kube/deploy/apps/audiobookshelf/app/volsync.yaml index 5cf38a41..636d9d06 100644 --- a/kube/deploy/apps/audiobookshelf/app/volsync.yaml +++ b/kube/deploy/apps/audiobookshelf/app/volsync.yaml @@ -19,7 +19,7 @@ metadata: spec: sourcePVC: "audiobookshelf-config" trigger: - schedule: "0 6 * * *" + schedule: "0 22 * * *" # 6am GMT+8 restic: copyMethod: "Snapshot" pruneIntervalDays: 14 diff --git a/kube/deploy/apps/authentik/ks.yaml b/kube/deploy/apps/authentik/ks.yaml index 8328b1e2..1cf366a8 100644 --- a/kube/deploy/apps/authentik/ks.yaml +++ b/kube/deploy/apps/authentik/ks.yaml @@ -35,7 +35,7 @@ spec: path: ./kube/deploy/core/db/pg/clusters/template dependsOn: - name: 1-core-db-pg-app - - name: 1-core-storage-rook-ceph-cluster + - name: 1-core-storage-democratic-csi-local-hostpath postBuild: substitute: PG_APP_NAME: &app "authentik" @@ -43,7 +43,7 @@ spec: PG_DB_NAME: *app PG_DB_USER: *app PG_REPLICAS: "3" - PG_SC: "block" + PG_SC: "local" PG_CONFIG_VERSION: "15.2-11" PG_CONFIG_SIZE: "20Gi" # healthChecks: @@ -63,4 +63,4 @@ metadata: namespace: flux-system spec: path: ./kube/deploy/apps/authentik/redis - dependsOn: [] \ No newline at end of file + dependsOn: [] diff --git a/kube/deploy/apps/authentik/remote-cluster/hr.yaml b/kube/deploy/apps/authentik/remote-cluster/hr.yaml deleted file mode 100644 index 8ce81eae..00000000 --- a/kube/deploy/apps/authentik/remote-cluster/hr.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -apiVersion: helm.toolkit.fluxcd.io/v2beta1 -kind: HelmRelease -metadata: - name: remote-cluster - namespace: ingress -spec: - chart: - spec: - chart: authentik-remote-cluster - version: 1.1.0 - sourceRef: - name: authentik - kind: HelmRepository - namespace: flux-system - values: - fullnameOverride: "authentik-remote-cluster" ---- -apiVersion: v1 -kind: Secret -type: kubernetes.io/service-account-token -metadata: - name: authentik-remote-cluster-token - namespace: ingress - annotations: - kubernetes.io/service-account.name: "authentik-remote-cluster" diff --git a/kube/deploy/apps/elk/app/pvc.yaml b/kube/deploy/apps/elk/app/pvc.yaml deleted file mode 100644 index 16f5b79f..00000000 --- a/kube/deploy/apps/elk/app/pvc.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: elk-config - namespace: default - labels: - app.kubernetes.io/name: &app elk - app.kubernetes.io/instance: *app - snapshot.home.arpa/enabled: "true" -spec: - accessModes: - - ReadWriteMany - resources: - requests: - storage: 1Gi - storageClassName: file diff --git a/kube/deploy/apps/elk/app/volsync.yaml b/kube/deploy/apps/elk/app/volsync.yaml deleted file mode 100644 index 93352424..00000000 --- a/kube/deploy/apps/elk/app/volsync.yaml +++ /dev/null @@ -1,36 +0,0 @@ ---- -apiVersion: v1 -kind: Secret -metadata: - name: elk-restic - namespace: default -type: Opaque -stringData: - RESTIC_REPOSITORY: ${SECRET_VOLSYNC_R2_REPO}/elk - RESTIC_PASSWORD: ${SECRET_VOLSYNC_PASSWORD} - AWS_ACCESS_KEY_ID: ${SECRET_VOLSYNC_R2_ID} - AWS_SECRET_ACCESS_KEY: ${SECRET_VOLSYNC_R2_KEY} ---- -apiVersion: volsync.backube/v1alpha1 -kind: ReplicationSource -metadata: - name: elk-restic - namespace: default -spec: - sourcePVC: elk-config - trigger: - schedule: "0 6 * * *" - restic: - copyMethod: Snapshot - pruneIntervalDays: 14 - repository: elk-restic - cacheCapacity: 1Gi - volumeSnapshotClassName: file - storageClassName: file - moverSecurityContext: - runAsUser: &uid 911 - runAsGroup: *uid - fsGroup: *uid - retain: - daily: 14 - within: 7d diff --git a/kube/deploy/apps/firefly/app/volsync.yaml b/kube/deploy/apps/firefly/app/volsync.yaml index 077d4369..675e0978 100644 --- a/kube/deploy/apps/firefly/app/volsync.yaml +++ b/kube/deploy/apps/firefly/app/volsync.yaml @@ -19,7 +19,7 @@ metadata: spec: sourcePVC: firefly-uploads trigger: - schedule: "0 6 * * *" + schedule: "0 22 * * *" # 6am GMT+8 restic: copyMethod: Snapshot pruneIntervalDays: 14 diff --git a/kube/deploy/apps/grocy/app/volsync.yaml b/kube/deploy/apps/grocy/app/volsync.yaml index f0ba018d..5d6f2b72 100644 --- a/kube/deploy/apps/grocy/app/volsync.yaml +++ b/kube/deploy/apps/grocy/app/volsync.yaml @@ -19,7 +19,7 @@ metadata: spec: sourcePVC: data-grocy-0 trigger: - schedule: "0 6 * * *" + schedule: "0 22 * * *" # 6am GMT+8 restic: copyMethod: Snapshot pruneIntervalDays: 14 diff --git a/kube/deploy/apps/kanidm/app/volsync.yaml b/kube/deploy/apps/kanidm/app/volsync.yaml index 5fc1796b..46c693f0 100644 --- a/kube/deploy/apps/kanidm/app/volsync.yaml +++ b/kube/deploy/apps/kanidm/app/volsync.yaml @@ -19,7 +19,7 @@ metadata: spec: sourcePVC: backup-kanidm-0 trigger: - schedule: "0 6 * * *" + schedule: "0 22 * * *" # 6am GMT+8 restic: copyMethod: Snapshot pruneIntervalDays: 14 diff --git a/kube/deploy/apps/neko/xfce/volsync.yaml b/kube/deploy/apps/neko/xfce/volsync.yaml index a28b9836..2c7cf425 100644 --- a/kube/deploy/apps/neko/xfce/volsync.yaml +++ b/kube/deploy/apps/neko/xfce/volsync.yaml @@ -19,7 +19,7 @@ metadata: spec: sourcePVC: neko-xfce-home trigger: - schedule: "0 6 * * *" + schedule: "0 22 * * *" # 6am GMT+8 restic: copyMethod: Snapshot pruneIntervalDays: 14 diff --git a/kube/deploy/apps/nextcloud/app/volsync.yaml b/kube/deploy/apps/nextcloud/app/volsync.yaml index 4db36aae..59164a96 100644 --- a/kube/deploy/apps/nextcloud/app/volsync.yaml +++ b/kube/deploy/apps/nextcloud/app/volsync.yaml @@ -19,7 +19,7 @@ metadata: spec: sourcePVC: data-nextcloud-0 trigger: - schedule: "0 6 * * *" + schedule: "0 22 * * *" # 6am GMT+8 restic: copyMethod: Snapshot pruneIntervalDays: 14 diff --git a/kube/deploy/apps/paperless-ngx/app/volsync.yaml b/kube/deploy/apps/paperless-ngx/app/volsync.yaml index 3e62ef76..e87e6775 100644 --- a/kube/deploy/apps/paperless-ngx/app/volsync.yaml +++ b/kube/deploy/apps/paperless-ngx/app/volsync.yaml @@ -19,7 +19,7 @@ metadata: spec: sourcePVC: data-paperless-ngx-0 trigger: - schedule: "0 6 * * *" + schedule: "0 22 * * *" # 6am GMT+8 restic: copyMethod: Snapshot pruneIntervalDays: 14 diff --git a/kube/deploy/apps/satisfactory/app/volsync.yaml b/kube/deploy/apps/satisfactory/app/volsync.yaml index d23b8275..6b62dab3 100644 --- a/kube/deploy/apps/satisfactory/app/volsync.yaml +++ b/kube/deploy/apps/satisfactory/app/volsync.yaml @@ -19,7 +19,7 @@ metadata: spec: sourcePVC: data-satisfactory-0 trigger: - schedule: "0 6 * * *" + schedule: "0 22 * * *" # 6am GMT+8 restic: copyMethod: Snapshot pruneIntervalDays: 14 diff --git a/kube/deploy/apps/soft-serve/volsync.yaml b/kube/deploy/apps/soft-serve/volsync.yaml index 976f75c6..77cda3e5 100644 --- a/kube/deploy/apps/soft-serve/volsync.yaml +++ b/kube/deploy/apps/soft-serve/volsync.yaml @@ -19,7 +19,7 @@ metadata: spec: sourcePVC: config-soft-serve-0 # TODO: find PVC name trigger: - schedule: "0 6 * * *" + schedule: "0 22 * * *" # 6am GMT+8 restic: copyMethod: Snapshot pruneIntervalDays: 14 diff --git a/kube/deploy/apps/syncthing/user1/volsync.yaml b/kube/deploy/apps/syncthing/user1/volsync.yaml index cf301a42..fe26b3d3 100644 --- a/kube/deploy/apps/syncthing/user1/volsync.yaml +++ b/kube/deploy/apps/syncthing/user1/volsync.yaml @@ -19,7 +19,7 @@ metadata: spec: sourcePVC: user1-ceph-rbd-syncthing-${USERS_1_ID}-0 trigger: - schedule: "0 6 * * *" + schedule: "0 22 * * *" # 6am GMT+8 restic: copyMethod: Snapshot pruneIntervalDays: 14 diff --git a/kube/deploy/apps/thelounge/app/volsync.yaml b/kube/deploy/apps/thelounge/app/volsync.yaml index d4c2387a..d9f5a3d2 100644 --- a/kube/deploy/apps/thelounge/app/volsync.yaml +++ b/kube/deploy/apps/thelounge/app/volsync.yaml @@ -19,7 +19,7 @@ metadata: spec: sourcePVC: thelounge-data trigger: - schedule: "0 6 * * *" + schedule: "0 22 * * *" # 6am GMT+8 restic: copyMethod: Snapshot pruneIntervalDays: 14