Skip to content

feat(k8s): add cert-manager and the Barman Cloud plugin #4764

Closed

Description

@dan-petty

Problem or Motivation

CloudNativePG removes the in-tree barmanObjectStore in 1.32.0 (cloudnative-pg release-1.30 docs, docs/src/appendixes/backup_barmanobjectstore.md). The database backups of dan-petty/homelab#332 and of the Mattermost database must use the Barman Cloud plugin. The plugin needs cert-manager, and the cluster does not run cert-manager.

Proposed Solution & Architectural Design

  • cert-manager v1.21.3 (Helm, namespace cert-manager) as an Argo CD Application.
  • plugin-barman-cloud v0.15.1 (chart plugin-barman-cloud 0.8.1, which has appVersion v0.15.1, namespace cnpg-system) as an Argo CD Application. v0.16.0 (2026-11-09) is too young for the 14-day rule.
  • AppProject sourceRepos entries and destinations.
  • NetworkPolicies for both namespaces: the CNPG operator and the instance pods reach the plugin; cert-manager reaches the API server.
  • Placement rows and README text.

Target Subsystem

Kubernetes & Minikube Automation (k8s/argocd/, k8s/cert-manager/, k8s/cnpg-system/).

Existing Tool Considered

cert-manager and the CloudNativePG Barman Cloud plugin (both Apache-2.0, checked with the GitHub license API on 2026-11-11). They are the upstream path after the in-tree removal. No custom code. Rejected: a pg_dump CronJob (no WAL archive and no point-in-time recovery, which dan-petty/homelab#332 needs).

Acceptance Criteria

  • Both Applications are Synced and Healthy.
  • kubectl get crd lists the cert-manager CRDs and objectstores.barmancloud.cnpg.io.
  • The plugin Certificate is Ready.
  • The k8s row of devops ci passes.
  • Both versions are at least 14 days old at the merge.

Dependencies

None. This item does not need the store, so it can start now.

Source: #4742

Activity

  1. added
    source/agent
    on Nov 11, 2026
  2. added
    type/feature
    scope/k8s
    status/new
    value/high
    effort/medium
    on Nov 11, 2026
  3. dan-petty commented on Nov 11, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Type: type/feature. The feat prefix of the title gives the type.
    • Scope: scope/k8s. The (k8s) scope of the title gives the scope.
    • Priority: P2-Medium. It enables point-in-time recovery for databases, which dan-petty/homelab#332 depends on, but it is not a security or outage fix.
    • Value: High. It provides the only supported backup path after CloudNativePG removes the in-tree barmanObjectStore in 1.32.0.
    • Effort: Medium. It requires two Helm charts, NetworkPolicies, AppProject entries, and placement rows, but no custom code.
    • Related: feat(k8s): argo cd keeps the homelab cluster at the current release branch, with automated sync, prune and self-heal that never delete data #755, which asks for a different change. Both manage the homelab cluster via Argo CD, but dan-petty/devops-cli#755 sets up the reconciliation framework while the candidate adds two specific applications.
  4. added
    priority/p2-medium
    owner/agent
    status/in-progress
    and removed
    status/new
    on Nov 11, 2026
  5. removed
    status/in-progress
    owner/agent
    on Nov 11, 2026
  6. devops-cli-service commented on Nov 11, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-11 22:57 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p2-mediumscope/k8ssource/agenttype/featurevalue/high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions