41 lines
1011 B
Terraform
41 lines
1011 B
Terraform
|
|
variable "tag" {
|
||
|
|
description = "Python image tag"
|
||
|
|
type = string
|
||
|
|
default = "3.12-slim"
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "namespace" {
|
||
|
|
description = "Kubernetes namespace to deploy the prometheus exporter"
|
||
|
|
type = string
|
||
|
|
default = "prometheus"
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "persistent_folder" {
|
||
|
|
description = "The path to the persistent folder"
|
||
|
|
type = string
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "smartctl_static_version" {
|
||
|
|
description = "The smartctl static version to use"
|
||
|
|
type = string
|
||
|
|
default = "8.0-198-g34e7e4975211"
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "smartctl_sha256" {
|
||
|
|
description = "The smartctl static binary sha256 checksum (optional, leave empty if not used)"
|
||
|
|
type = string
|
||
|
|
default = "d7e779664248942bb519b254dcb49cddaec2593e192cc468254c58e64da20840"
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "check_frequency" {
|
||
|
|
description = "The frequency (in seconds) to check the disk health"
|
||
|
|
type = number
|
||
|
|
default = 600
|
||
|
|
}
|
||
|
|
|
||
|
|
variable "standby_mode" {
|
||
|
|
description = "Enable standby mode"
|
||
|
|
type = bool
|
||
|
|
default = false
|
||
|
|
}
|