Skip to content

Commit

Permalink
Merge pull request #66 from opzkit/backup-retention
Browse files Browse the repository at this point in the history
fix: add backup retention
  • Loading branch information
argoyle authored Nov 30, 2023
2 parents d04bea0 + e6e0119 commit 10ca696
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions k8s.tf
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,12 @@ resource "kops_cluster" "k8s" {
encrypted_volume = true
}
}

manager {
backup_retention_days = var.backup_retention
listen_metrics_ur_ls = []
log_level = 0
}
}
}

Expand Down
6 changes: 6 additions & 0 deletions vars.tf
Original file line number Diff line number Diff line change
Expand Up @@ -262,3 +262,9 @@ variable "control_plane_prefix" {
default = "control-plane"
description = "Prefix of control plane instance groups"
}

variable "backup_retention" {
type = number
default = 90
description = "Backup retention of etcd data in days"
}

0 comments on commit 10ca696

Please sign in to comment.