I am using terraform to install postgres. I try to set resource limit, disk size etc, but it's still using default value. Am I doing something wrong?
resource "helm_release" "cluster" {
name = "postgres"
repository = "https://cloudnative-pg.github.io/charts/"
chart = "cluster"
version = "cluster-v0.0.7"
set {
name = "type"
value = "postgresql"
}
set {
name ="resources.limits.cpu"
value="1"
}
set {
name ="resources.limits.memory"
value="2Gi"
}
set {
name ="resources.requests.cpu"
value="1"
}
set {
name ="resources.requests.memory"
value="2Gi"
}
set {
name ="storage.size"
value="24Gi"
}
}
I am using terraform to install postgres. I try to set resource limit, disk size etc, but it's still using default value. Am I doing something wrong?