Skip to content

Commit

Permalink
fix(thanos): use oci repo
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Lefevre <archi@kiln.fi>
  • Loading branch information
ArchiFleKs committed Dec 18, 2024
1 parent d9bfbc1 commit 2f5d622
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 25 deletions.
6 changes: 3 additions & 3 deletions modules/aws/thanos-memcached.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ locals {
thanos-memcached = merge(
local.helm_defaults,
{
chart = local.helm_dependencies[index(local.helm_dependencies.*.name, "memcached")].name
repository = local.helm_dependencies[index(local.helm_dependencies.*.name, "memcached")].repository
chart_version = local.helm_dependencies[index(local.helm_dependencies.*.name, "memcached")].version
chart = local.helm_dependencies[index(local.helm_dependencies.*.name, "oci://registry-1.docker.io/bitnamicharts/memcached")].name
repository = ""
chart_version = local.helm_dependencies[index(local.helm_dependencies.*.name, "oci://registry-1.docker.io/bitnamicharts/memcached")].version
name = "thanos-memcached"
namespace = local.thanos["namespace"]
enabled = false
Expand Down
8 changes: 4 additions & 4 deletions modules/aws/thanos.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ locals {
thanos = merge(
local.helm_defaults,
{
name = local.helm_dependencies[index(local.helm_dependencies.*.name, "thanos")].name
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
name = "thanos"
chart = local.helm_dependencies[index(local.helm_dependencies.*.name, "oci://registry-1.docker.io/bitnamicharts/thanos")].name
repository = ""
chart_version = local.helm_dependencies[index(local.helm_dependencies.*.name, "oci://registry-1.docker.io/bitnamicharts/thanos")].version
namespace = "monitoring"
create_iam_resources_irsa = true
iam_policy_override = null
Expand Down
6 changes: 3 additions & 3 deletions modules/google/thanos-memcached.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ locals {
thanos-memcached = merge(
local.helm_defaults,
{
chart = local.helm_dependencies[index(local.helm_dependencies.*.name, "memcached")].name
repository = local.helm_dependencies[index(local.helm_dependencies.*.name, "memcached")].repository
chart_version = local.helm_dependencies[index(local.helm_dependencies.*.name, "memcached")].version
chart = local.helm_dependencies[index(local.helm_dependencies.*.name, "oci://registry-1.docker.io/bitnamicharts/memcached")].name
repository = ""
chart_version = local.helm_dependencies[index(local.helm_dependencies.*.name, "oci://registry-1.docker.io/bitnamicharts/memcached")].version
name = "thanos-memcached"
namespace = local.thanos["namespace"]
enabled = false
Expand Down
8 changes: 4 additions & 4 deletions modules/google/thanos-receive.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ locals {
thanos-receive = merge(
local.helm_defaults,
{
name = local.helm_dependencies[index(local.helm_dependencies.*.name, "thanos")].name
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
name = "thanos"
chart = local.helm_dependencies[index(local.helm_dependencies.*.name, "oci://registry-1.docker.io/bitnamicharts/thanos")].name
repository = ""
chart_version = local.helm_dependencies[index(local.helm_dependencies.*.name, "oci://registry-1.docker.io/bitnamicharts/thanos")].version
namespace = "monitoring"
create_iam_resources = true
iam_policy_override = null
Expand Down
8 changes: 4 additions & 4 deletions modules/google/thanos.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ locals {
thanos = merge(
local.helm_defaults,
{
name = local.helm_dependencies[index(local.helm_dependencies.*.name, "thanos")].name
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
name = "thanos"
chart = local.helm_dependencies[index(local.helm_dependencies.*.name, "oci://registry-1.docker.io/bitnamicharts/thanos")].name
repository = ""
chart_version = local.helm_dependencies[index(local.helm_dependencies.*.name, "oci://registry-1.docker.io/bitnamicharts/thanos")].version
namespace = "monitoring"
create_iam_resources = true
iam_policy_override = null
Expand Down
6 changes: 3 additions & 3 deletions modules/scaleway/thanos-memcached.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ locals {
thanos-memcached = merge(
local.helm_defaults,
{
chart = local.helm_dependencies[index(local.helm_dependencies.*.name, "memcached")].name
repository = local.helm_dependencies[index(local.helm_dependencies.*.name, "memcached")].repository
chart_version = local.helm_dependencies[index(local.helm_dependencies.*.name, "memcached")].version
chart = local.helm_dependencies[index(local.helm_dependencies.*.name, "oci://registry-1.docker.io/bitnamicharts/memcached")].name
repository = ""
chart_version = local.helm_dependencies[index(local.helm_dependencies.*.name, "oci://registry-1.docker.io/bitnamicharts/memcached")].version
name = "thanos-memcached"
namespace = local.thanos["namespace"]
enabled = false
Expand Down
8 changes: 4 additions & 4 deletions modules/scaleway/thanos.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ locals {
thanos = merge(
local.helm_defaults,
{
name = local.helm_dependencies[index(local.helm_dependencies.*.name, "thanos")].name
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
name = "thanos"
chart = local.helm_dependencies[index(local.helm_dependencies.*.name, "oci://registry-1.docker.io/bitnamicharts/thanos")].name
repository = ""
chart_version = local.helm_dependencies[index(local.helm_dependencies.*.name, "oci://registry-1.docker.io/bitnamicharts/thanos")].version
namespace = "monitoring"
iam_policy_override = null
create_ns = false
Expand Down

0 comments on commit 2f5d622

Please # to comment.