Files
alexandre.pires 826959c903 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.
2025-06-09 23:49:43 +02:00

34 lines
602 B
Terraform

terraform {
required_version = "~>1.8"
required_providers {
random = {
source = "hashicorp/random"
version = "~>3.4"
}
null = {
source = "hashicorp/null"
version = "~>3.2"
}
external = {
source = "hashicorp/external"
version = "~>2.2"
}
time = {
source = "hashicorp/time"
version = "~>0.9"
}
kubernetes = {
source = "hashicorp/kubernetes"
version = "2.36.0"
}
}
}
provider "kubernetes" {
config_path = "~/.kube/config"
config_context = "microk8s-prod-01"
insecure = true
}