Releases: argoproj-labs/terraform-provider-argocd
v6.1.1
v6.1.0
This release is long overdue and can largely be categorised as "death by a thousand paper cuts". Finally it is out the door. 🎉
Thank you all for your patience - particularly to those who have contributed to this release and have been waiting for their efforts to be published. 🙏
What's Changed
argocd_application
- fix: don't flatten spec.info if list is empty (#349)
argocd_application_set
Changelog
- b52be23 Fix go version in release workflow and bump step versions (#377)
- ea02a51 Add
ignore_application_differences
toargocd_application_set
resource (#357) - 23a4432 build(deps): Bump github.com/go-jose/go-jose/v3 from 3.0.1 to 3.0.3 (#371)
- f15e494 build(deps): Bump github.com/cloudflare/circl from 1.3.3 to 1.3.7 (#364)
- 3becec8 build(deps): Bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#358)
- b684013 fix: Add DiffSuppressFunc on argocd_cluster.server (#353)
- 0155fb7 build(deps): Bump github.com/argoproj/argo-cd/v2 from 2.8.3 to 2.8.8 (#365)
- 5ac63fc build(deps): Bump github.com/go-git/go-git/v5 from 5.7.0 to 5.11.0 (#361)
- b519f37 build(deps): Bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1 (#355)
- 18ca584 build(deps): Bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.42.0 to 0.46.0 (#351)
- 9438664 fix(argocd_application): don't flatten
spec.info
if list is empty (#349) - b42b922 build(deps): bump versions in release workflow (#347)
- b75506c build(deps): Bump golang.org/x/net from 0.11.0 to 0.17.0 (#340)
- 1f84b3c Add applications sync to application set sync policies (#337)
- d84d091 feat(argocd_application_set): Add support for pathParamPrefix (#336)
- 5aad18e build(deps): bump github.com/argoproj/argo-cd/v2 from 2.6.7 to 2.6.15 (#335)
Contributors
v6.0.3
What's Changed
argocd_application_set
- Don't force new
argocd_application_set
resource when adding/removingmatch_expressions
(#331)
- Don't force new
Changelog
- d7bdd4d fix(argocd_application_set): don't force new resource when adding/removing match_expressions (#330) (#331)
Contributors
v6.0.2
What's Changed
- Ensure
ClientCertFile
is correctly configured whenuse_local_config = true
(#325)
Changelog
Contributors
- @marcelobartsch
- @onematchfox
v6.0.1
What's Changed
- Ensure
use_local_config
is correctly applied and validated on provider config (#321)
Changelog
Contributors
v6.0.0
Breaking Changes
The provider no longer supports Terraform versions <1.x
as we now make use of the terraform-plugin-framework
has been introduced, and the provider has been upgraded to make use of Terraform Plugin Protocol Version 6. Consumers must make use of Terraform >=1.x
when using the provider. This change also introduced some changes to the validation of the provider configuration, which may result in some existing configuration combinations being flagged as invalid. Known changes are listed below but feel free to reach out if you have any other issues.
- Remove
server_addr
configuration when any of the following attributes are set:port_forward
,port_forward_with_namespace
,use_local_config
,core
. E.g:provider "argocd" { - server_addr = "foo" use_local_config = true # context = "foo" # Use explicit context from ArgoCD config instead of `current-context`. }
What's Changed
- Implement provider using
terraform-plugin-framework
and upgrade to TF Plugin Protocol Version V6 (#301) - New resources:
- New data sources:
argocd_application
(#302)- Note: this data source has been implemented using features exposed by Terraform Plugin Protocol Version 6, so accessing attributes on the data source will differ slightly compared to the
argocd_application
resource. E.g. usedata.argocd_application.this.status.reconciled_at
instead ofdata.argocd_application.this.status.0.reconciled_at
- Note: this data source has been implemented using features exposed by Terraform Plugin Protocol Version 6, so accessing attributes on the data source will differ slightly compared to the
Changelog
- 08682d2 Add
argocd_gpg_key
resource (#315) - cced478 Add
argocd_application
data source (#302) - 6ae499d build(deps): bump k8s.io/kubernetes from 1.24.14 to 1.24.15 (#316)
- aeeb731 Implement provider using
terraform-plugin-framework
and upgrade to TF Plugin Protocol Version V6 (#301)
Contributors
v5.6.0
What's Changed
argocd_project
- Add support for timezone in sync window (#314)
argocd_cluster
- Fix failure to updating cluster exec provider config (#307)
Changelog
- 2b0a48e fix(cluster): don't cast attributes when loading from state (#307)
- e6eff84 Add support for timezone in sync window (#314)
- aaf4a18 build(deps): bump k8s.io/kubernetes from 1.24.2 to 1.24.14 (#305)
Contributors
v5.5.0
What's Changed
argocd_application
argocd_repository
- Prevent permanent diff on
argocd_repository
with inherited credentials (#296)⚠️ Consumers who make use of theargocd_repository
resource in conjunction with underlying repository credentials that are configured with ausername
/password
will need to update to the latest patch versions of ArgoCD (2.5.18
,2.6.9
or2.7.4
) to avoid a permanent diff being introduced on theusername
attribute.
- Prevent permanent diff on
argocd_cluster
- Refactor error handling (#291)
Changelog
- 49e347e feat(argocd_application): add read-only
status
attribute (#295) - ce561fa feat(argocd_application): add support for managed namespace metadata (#299)
- a6b8f70 fix: prevent permanent diff on sensitive cluster attributes (#298)
- 2bdbf5c Prevent permanent diff on
argocd_repository
with inherited credentials (#296) - f54c0dc fix(project_token): ensure correct token is deleted (#294)
- 6e7334d feat(argocd_application): add support for Helm file parameters (#293)
- 591b7d7 Add support for
ignoreMissingValueFiles
helm application parameter (#292) - 97892c3 Refactor error handling (#291)
Contributors
- @onematchfox
- @B3ns44d made their first contribution in #292
v5.4.0
What's Changed
argocd_application
- Fixed issues introduced with support for multiple source applications (#289)
- Add support for "Helm value files from external Git repository" (#280)
- Introduced two new resources:
Warning
Theargocd_application_set
resource is a large and very complex resource within ArgoCD itself. Whilst we have made every attempt to ensure that it works within the context of the provider, given the complexity of the resource, there is a high chance of issues or missed configuration. Treat with caution, expect issues and feel free to report any bugs/problems or, even better, submit a PR with fixes 😄
Changelog
- 13c2baa Populate
Source
notSources
for single source applications (#289) - f5c1dce Add new resource
argocd_application_set
(#278) - 38a00f8 Add support for "Helm value files from external Git repository" (#280)
- ac65e67 Add new resource
argocd_account_token
(#281) - e369a6d build: add
answered
andinvalid
labels to Stale issues check (#285) - 1749050 Automatically close stale issues (#276)
- abf9b62 build(deps): bump github.com/docker/distribution from 2.8.1+incompatible to 2.8.2+incompatible (#275)
Contributors
v5.3.0
What's Changed
provider
- Add support for logging in to ArgoCD Core deployment (see
core
) (#268) - Implemented
kubernetes
configuration options:config_context
,config_context_auth_info
andconfig_context_cluster
(#268) - Dropped unused
kubernetes
configuration options:config_paths
andconfig_path
(#268) - Mark
server_addr
as optional (#268)
- Add support for logging in to ArgoCD Core deployment (see
argocd_application
argocd_cluster
- Prevent duplicate clusters ending up in Terraform state (#264)
argocd_project
- Fix locking during create/update (#263)
argocd_project_token
- Ensure lock is released when failing to delete token (#263)
argocd_repository
- Fix error message when failing to create repository (#263)
- Documentation
Changelog
- 2b17103 Fix locking on resources during Terraform actions (#263)
- 33775f3 Fix crash on
2.7.x
due to use ofList
to read applications (#273) - 89a6cff Enhanced/improved provider configuration options and documentation (#268)
- 8e40130 Add
pass_credentials
toargocd_application.spec.source.helm
(#271) - fa86a9b Add support for multiple application sources (#262)
- 60b7ad0 Drop use of pointers on clients (#265)
- cb8528d Prevent duplicate clusters ending up in Terraform state (#264)
Contributors
- @onematchfox
- @oboukili
- @duncan485 made their first contribution in #271