Skip to content

Releases: argoproj-labs/terraform-provider-argocd

v6.1.1

28 Mar 09:34
cbea711
Compare
Choose a tag to compare

What's Changed

Fixed provider to ensure that port forwarding configuration works correctly.

Changelog

  • cbea711 fix(provider): ensure ServerName and PortForwardNamespace are set on ClientOptions when port forwarding (#378)

Contributors

v6.1.0

24 Mar 20:45
b52be23
Compare
Choose a tag to compare

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
    • feat: add support for ignore_application_differences (#357)
    • feat: add support for path_param_prefix to git generator (#336)
    • feat: add applications_sync to application set sync policies (#337)

Changelog

  • b52be23 Fix go version in release workflow and bump step versions (#377)
  • ea02a51 Add ignore_application_differences to argocd_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

06 Sep 07:34
d7bdd4d
Compare
Choose a tag to compare

What's Changed

Changelog

  • d7bdd4d fix(argocd_application_set): don't force new resource when adding/removing match_expressions (#330) (#331)

Contributors

v6.0.2

06 Aug 07:31
bbd315a
Compare
Choose a tag to compare

What's Changed

  • Ensure ClientCertFile is correctly configured when use_local_config = true (#325)

Changelog

  • bbd315a Fix ClientCertFile when using local config (#325)

Contributors

v6.0.1

28 Jul 18:07
a1d2840
Compare
Choose a tag to compare

What's Changed

  • Ensure use_local_config is correctly applied and validated on provider config (#321)

Changelog

  • a1d2840 fix: ensure use_local_config is correctly applied and validated (#321)

Contributors

v6.0.0

26 Jul 08:27
08682d2
Compare
Choose a tag to compare

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. use data.argocd_application.this.status.reconciled_at instead of data.argocd_application.this.status.0.reconciled_at

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

04 Jul 14:13
2b0a48e
Compare
Choose a tag to compare

What's Changed

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

09 Jun 11:43
49e347e
Compare
Choose a tag to compare

What's Changed

  • argocd_application
    • Add support for ignoreMissingValueFiles helm application parameter (#292)
    • Add support for Helm file parameters (#293)
    • Add read-only status attribute (#295)
    • Add support for managed namespace metadata (#299)
  • argocd_repository
    • Prevent permanent diff on argocd_repository with inherited credentials (#296)
      • ⚠️ Consumers who make use of the argocd_repository resource in conjunction with underlying repository credentials that are configured with a username/password will need to update to the latest patch versions of ArgoCD (2.5.18, 2.6.9 or 2.7.4) to avoid a permanent diff being introduced on the username attribute.
  • argocd_cluster
    • Prevent permanent diff on sensitive cluster attributes (#298)
    • Ensure remote state for non-sensitive tls_client_config is tracked (#298)
  • 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

v5.4.0

27 May 07:39
13c2baa
Compare
Choose a tag to compare

What's Changed

Warning
The argocd_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 not Sources 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 and invalid 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

07 May 13:29
2b17103
Compare
Choose a tag to compare

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 and config_context_cluster (#268)
    • Dropped unused kubernetes configuration options: config_paths and config_path (#268)
    • Mark server_addr as optional (#268)
  • argocd_application
    • Add support for multiple application sources (#262)
    • Add pass_credentials to argocd_application.spec.source.helm (#271)
    • Fix crash on 2.7.x due to use of List to read applications (#273)
  • 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
    • Fixed description of provider.context (#268)
    • Improved descriptions for port forwarding configuration (#268)
    • Enhanced overview and added examples of different provider configurations (#268)

Changelog

  • 2b17103 Fix locking on resources during Terraform actions (#263)
  • 33775f3 Fix crash on 2.7.x due to use of List to read applications (#273)
  • 89a6cff Enhanced/improved provider configuration options and documentation (#268)
  • 8e40130 Add pass_credentials to argocd_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