pgo config
This commit is contained in:
parent
451e12e389
commit
4f7de70406
5 changed files with 25 additions and 25 deletions
|
@ -55,24 +55,7 @@ spec:
|
|||
schedules:
|
||||
full: "0 1 * * 0"
|
||||
differential: "0 1 * * 1-6"
|
||||
valuesFrom:
|
||||
- targetPath: backups.pgbackrest.repos.repo1.s3.bucket
|
||||
kind: ConfigMap
|
||||
name: pgo-peertube-backup-bucket-v1
|
||||
valuesKey: BUCKET_NAME
|
||||
- targetPath: backups.pgbackrest.repos.repo1.s3.endpoint
|
||||
kind: ConfigMap
|
||||
name: pgo-peertube-backup-bucket-v1
|
||||
valuesKey: BUCKET_HOST
|
||||
- targetPath: backups.pgbackrest.repos.repo1.s3.region
|
||||
kind: ConfigMap
|
||||
name: pgo-peertube-backup-bucket-v1
|
||||
valuesKey: BUCKET_REGION
|
||||
- targetPath: objstoreConfig.config.access_key
|
||||
kind: Secret
|
||||
name: pgo-peertube-backup-bucket-v1
|
||||
valuesKey: AWS_ACCESS_KEY_ID
|
||||
- targetPath: objstoreConfig.config.secret_key
|
||||
kind: Secret
|
||||
name: pgo-peertube-backup-bucket-v1
|
||||
valuesKey: AWS_SECRET_ACCESS_KEY
|
||||
s3:
|
||||
bucket: "pgo-peertube-backup-v1"
|
||||
endpoint: "rook-ceph-rgw-ceph-objectstore.rook-ceph.svc"
|
||||
region: ""
|
||||
|
|
17
kubernetes/apps/peertube/peertube/redis/ks.yaml
Normal file
17
kubernetes/apps/peertube/peertube/redis/ks.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
# yaml-language-server: $schema=https://ks.hsn.dev/kustomize.toolkit.fluxcd.io/kustomization_v1.json
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: cluster-apps-redis-peertube
|
||||
namespace: flux-system
|
||||
spec:
|
||||
path: ./kubernetes/apps/peertube/peertube/redis/peertube
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: valinor
|
||||
wait: false
|
||||
interval: 30m
|
||||
retryInterval: 1m
|
||||
timeout: 15m
|
|
@ -26,16 +26,16 @@ spec:
|
|||
data:
|
||||
s3.conf: |
|
||||
[global]
|
||||
repo1-s3-key={{ .minio_crunchy_postgres_access_key }}
|
||||
repo1-s3-key-secret={{ .minio_crunchy_postgres_secret_key }}
|
||||
repo1-s3-key={{ .pgo_crunchy_postgres_access_key }}
|
||||
repo1-s3-key-secret={{ .pgo_crunchy_postgres_secret_key }}
|
||||
|
||||
dataFrom:
|
||||
- extract:
|
||||
key: minio
|
||||
key: pgo-s3-creds
|
||||
rewrite:
|
||||
- regexp:
|
||||
source: "[-]"
|
||||
target: "_"
|
||||
- regexp:
|
||||
source: "(.*)"
|
||||
target: "minio_$1"
|
||||
target: "pgo_$1"
|
||||
|
|
Reference in a new issue