Skip to content

Commit d3caf2f

Browse files
chore: release 13.0.0 (#134)
* chore: release 13.0.0 * docs: update CHANGELOG.md * docs(terraform-docs): generate docs and write to README.adoc --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Gonçalo Heleno <33546359+lentidas@users.noreply.github.com> Co-authored-by: lentidas <lentidas@users.noreply.github.com>
1 parent f69deb2 commit d3caf2f

File tree

8 files changed

+91
-12
lines changed

8 files changed

+91
-12
lines changed

CHANGELOG.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,84 @@
11
# Changelog
22

3+
## [13.0.0](https://github.com/camptocamp/devops-stack-module-kube-prometheus-stack/compare/v12.0.0...v13.0.0) (2024-10-09)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* point the Argo CD provider to the new repository ([#133](https://github.com/camptocamp/devops-stack-module-kube-prometheus-stack/issues/133))
9+
10+
### Features
11+
12+
* point the Argo CD provider to the new repository ([#133](https://github.com/camptocamp/devops-stack-module-kube-prometheus-stack/issues/133)) ([f69deb2](https://github.com/camptocamp/devops-stack-module-kube-prometheus-stack/commit/f69deb2a68ff31972ce186970f28971e1d403179))
13+
14+
### Migrate provider source `oboukili` -> `argoproj-labs`
15+
16+
We've tested the procedure found [here](https://github.com/argoproj-labs/terraform-provider-argocd?tab=readme-ov-file#migrate-provider-source-oboukili---argoproj-labs) 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**):
17+
18+
1. First, make sure you are already using version 6.2.0 of the `oboukili/argocd` provider.
19+
20+
1. Then, check which modules you have that are using the `oboukili/argocd` provider.
21+
22+
```shell
23+
$ terraform providers
24+
25+
Providers required by configuration:
26+
.
27+
├── provider[registry.terraform.io/hashicorp/helm] 2.15.0
28+
├── (...)
29+
└── provider[registry.terraform.io/oboukili/argocd] 6.2.0
30+
31+
Providers required by state:
32+
33+
(...)
34+
35+
provider[registry.terraform.io/oboukili/argocd]
36+
37+
provider[registry.terraform.io/hashicorp/helm]
38+
```
39+
40+
3. 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.
41+
42+
4. 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.
43+
44+
5. Execute the migration via `terraform state replace-provider`:
45+
46+
```bash
47+
$ terraform state replace-provider registry.terraform.io/oboukili/argocd registry.terraform.io/argoproj-labs/argocd
48+
Terraform will perform the following actions:
49+
50+
~ Updating provider:
51+
- registry.terraform.io/oboukili/argocd
52+
+ registry.terraform.io/argoproj-labs/argocd
53+
54+
Changing 13 resources:
55+
56+
module.argocd_bootstrap.argocd_project.devops_stack_applications
57+
module.secrets.module.secrets.argocd_application.this
58+
module.metrics-server.argocd_application.this
59+
module.efs.argocd_application.this
60+
module.loki-stack.module.loki-stack.argocd_application.this
61+
module.thanos.module.thanos.argocd_application.this
62+
module.cert-manager.module.cert-manager.argocd_application.this
63+
module.kube-prometheus-stack.module.kube-prometheus-stack.argocd_application.this
64+
module.argocd.argocd_application.this
65+
module.traefik.module.traefik.module.traefik.argocd_application.this
66+
module.ebs.argocd_application.this
67+
module.helloworld_apps.argocd_application.this
68+
module.helloworld_apps.argocd_project.this
69+
70+
Do you want to make these changes?
71+
Only 'yes' will be accepted to continue.
72+
73+
Enter a value: yes
74+
75+
Successfully replaced provider for 13 resources.
76+
```
77+
78+
6. Perform a `terraform init -upgrade` to upgrade your local `.terraform` folder.
79+
80+
7. Run a `terraform plan` or `terraform apply` and you should see that everything is OK and that no changes are necessary.
81+
382
## [12.0.0](https://github.com/camptocamp/devops-stack-module-kube-prometheus-stack/compare/v11.1.1...v12.0.0) (2024-08-22)
483

584

README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Description: Override of target revision of the application chart.
120120

121121
Type: `string`
122122

123-
Default: `"v12.0.0"`
123+
Default: `"v13.0.0"`
124124

125125
==== [[input_cluster_issuer]] <<input_cluster_issuer,cluster_issuer>>
126126

@@ -425,7 +425,7 @@ Description: The admin password for Grafana.
425425
|[[input_target_revision]] <<input_target_revision,target_revision>>
426426
|Override of target revision of the application chart.
427427
|`string`
428-
|`"v12.0.0"`
428+
|`"v13.0.0"`
429429
|no
430430
431431
|[[input_cluster_issuer]] <<input_cluster_issuer,cluster_issuer>>

aks/README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Description: Override of target revision of the application chart.
118118

119119
Type: `string`
120120

121-
Default: `"v12.0.0"`
121+
Default: `"v13.0.0"`
122122

123123
==== [[input_cluster_issuer]] <<input_cluster_issuer,cluster_issuer>>
124124

@@ -437,7 +437,7 @@ object({
437437
|[[input_target_revision]] <<input_target_revision,target_revision>>
438438
|Override of target revision of the application chart.
439439
|`string`
440-
|`"v12.0.0"`
440+
|`"v13.0.0"`
441441
|no
442442

443443
|[[input_cluster_issuer]] <<input_cluster_issuer,cluster_issuer>>

eks/README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Description: Override of target revision of the application chart.
118118

119119
Type: `string`
120120

121-
Default: `"v12.0.0"`
121+
Default: `"v13.0.0"`
122122

123123
==== [[input_cluster_issuer]] <<input_cluster_issuer,cluster_issuer>>
124124

@@ -433,7 +433,7 @@ object({
433433
|[[input_target_revision]] <<input_target_revision,target_revision>>
434434
|Override of target revision of the application chart.
435435
|`string`
436-
|`"v12.0.0"`
436+
|`"v13.0.0"`
437437
|no
438438

439439
|[[input_cluster_issuer]] <<input_cluster_issuer,cluster_issuer>>

kind/README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Description: Override of target revision of the application chart.
9999

100100
Type: `string`
101101

102-
Default: `"v12.0.0"`
102+
Default: `"v13.0.0"`
103103

104104
==== [[input_cluster_issuer]] <<input_cluster_issuer,cluster_issuer>>
105105

@@ -396,7 +396,7 @@ object({
396396
|[[input_target_revision]] <<input_target_revision,target_revision>>
397397
|Override of target revision of the application chart.
398398
|`string`
399-
|`"v12.0.0"`
399+
|`"v13.0.0"`
400400
|no
401401

402402
|[[input_cluster_issuer]] <<input_cluster_issuer,cluster_issuer>>

sks/README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ Description: Override of target revision of the application chart.
240240

241241
Type: `string`
242242

243-
Default: `"v12.0.0"`
243+
Default: `"v13.0.0"`
244244

245245
==== [[input_cluster_issuer]] <<input_cluster_issuer,cluster_issuer>>
246246

@@ -542,7 +542,7 @@ object({
542542
|[[input_target_revision]] <<input_target_revision,target_revision>>
543543
|Override of target revision of the application chart.
544544
|`string`
545-
|`"v12.0.0"`
545+
|`"v13.0.0"`
546546
|no
547547
548548
|[[input_cluster_issuer]] <<input_cluster_issuer,cluster_issuer>>

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ variable "destination_cluster" {
4040
variable "target_revision" {
4141
description = "Override of target revision of the application chart."
4242
type = string
43-
default = "v12.0.0" # x-release-please-version
43+
default = "v13.0.0" # x-release-please-version
4444
}
4545

4646
variable "cluster_issuer" {

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
12.0.0
1+
13.0.0

0 commit comments

Comments
 (0)