first commit ish

This commit is contained in:
Nils Blomgren
2026-06-04 08:51:22 +02:00
parent e0f967482e
commit 658f15d086
320 changed files with 307404 additions and 1187 deletions

View File

@@ -83,6 +83,19 @@ public class CnpgCluster
/// </summary>
public int RetentionDays { get; set; } = 30;
/// <summary>
/// Maximum number of completed Backup CRs to keep in Kubernetes. When exceeded
/// during a cleanup, the oldest completed backups are deleted from K8s and the DB.
/// Does not affect WAL archiving or Barman's own retention — use RetentionDays for that.
/// </summary>
public int MaxBackups { get; set; } = 20;
/// <summary>
/// True when the cluster was registered from an existing CNPG deployment (not provisioned by EntKube).
/// Delete should offer "Unregister" (remove from EntKube only) in addition to full deletion.
/// </summary>
public bool IsExternal { get; set; }
/// <summary>
/// Current lifecycle status of the cluster.
/// </summary>