From f8154810cedd023c693903db9460c78687339b74 Mon Sep 17 00:00:00 2001 From: amaury ravanel Date: Wed, 15 Jan 2025 11:24:29 +0100 Subject: [PATCH] fix(aws/thanos): update declaration to match oci naming (#3170) Signed-off-by: Amaury Ravanel Co-authored-by: Romain Guichard --- modules/aws/thanos-storegateway.tf | 6 +++--- modules/aws/thanos-tls-querier.tf | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/aws/thanos-storegateway.tf b/modules/aws/thanos-storegateway.tf index 5c3e8b193..8a59dc0e9 100644 --- a/modules/aws/thanos-storegateway.tf +++ b/modules/aws/thanos-storegateway.tf @@ -3,9 +3,9 @@ locals { thanos-storegateway = { for k, v in var.thanos-storegateway : k => merge( local.helm_defaults, { - chart = local.helm_dependencies[index(local.helm_dependencies.*.name, "thanos")].name - repository = local.helm_dependencies[index(local.helm_dependencies.*.name, "thanos")].repository - chart_version = local.helm_dependencies[index(local.helm_dependencies.*.name, "thanos")].version + chart = local.helm_dependencies[index(local.helm_dependencies.*.name, "oci://registry-1.docker.io/bitnamicharts/thanos")].name + repository = local.helm_dependencies[index(local.helm_dependencies.*.name, "oci://registry-1.docker.io/bitnamicharts/thanos")].repository + chart_version = local.helm_dependencies[index(local.helm_dependencies.*.name, "oci://registry-1.docker.io/bitnamicharts/thanos")].version name = "${local.thanos["name"]}-storegateway-${k}" create_iam_resources_irsa = true iam_policy_override = null diff --git a/modules/aws/thanos-tls-querier.tf b/modules/aws/thanos-tls-querier.tf index 4519c994c..926803769 100644 --- a/modules/aws/thanos-tls-querier.tf +++ b/modules/aws/thanos-tls-querier.tf @@ -3,9 +3,9 @@ locals { thanos-tls-querier = { for k, v in var.thanos-tls-querier : k => merge( local.helm_defaults, { - chart = local.helm_dependencies[index(local.helm_dependencies.*.name, "thanos")].name - repository = local.helm_dependencies[index(local.helm_dependencies.*.name, "thanos")].repository - chart_version = local.helm_dependencies[index(local.helm_dependencies.*.name, "thanos")].version + chart = local.helm_dependencies[index(local.helm_dependencies.*.name, "oci://registry-1.docker.io/bitnamicharts/thanos")].name + repository = local.helm_dependencies[index(local.helm_dependencies.*.name, "oci://registry-1.docker.io/bitnamicharts/thanos")].repository + chart_version = local.helm_dependencies[index(local.helm_dependencies.*.name, "oci://registry-1.docker.io/bitnamicharts/thanos")].version name = "${local.thanos["name"]}-tls-querier-${k}" enabled = false generate_cert = local.thanos["generate_ca"]