CloudNativePG 1.30 deprecates spec.backup.barmanObjectStore and 1.31 removes
it, so the pin on 1.30.0 was a hard gate. This closes that gate:
- Vendors plugin-barman-cloud v0.16.0 verbatim into
infrastructure/databases/base/upstream/ (the operator manifest's pattern),
with a kustomize patch only for --log-level=info and resource bounds.
v0.16.0 requires CNPG >= 1.30 and is registered through Service
annotations; its operator<->plugin mTLS pair comes from cert-manager
(previous commit).
- Adds ObjectStore sirius-growth/portal-wal: the literal translation of the
retired barmanObjectStore block, with retentionPolicy 14d moved off the
Cluster (in the plugin, retention belongs to the store).
- Cluster portal drops spec.backup entirely and gains spec.plugins
(barman-cloud.cloudnative-pg.io, isWALArchiver, barmanObjectName
portal-wal, serverName portal). The server name is the barman prefix, so
the plugin keeps writing s3://pg-wal-archive/portal/{base,wals}/... — the
same objects the in-tree archiver left behind; the 14-day window stays
readable.
- ScheduledBackup portal-daily switches to method: plugin.
- databases waits on cert-manager; apps waits on databases (the ObjectStore
CRD ships with the plugin).
- CNPG dashboard: the backup timestamp metric family changes name under the
plugin, so the panel now accepts both.
29 lines
895 B
YAML
29 lines
895 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
resources:
|
|
- namespace.yaml
|
|
- deployment.yaml
|
|
- deployment-api.yaml
|
|
- deployment-portal.yaml
|
|
- deployment-blog.yaml
|
|
- deployment-portal-gate.yaml
|
|
- configmap-portal-gate.yaml
|
|
- service.yaml
|
|
- service-api.yaml
|
|
- service-portal.yaml
|
|
- service-blog.yaml
|
|
- service-portal-gate.yaml
|
|
- httproute.yaml
|
|
# The WAL archive store must exist before the Cluster references it.
|
|
- objectstore-portal-wal.yaml
|
|
- cluster.yaml
|
|
- scheduled-backup.yaml
|
|
- podmonitor.yaml
|
|
- pvc-leadgen.yaml
|
|
- cronjob-leadgen.yaml
|
|
- cronjob-leadgen-ncda.yaml
|
|
# exec-only RBAC so forgejo/cluster-backup can pg_dump this namespace's CNPG
|
|
# cluster (portal) without copying a database password across namespaces.
|
|
- backup-exec-rbac.yaml
|
|
# Snapshot mirror of the lead-gen capture PVC to the Linode.
|
|
- leadgen-backup.yaml
|