Online, snapshot-consistent bundles (pg_dump at an exported snapshot, immutable objects verified by digest, MANIFEST of versions/builds/heads, SHA256SUMS); a fail-closed restore that audits every region's full history on independent storage; an isolated rebuild through clones that serves under load; an operator-run in-cluster backup streamed off the cluster. backup-check.sh runs in every PostgreSQL build, with corruption, missing-object, tampered-manifest and non-empty-target refusals. Destination, encryption, schedule and WAL archiving remain on the backlog. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
24 lines
675 B
YAML
24 lines
675 B
YAML
# Egress from migrate, store-check, region and operator backup pods to exactly the
|
|
# AEvolution PostgreSQL VM (pg-forge-01) and nothing else (ADR-0070, ADR-0074).
|
|
apiVersion: networking.k8s.io/v1
|
|
kind: NetworkPolicy
|
|
metadata:
|
|
name: aevolution-database-egress
|
|
labels:
|
|
app.kubernetes.io/part-of: aevolution
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "-2"
|
|
spec:
|
|
podSelector:
|
|
matchExpressions:
|
|
- key: app.kubernetes.io/component
|
|
operator: In
|
|
values: [migrate, store-check, region, backup]
|
|
policyTypes: [Egress]
|
|
egress:
|
|
- to:
|
|
- ipBlock:
|
|
cidr: 172.10.1.127/32
|
|
ports:
|
|
- {protocol: TCP, port: 5432}
|