feat(cert-checker): add Kubernetes resources for certificate checking functionality
- 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.
This commit is contained in:
@@ -4,9 +4,19 @@ variable "tag" {
|
||||
default = "latest"
|
||||
}
|
||||
|
||||
variable "shared_folder" {
|
||||
variable "shares" {
|
||||
description = "Path to the shared folder on the host"
|
||||
type = string
|
||||
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" {
|
||||
@@ -21,3 +31,9 @@ variable "samba_password" {
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user