fix: use plain string for cache_from/cache_to and fix caretta helm_release

- cache_from/cache_to must be plain strings, not YAML lists — the
  plugin-docker-buildx treats them as single string values and the
  Woodpecker settings layer was splitting comma-separated list items
  into separate --cache-from flags (type=registry and ref=... separately)
- caretta.tf: replace deprecated set{} blocks with values=[yamlencode()]
  to fix Terraform plan error with newer Helm provider
This commit is contained in:
Viktor Barzin 2026-02-28 18:47:20 +00:00
parent 0ebf850893
commit 87fc11121d
3 changed files with 12 additions and 17 deletions

View file

@ -7,15 +7,14 @@ resource "helm_release" "caretta" {
chart = "caretta"
version = "0.0.16"
set {
name = "grafana.enabled"
value = "false"
}
set {
name = "victoria-metrics-single.enabled"
value = "false"
}
values = [yamlencode({
grafana = {
enabled = false
}
victoria-metrics-single = {
enabled = false
}
})]
}
resource "kubernetes_service" "caretta_metrics" {