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:
2025-06-09 23:49:43 +02:00
parent cac269f160
commit 826959c903
41 changed files with 1186 additions and 219 deletions
+34
View File
@@ -0,0 +1,34 @@
output "backup_bucket_name" {
description = "The name of the backup bucket."
value = scaleway_object_bucket.backup.name
}
output "backup_app_api_secret_key" {
description = "The secret key for the backup API."
value = scaleway_iam_api_key.backup_app_api.secret_key
sensitive = true
}
output "backup_app_api_access_key" {
description = "The access key for the backup API."
value = scaleway_iam_api_key.backup_app_api.access_key
sensitive = true
}
output "mail_app_api_secret_key" {
description = "The secret key for the mail app API."
value = scaleway_iam_api_key.mail_app_api.secret_key
sensitive = true
}
output "sftpgo_app_api_access_key" {
description = "The access key for the SFTPGo app API."
value = scaleway_iam_api_key.sftpgo_app_api.access_key
sensitive = true
}
output "sftpgo_app_api_secret_key" {
description = "The secret key for the SFTPGo app API."
value = scaleway_iam_api_key.sftpgo_app_api.secret_key
sensitive = true
}