Skip to content

Commit

Permalink
fix: use r2 for kopia
Browse files Browse the repository at this point in the history
Signed-off-by: Devin Buhl <[email protected]>
  • Loading branch information
onedr0p committed Mar 17, 2024
1 parent e81331d commit c18a314
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
7 changes: 3 additions & 4 deletions kubernetes/storage/apps/default/kopia/app/externalsecret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ spec:
template:
engineVersion: v2
data:
# App
KOPIA_PASSWORD: "{{ .kopia_repo_password }}"
KOPIA_PASSWORD: "{{ .KOPIA_PASSWORD }}"
dataFrom:
- extract:
key: kopia-b2-storage
key: kopia
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/external-secrets.io/externalsecret_v1beta1.json
apiVersion: external-secrets.io/v1beta1
Expand All @@ -39,4 +38,4 @@ spec:
- key: repository.config
dataFrom:
- extract:
key: kopia-b2-storage
key: cloudflare
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"storage": {
"type": "b2",
"type": "s3",
"config": {
"bucket": "expanse-xD6942o1",
"keyID": "{{ .b2_app_key_id }}",
"key": "{{ .b2_app_key }}"
"bucket": "expanse",
"endpoint": "{{ .CLOUDFLARE_ACCOUNT_TAG }}.r2.cloudflarestorage.com",
"accessKeyID": "{{ .AWS_ACCESS_KEY_ID }}",
"secretAccessKey": "{{ .AWS_SECRET_ACCESS_KEY }}"
}
},
"caching": {
Expand Down

0 comments on commit c18a314

Please sign in to comment.