orchestration-tests/k8s-test/services/blocky/main.tf

26 lines
393 B
Terraform
Raw Permalink Normal View History

2022-03-12 18:06:06 +00:00
locals {
2022-04-13 21:01:14 +00:00
blocky_config = file("${path.module}/config.yml")
2022-03-12 18:06:06 +00:00
}
resource "helm_release" "blocky" {
2022-04-13 21:01:14 +00:00
name = "blocky"
2022-03-12 18:06:06 +00:00
repository = "https://k8s-at-home.com/charts/"
2022-04-13 21:01:14 +00:00
chart = "blocky"
2022-03-12 18:06:06 +00:00
set {
2022-04-13 21:01:14 +00:00
name = "env.TZ"
2022-03-12 18:06:06 +00:00
value = "America/Los_Angeles"
}
set {
2022-04-13 21:01:14 +00:00
name = "metrics.enabled"
2022-03-12 18:06:06 +00:00
value = true
}
set {
2022-04-13 21:01:14 +00:00
name = "config"
value = local.blocky_config
2022-03-12 18:06:06 +00:00
}
}