first commit ish
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user