From 2657e3da764283a9e78112bca1f9c3ead1462c16 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Mon, 22 Jul 2024 21:12:17 -0400 Subject: [PATCH] add version and changelog to readme, update versions --- README.md | 7 +++++++ main.tf | 3 +++ variables.tf | 14 +++++++------- version.tf | 4 ++++ 4 files changed, 21 insertions(+), 7 deletions(-) create mode 100644 version.tf diff --git a/README.md b/README.md index 7238472..29bf325 100644 --- a/README.md +++ b/README.md @@ -1 +1,8 @@ # tfmod-prometheus + +# CHANGELOG + +* 0.0.1 -- 2024-07-22 + - updated version.tf to 0.0.1 + - included module.images in depends on helm charts + - created changelog diff --git a/main.tf b/main.tf index c436ac3..6a8aa54 100644 --- a/main.tf +++ b/main.tf @@ -41,6 +41,9 @@ locals { } resource "helm_release" "prometheus" { + depends_on = [ + module.images, + ] chart = "prometheus" name = "prometheus" namespace = local.ns diff --git a/variables.tf b/variables.tf index b3a8ffe..8d51dd0 100644 --- a/variables.tf +++ b/variables.tf @@ -26,21 +26,21 @@ variable "create_namespace" { variable "prometheus_chart_version" { description = "The version of prometheus to install into the cluster." type = string - default = "24.3.0" + default = "25.24.1" } # The `APP VERSION` of the output found while determining the chart version variable "prometheus_server_tag" { description = "The image tag of prometheus server to install into the cluster." type = string - default = "v2.46.0" + default = "v2.53.1" } # helm show values prometheus-community/prometheus | less variable "prometheus_config_reloader_tag" { description = "The image tag of the prometheus-config-reloader image." type = string - default = "v0.67.0" + default = "v0.74.0" } # The `APP VERSION` of the output: @@ -48,7 +48,7 @@ variable "prometheus_config_reloader_tag" { variable "alertmanager_tag" { description = "The image tag of the alertmanager image." type = string - default = "v0.26.0" + default = "v0.27.0" } # The `APP VERSION` of the output: @@ -56,7 +56,7 @@ variable "alertmanager_tag" { variable "kube_state_metrics_tag" { description = "The image tag of the kube-state-metrics image." type = string - default = "v2.6.0" + default = "v2.13.0" } # The `APP VERSION` of the output: @@ -64,7 +64,7 @@ variable "kube_state_metrics_tag" { variable "node_exporter_tag" { description = "The image tag of the node-exporter image." type = string - default = "v1.8.1" + default = "v1.8.2" } # The `APP VERSION` of the output: @@ -72,7 +72,7 @@ variable "node_exporter_tag" { variable "pushgateway_tag" { description = "The image tag of the pushgateway image." type = string - default = "v1.6.0" + default = "v1.9.0" } variable "rwo_storage_class" { diff --git a/version.tf b/version.tf new file mode 100644 index 0000000..d89428e --- /dev/null +++ b/version.tf @@ -0,0 +1,4 @@ +locals { + _module_name = "tfmod-prometheus" + _module_version = "0.0.1" +}