4.0.0 (2024-10-09)
- point the Argo CD provider to the new repository (#44)
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.
3.9.0 (2024-10-07)
- rules: remove LonghornVolumeActualSpaceUsedWarning (8d17364)
3.8.0 (2024-09-04)
- move recurring jobs to their own resources (4a441d2)
- remove attribute causing issues when bootstrapping cluster (57c311d)
3.7.0 (2024-08-20)
3.6.0 (2024-06-18)
3.5.0 (2024-04-16)
- upgrade OAuth Proxy image version (6e6ce6f)
- fix upgrade check which was broken by the chart v1.6.0 (72d6223)
3.4.0 (2024-03-01)
3.3.1 (2024-03-01)
- remove legacy ingress annotations (c1613f6)
3.3.0 (2024-02-23)
- add a subdomain variable (0515a54)
- make subdomain variable non-nullable (9e98d8c)
- remove annotation for the redirection middleware (a1ed297)
3.2.1 (2024-01-26)
3.2.0 (2024-01-26)
- add automatic filesystem trim feature using recurringjob (8c3647c)
- add variable for additional alerts labels (9dbf9aa)
3.1.0 (2024-01-25)
3.0.0 (2024-01-19)
- hardcode the release name to remove the destination cluster
- remove the ArgoCD namespace variable
- remove the namespace variable
- change the default cluster issuer (c09df57)
- hardcode the release name to remove the destination cluster (1759d38)
- remove the ArgoCD namespace variable (2893a68)
- remove the namespace variable (841175e)
2.3.0 (2023-10-19)
- add standard variables and variable to add labels to Argo CD app (8ec1b98)
- add variables to set AppProject and destination cluster (74d6627)
- update OAuth2-Proxy version (a817040)
2.2.0 (2023-08-23)
- parameterize backup and replicas settings and tweak default values (9ba0c11)
2.1.1 (2023-08-09)
2.1.0 (2023-07-19)
2.0.0 (2023-07-11)
- add support to oboukili/argocd v5 (#6)