Skip to content

Commit

Permalink
fix: add backup retention
Browse files Browse the repository at this point in the history
Mainly to get rid of the always changing to null values
  • Loading branch information
argoyle committed Nov 30, 2023
1 parent d04bea0 commit e6e0119
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 e6e0119

Please sign in to comment.