Releases: camptocamp/devops-stack-module-thanos
v7.0.1
v7.0.0
7.0.0 (2024-10-09)
⚠ BREAKING CHANGES
- point the Argo CD provider to the new repository (#88)
Features
Migrate provider source oboukili
-> argoproj-labs
We've tested the procedure found here and we think the order of the steps is not exactly right. This is the procedure we recommend (note that this should be run manually on your machine and not on a CI/CD workflow):
-
First, make sure you are already using version 6.2.0 of the
oboukili/argocd
provider. -
Then, check which modules you have that are using the
oboukili/argocd
provider.
$ terraform providers
Providers required by configuration:
.
├── provider[registry.terraform.io/hashicorp/helm] 2.15.0
├── (...)
└── provider[registry.terraform.io/oboukili/argocd] 6.2.0
Providers required by state:
(...)
provider[registry.terraform.io/oboukili/argocd]
provider[registry.terraform.io/hashicorp/helm]
-
Afterwards, proceed to point *ALL the DevOps Stack modules to the versions that have changed the source on their respective requirements. In case you have other personal modules that also declare
oboukili/argocd
as a requirement, you will also need to update them. -
Also update the required providers on your root module. If you've followed our examples, you should find that configuration on the
terraform.tf
file in the root folder. -
Execute the migration via
terraform state replace-provider
:
$ terraform state replace-provider registry.terraform.io/oboukili/argocd registry.terraform.io/argoproj-labs/argocd
Terraform will perform the following actions:
~ Updating provider:
- registry.terraform.io/oboukili/argocd
+ registry.terraform.io/argoproj-labs/argocd
Changing 13 resources:
module.argocd_bootstrap.argocd_project.devops_stack_applications
module.secrets.module.secrets.argocd_application.this
module.metrics-server.argocd_application.this
module.efs.argocd_application.this
module.loki-stack.module.loki-stack.argocd_application.this
module.thanos.module.thanos.argocd_application.this
module.cert-manager.module.cert-manager.argocd_application.this
module.kube-prometheus-stack.module.kube-prometheus-stack.argocd_application.this
module.argocd.argocd_application.this
module.traefik.module.traefik.module.traefik.argocd_application.this
module.ebs.argocd_application.this
module.helloworld_apps.argocd_application.this
module.helloworld_apps.argocd_project.this
Do you want to make these changes?
Only 'yes' will be accepted to continue.
Enter a value: yes
Successfully replaced provider for 13 resources.
-
Perform a
terraform init -upgrade
to upgrade your local.terraform
folder. -
Run a
terraform plan
orterraform apply
and you should see that everything is OK and that no changes are necessary.
v6.0.0
v5.0.0
5.0.0 (2024-04-23)
⚠ BREAKING CHANGES
- eks: add option to create IAM role for the metrics storage
- This is a breaking change because the attributes of the
metrics_storage
variable has changed. Please check the README.adoc to see the differences.
- This is a breaking change because the attributes of the
Features
- eks: add option to create IAM role for the metrics storage (90f9f54)
v4.1.0
v4.0.0
4.0.0 (2024-03-01)
⚠ BREAKING CHANGES
-
chart: major update of dependencies on thanos chart
The breaking change on the Thanos chart is the activation of the NetworkPolicies by default and now the configuration is per component instead of globally.
See official information here.
On my tests, I found out that the official NetworkPolicies were blocking the access through Traefik. Since the work of activating the NetworkPolicies on the DevOps Stack modules is already on the horizon, I decided to deactivate them and keep the current behaviour of the module for the time being.
-
remove specific var and use the ServiceMonitor boolean
The variable
enable_monitoring_dashboard
introduced on the last release was removed, because on the other modules we've decided to simply deploy the dashboards automatically as long as theserviceMonitor
for the metrics is activated. So we've reverted this addition to keep the behavior of the modules consistent.
Features
- chart: major update of dependencies on thanos chart (bbd5e67)