fix(snips): remove Cloudflare bucket
All checks were successful
Renovate / renovate (push) Successful in 22s
All checks were successful
Renovate / renovate (push) Successful in 22s
This commit is contained in:
parent
4b248743ce
commit
af861d8d92
7 changed files with 45 additions and 5 deletions
8
garage/migrate/kustomization.yaml
Normal file
8
garage/migrate/kustomization.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
namespace: garage
|
||||
|
||||
resources:
|
||||
- resources/job.migrate.yaml
|
||||
- resources/secret.rclone.yaml
|
33
garage/migrate/resources/job.migrate.yaml
Normal file
33
garage/migrate/resources/job.migrate.yaml
Normal 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
|
BIN
garage/migrate/resources/secret.rclone.yaml
Normal file
BIN
garage/migrate/resources/secret.rclone.yaml
Normal file
Binary file not shown.
1
snips/.gitattributes
vendored
1
snips/.gitattributes
vendored
|
@ -1,2 +1 @@
|
|||
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.
|
@ -29,12 +29,12 @@ spec:
|
|||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: snips-secrets
|
||||
key: r2-access-key
|
||||
key: garage-access-key
|
||||
- name: LITESTREAM_SECRET_ACCESS_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: snips-secrets
|
||||
key: r2-secret-key
|
||||
key: garage-secret-key
|
||||
containers:
|
||||
- name: snips
|
||||
image: snips
|
||||
|
@ -91,12 +91,12 @@ spec:
|
|||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: snips-secrets
|
||||
key: r2-access-key
|
||||
key: garage-access-key
|
||||
- name: LITESTREAM_SECRET_ACCESS_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: snips-secrets
|
||||
key: r2-secret-key
|
||||
key: garage-secret-key
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /metrics
|
||||
|
|
Loading…
Reference in a new issue