Skip to content

Commit c2e1932

Browse files
committed
Add support for custom environmentd arguments
1 parent 97b8eac commit c2e1932

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

main.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ resource "kubernetes_manifest" "materialize_instances" {
8585
inPlaceRollout = each.value.in_place_rollout
8686
requestRollout = lookup(each.value, "request_rollout", null)
8787
forceRollout = lookup(each.value, "force_rollout", null)
88+
89+
environmentdExtraArgs = length(lookup(each.value, "environmentd_extra_args", [])) > 0 ? each.value.environmentd_extra_args : null
90+
8891
environmentdResourceRequirements = {
8992
limits = {
9093
memory = each.value.memory_limit

variables.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ variable "instances" {
7373
persist_backend_url = string
7474
license_key = optional(string)
7575
environmentd_version = optional(string, "v0.130.8")
76+
environmentd_extra_args = optional(list(string), [])
7677
cpu_request = optional(string, "1")
7778
memory_request = optional(string, "1Gi")
7879
memory_limit = optional(string, "1Gi")

0 commit comments

Comments
 (0)