mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-25 21:13:01 +03:00
16 lines
419 B
Terraform
16 lines
419 B
Terraform
|
resource "kubernetes_persistent_volume_claim" "server" {
|
||
|
metadata {
|
||
|
name = "${local.twentycrm_app_name}-server-pvc"
|
||
|
namespace = kubernetes_namespace.twentycrm.metadata.0.name
|
||
|
}
|
||
|
spec {
|
||
|
access_modes = ["ReadWriteOnce"]
|
||
|
resources {
|
||
|
requests = {
|
||
|
storage = local.twentycrm_server_pvc_requests
|
||
|
}
|
||
|
}
|
||
|
volume_name = kubernetes_persistent_volume.server.metadata.0.name
|
||
|
}
|
||
|
}
|