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:
parent
0ebf850893
commit
87fc11121d
3 changed files with 12 additions and 17 deletions
|
|
@ -26,10 +26,8 @@ steps:
|
|||
dockerfile: cli/Dockerfile
|
||||
context: cli
|
||||
auto_tag: true
|
||||
cache_from:
|
||||
- "type=registry,ref=registry.viktorbarzin.lan:5050/infra:buildcache"
|
||||
cache_to:
|
||||
- "type=registry,ref=registry.viktorbarzin.lan:5050/infra:buildcache,mode=max"
|
||||
cache_from: "type=registry,ref=registry.viktorbarzin.lan:5050/infra:buildcache"
|
||||
cache_to: "type=registry,ref=registry.viktorbarzin.lan:5050/infra:buildcache,mode=max"
|
||||
buildkit_config: |
|
||||
[registry."registry.viktorbarzin.lan:5050"]
|
||||
http = true
|
||||
|
|
|
|||
|
|
@ -29,10 +29,8 @@ steps:
|
|||
platforms: linux/amd64
|
||||
provenance: false
|
||||
tags: latest
|
||||
cache_from:
|
||||
- "type=registry,ref=registry.viktorbarzin.lan:5050/f1-stream:buildcache"
|
||||
cache_to:
|
||||
- "type=registry,ref=registry.viktorbarzin.lan:5050/f1-stream:buildcache,mode=max"
|
||||
cache_from: "type=registry,ref=registry.viktorbarzin.lan:5050/f1-stream:buildcache"
|
||||
cache_to: "type=registry,ref=registry.viktorbarzin.lan:5050/f1-stream:buildcache,mode=max"
|
||||
buildkit_config: |
|
||||
[registry."registry.viktorbarzin.lan:5050"]
|
||||
http = true
|
||||
|
|
|
|||
|
|
@ -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" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue