Files
zeekay eb99749a25 cmd/replicate: fold zapdb-replicate native streaming-replication tool
ZapDB has native streaming Backup(w, since) + Load(r). The standalone
luxfi/zapdb-replicate repo was duplicate scaffolding. Sidecar daemon
+ restore init-container now live here under cmd/replicate/.

Pre-fold lineage: standalone repo at luxfi/zapdb-replicate; final
commit there c13a738 (deps Go 1.26.4 bump). No history was merged;
small repo, clean copy.
2026-06-07 13:23:46 -07:00

23 lines
791 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "zapdb-replicate.fullname" . }}
labels:
{{- include "zapdb-replicate.labels" . | nindent 4 }}
data:
config.yaml: |
databases:
- path: {{ .Values.dbPath }}
network: {{ .Values.network }}
replicas:
- type: s3
endpoint: {{ .Values.s3.endpoint }}
bucket: {{ .Values.s3.bucket }}
prefix: {{ .Values.s3.prefix }}
region: {{ .Values.s3.region }}
age-recipients: {{ .Values.age.recipientsPath }}
age-key: {{ .Values.age.identityPath }}
interval: {{ .Values.schedule.interval }}
full-snapshot-every: {{ .Values.schedule.fullSnapshotEvery }}
cache-bytes: {{ .Values.schedule.cacheBytes }}