Skip to content

Releases: sparkfabrik/terraform-sparkfabrik-prometheus-stack

4.0.0

31 May 13:44
0a744af
Compare
Choose a tag to compare

Compare with previous version

⚠️ BREAKING CHANGES ⚠️

In the previous version, if the prometheus_adapter_chart_version variable was set, the module enabled the Prometheus Adapter installation. This behavior has been changed. Now, to enable the Prometheus Adapter installation, you must set the prometheus_adapter_enabled variable to true. The prometheus_adapter_chart_version variable is now optional and is used if you want to specify a different chart version from the default one. Remember that the shipped chart values are specific to the default chart version.

If you are not using the Prometheus Adapter (you do not specify the prometheus_adapter_chart_version variable in your configuration), you can safely ignore this breaking change.

If you receive the following error message during the upgrade:

cannot patch "kube-prometheus-stack-prometheus-node-exporter" with kind DaemonSet: DaemonSet.apps "kube-prometheus-stack-prometheus-node-exporter" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app.kubernetes.io/instance":"kube-prometheus-stack", "app.kubernetes.io/name":"prometheus-node-exporter"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable

you can delete the DaemonSet (kubectl delete daemonsets kube-prometheus-stack-prometheus-node-exporter) resource and apply the changes again. The helm release will recreate the DaemonSet resource with the correct selector. The only drawback is that you will lose the metrics collected by the DaemonSet during the downtime.

Added

  • Add the default versions for prometheus_stack_chart_version and prometheus_adapter_chart_version variables. These values indicate the default chart version to use and the reference to the shipped chart values.
  • Add the prometheus_adapter_enabled variable to enable or disable the Prometheus Adapter installation.

3.0.0

30 Nov 15:47
01aeed1
Compare
Choose a tag to compare

Compare with previous version

Changed

  • refs platform/#2586: the prometheus_stack_additional_values and prometheus_adapter_additional_values variables are now lists of strings instead of a single string. This allows to pass multiple values to the chart.
  • The kubernetes resources are now created using the v1 version.
  • The template_file data sources are replaced with templatefile function calls.

Added

  • The versions.tf file is now present in the module root directory.

2.1.0

13 Jun 08:25
cd54564
Compare
Choose a tag to compare
Merge pull request #13 from sparkfabrik/task/0000_add_grafana_admin_u…

2.0.0

29 May 13:29
97f482c
Compare
Choose a tag to compare
Merge pull request #12 from sparkfabrik/task/2244_Update_prometheus-s…

1.1.0

07 Sep 10:56
764b4ea
Compare
Choose a tag to compare

First stable release

11 Feb 13:16
8dc618b
Compare
Choose a tag to compare
Merge pull request #8 from sparkfabrik/feature/1158_module_refactoring

refs sparkfabrik-innovation-team/board#1158: module refactoring