feat(coder-pg): wire barman-cloud plugin + daily backup #3

Merged
k.renner merged 1 commits from coder-migration into master 2026-04-24 18:18:09 +00:00
Owner

Summary

  • CNPG instance manager blocks on Unknown plugin: barman-cloud.cloudnative-pg.io when a Cluster omits the plugin — cert loading never happens, pod stuck 0/1.
  • Match the house pattern: plugin declaration + ObjectStore + daily ScheduledBackup + barman-cloud-creds (copied from authentik-db, same Garage creds).

Test plan

  • coder-pg reaches 2/2 Ready
  • First backup arrives in s3://k8s-cnpg/coder-pg on Garage
  • Coder HelmRelease installs and Coder pod passes OIDC init

🤖 Generated with Claude Code

## Summary - CNPG instance manager blocks on `Unknown plugin: barman-cloud.cloudnative-pg.io` when a Cluster omits the plugin — cert loading never happens, pod stuck 0/1. - Match the house pattern: plugin declaration + ObjectStore + daily ScheduledBackup + barman-cloud-creds (copied from authentik-db, same Garage creds). ## Test plan - [ ] coder-pg reaches 2/2 Ready - [ ] First backup arrives in s3://k8s-cnpg/coder-pg on Garage - [ ] Coder HelmRelease installs and Coder pod passes OIDC init 🤖 Generated with [Claude Code](https://claude.com/claude-code)
k.renner added 1 commit 2026-04-24 18:18:09 +00:00
The CNPG instance manager's reconcile loop blocks on "Unknown plugin:
barman-cloud.cloudnative-pg.io" when a Cluster omits a plugin declaration,
which in turn prevents TLS cert loading on the status endpoint and leaves
the pod stuck 0/1 Ready.

Match the house pattern (authentik-db, paperless-db, immich-db):

- Declare the plugin in Cluster spec with barmanObjectName: coder-pg-store
- ObjectStore coder-pg-store → s3://k8s-cnpg/coder-pg on Garage (nas-1)
- Daily base backup at 02:30 UTC with immediate first backup
- barman-cloud-creds reused from authentik-db (same Garage creds,
  namespace rewritten to coder)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
k.renner merged commit 72e7e432c8 into master 2026-04-24 18:18:09 +00:00
Sign in to join this conversation.