mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-24 20:42:05 +03:00
db9ec58f5d
Also updated the way secrets are generated with Terraform and some code cleanup
16 lines
435 B
HCL
16 lines
435 B
HCL
resource "kubernetes_persistent_volume_claim" "docker_data" {
|
|
metadata {
|
|
name = "${var.twentycrm_app_name}-docker-data-pvc"
|
|
namespace = kubernetes_namespace.twentycrm.metadata.0.name
|
|
}
|
|
spec {
|
|
access_modes = ["ReadWriteOnce"]
|
|
resources {
|
|
requests = {
|
|
storage = var.twentycrm_docker_data_pvc_requests
|
|
}
|
|
}
|
|
volume_name = kubernetes_persistent_volume.docker_data.metadata.0.name
|
|
}
|
|
}
|