fix(snips): remove Cloudflare bucket
All checks were successful
Renovate / renovate (push) Successful in 22s

This commit is contained in:
Peter 2024-05-07 13:51:08 +02:00
parent 4b248743ce
commit af861d8d92
Signed by: prskr
GPG key ID: F56BED6903BC5E37
7 changed files with 45 additions and 5 deletions

View file

@ -0,0 +1,8 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: garage
resources:
- resources/job.migrate.yaml
- resources/secret.rclone.yaml

View file

@ -0,0 +1,33 @@
---
apiVersion: batch/v1
kind: Job
metadata:
name: sync-garage-snips
namespace: garage
spec:
ttlSecondsAfterFinished: 100
template:
spec:
containers:
- name: rclone
image: rclone/rclone
args:
- sync
- -P
- --update
- --no-update-modtime
- --no-update-dir-modtime
- --ignore-errors
- -s3-upload-concurrency 64
- -v
- r2:backup/snips
- garage:backup/snips
volumeMounts:
- name: rclone-config
mountPath: /config/rclone
restartPolicy: Never
volumes:
- name: rclone-config
secret:
secretName: rclone-config
defaultMode: 420

Binary file not shown.

View file

@ -1,2 +1 @@
secret.*.yaml filter=age diff=age merge=age -text secret.*.yaml filter=age diff=age merge=age -text
litestream.yml filter=age diff=age merge=age -text

Binary file not shown.

Binary file not shown.

View file

@ -29,12 +29,12 @@ spec:
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: snips-secrets name: snips-secrets
key: r2-access-key key: garage-access-key
- name: LITESTREAM_SECRET_ACCESS_KEY - name: LITESTREAM_SECRET_ACCESS_KEY
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: snips-secrets name: snips-secrets
key: r2-secret-key key: garage-secret-key
containers: containers:
- name: snips - name: snips
image: snips image: snips
@ -91,12 +91,12 @@ spec:
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: snips-secrets name: snips-secrets
key: r2-access-key key: garage-access-key
- name: LITESTREAM_SECRET_ACCESS_KEY - name: LITESTREAM_SECRET_ACCESS_KEY
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: snips-secrets name: snips-secrets
key: r2-secret-key key: garage-secret-key
readinessProbe: readinessProbe:
httpGet: httpGet:
path: /metrics path: /metrics