Add Nextcloud deployment and configuration
- Introduced Nextcloud module with Kubernetes resources including deployment, service, ingress, and cron job. - Configured Apache settings for Nextcloud with SSL support and compression. - Created secrets for mail and admin credentials. - Added necessary environment variables for Nextcloud configuration. - Removed unused Scaleway access and secret keys from secrets and variables. - Updated CoreDNS module to support custom host overrides. - Implemented backup bucket policies and lifecycle rules for Scaleway object storage. - Enhanced IAM policies and applications for backup and email services. - Added outputs for backup bucket and API keys.
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
variable "persistent_folder" {
|
||||
description = "The path to the persistent folder"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "tag" {
|
||||
description = "The version of the websites to install"
|
||||
type = string
|
||||
default = "30-apache"
|
||||
}
|
||||
|
||||
variable "fqdn" {
|
||||
description = "The fully qualified domain name for the Rustdesk server"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "tls_enabled" {
|
||||
description = "Enable TLS for the SFTPGo server"
|
||||
type = bool
|
||||
default = true
|
||||
}
|
||||
|
||||
variable "issuer" {
|
||||
description = "The issuer for the certificate"
|
||||
type = string
|
||||
default = "internal-ca"
|
||||
}
|
||||
|
||||
variable "db_credentials_are_secrets" {
|
||||
description = "set to true if the database credentials are secrets"
|
||||
type = bool
|
||||
default = false
|
||||
}
|
||||
|
||||
variable "app_config" {
|
||||
description = "The configuration for the SFTPGo server"
|
||||
type = object({
|
||||
mail_from = string
|
||||
mail_domain = string
|
||||
smtp_user = string
|
||||
smtp_password = string
|
||||
smtp_host = string
|
||||
admin_password = string
|
||||
db_host = string
|
||||
db_name = string
|
||||
db_user = string
|
||||
db_password = string
|
||||
smtp_port = optional(number, 465)
|
||||
smtp_secure = optional(string, "ssl")
|
||||
admin_username = optional(string, "admin")
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user