d069fe3585
- Implemented a new module for cert-checker with Kubernetes resources including ServiceAccount, Role, RoleBinding, ConfigMap, and CronJob. - Added Python script to check certificate expiry and restart deployments if necessary. - Configured environment variables for deployment name, namespace, and service details. - Included requirements for the Python environment. feat(devolo-exporter): introduce Devolo exporter for Prometheus metrics - Created a new module for Devolo exporter with Kubernetes resources including ServiceAccount, ConfigMap, Deployment, and Service. - Developed Python scripts to scrape metrics from Devolo devices and expose them to Prometheus. - Configured environment variables for Devolo device IP, model, and ports. - Added requirements for the Python environment.
40 lines
999 B
Terraform
40 lines
999 B
Terraform
variable "tag" {
|
|
description = "The version of app to install"
|
|
type = string
|
|
default = "latest"
|
|
}
|
|
|
|
variable "shares" {
|
|
description = "Path to the shared folder on the host"
|
|
type = list(object({
|
|
name = string
|
|
path = string
|
|
comment = string
|
|
valid_users = optional(list(string), ["@smb"])
|
|
browseable = optional(bool, true)
|
|
writable = optional(bool, true)
|
|
read_only = optional(bool, false)
|
|
force_user = optional(string, "root")
|
|
force_group = optional(string, "root")
|
|
}))
|
|
}
|
|
|
|
variable "samba_username" {
|
|
description = "Username for Samba access"
|
|
type = string
|
|
default = "samba"
|
|
}
|
|
|
|
variable "samba_password" {
|
|
description = "Password for Samba access"
|
|
type = string
|
|
default = "samba"
|
|
sensitive = true
|
|
}
|
|
|
|
variable "host_port_enabled" {
|
|
description = "Enable hostPort for SMB ports (445 and 139). Useful for direct access on the node IP."
|
|
type = bool
|
|
default = false
|
|
}
|