Skip to content

Commit

Permalink
fix(kube-prometheus): thanos version (#2314)
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Lefevre <kevin@particule.io>
  • Loading branch information
redref and ArchiFleKs committed Sep 26, 2023
1 parent c544044 commit 7515159
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions modules/aws/kube-prometheus.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ locals {
thanos_bucket = "thanos-store-${var.cluster-name}"
thanos_bucket_force_destroy = false
thanos_store_config = null
thanos_version = "v0.31.0"
thanos_version = "v0.32.3"
enabled = false
allowed_cidrs = ["0.0.0.0/0"]
default_network_policy = true
Expand Down Expand Up @@ -204,12 +204,14 @@ grafana:
VALUES

values_thanos_sidecar = <<VALUES
prometheusOperator:
thanosImage:
tag: "${local.kube-prometheus-stack["thanos_version"]}"
prometheus:
prometheusSpec:
externalLabels:
cluster: ${var.cluster-name}
thanos:
version: "${local.kube-prometheus-stack["thanos_version"]}"
objectStorageConfig:
key: thanos.yaml
name: "${local.kube-prometheus-stack["thanos_bucket"]}-config"
Expand Down
6 changes: 4 additions & 2 deletions modules/google/kube-prometheus.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ locals {
thanos_bucket_location = ""
thanos_kms_bucket_location = ""
thanos_store_config = null
thanos_version = "v0.30.0"
thanos_version = "v0.32.3"
thanos_service_account = ""
enabled = false
allowed_cidrs = ["0.0.0.0/0"]
Expand Down Expand Up @@ -190,12 +190,14 @@ grafana:
VALUES

values_thanos_sidecar = <<VALUES
prometheusOperator:
thanosImage:
tag: "${local.kube-prometheus-stack["thanos_version"]}"
prometheus:
prometheusSpec:
externalLabels:
cluster: ${var.cluster-name}
thanos:
version: "${local.kube-prometheus-stack["thanos_version"]}"
objectStorageConfig:
key: thanos.yaml
name: "${local.kube-prometheus-stack["thanos_bucket"]}-config"
Expand Down
6 changes: 4 additions & 2 deletions modules/scaleway/kube-prometheus.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ locals {
thanos_bucket = "thanos-store-${var.cluster-name}"
thanos_bucket_region = local.scaleway["region"]
thanos_store_config = null
thanos_version = "v0.31.0"
thanos_version = "v0.32.3"
enabled = false
allowed_cidrs = ["0.0.0.0/0"]
default_network_policy = true
Expand Down Expand Up @@ -186,12 +186,14 @@ grafana:
VALUES

values_thanos_sidecar = <<VALUES
prometheusOperator:
thanosImage:
tag: "${local.kube-prometheus-stack["thanos_version"]}"
prometheus:
prometheusSpec:
externalLabels:
cluster: ${var.cluster-name}
thanos:
version: "${local.kube-prometheus-stack["thanos_version"]}"
objectStorageConfig:
key: thanos.yaml
name: "${local.kube-prometheus-stack["thanos_bucket"]}-config"
Expand Down

0 comments on commit 7515159

Please sign in to comment.