|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## [4.0.0](https://github.com/camptocamp/devops-stack-module-ebs-csi-driver/compare/v3.6.0...v4.0.0) (2024-10-09) |
| 4 | + |
| 5 | + |
| 6 | +### ⚠ BREAKING CHANGES |
| 7 | + |
| 8 | +* point the Argo CD provider to the new repository ([#39](https://github.com/camptocamp/devops-stack-module-ebs-csi-driver/issues/39)) |
| 9 | + |
| 10 | +### Features |
| 11 | + |
| 12 | +* point the Argo CD provider to the new repository ([#39](https://github.com/camptocamp/devops-stack-module-ebs-csi-driver/issues/39)) ([8b9453e](https://github.com/camptocamp/devops-stack-module-ebs-csi-driver/commit/8b9453ed6f612d8374a091e3dcac02047e8843d2)) |
| 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 | + |
3 | 82 | ## [3.6.0](https://github.com/camptocamp/devops-stack-module-ebs-csi-driver/compare/v3.5.0...v3.6.0) (2024-08-29)
|
4 | 83 |
|
5 | 84 |
|
|
0 commit comments