Skip to content

Releases: hashicorp/hcp-terraform-operator

v2.0.0

06 Nov 09:53
887b316
Compare
Choose a tag to compare

2.0.0 (November 06, 2023)

BUG FIXES:

  • Workspace: fix an issue of properly handling special characters when generating string output. [GH-289]
  • Module: fix an issue of properly handling special characters when generating string output. [GH-289]

ENHANCEMENT:

  • Helm Chart: Add the ability to configure kube-rbac-proxy image and resources. [GH-259] [GH-271]
  • AgentPool: Add the ability to use wildcard-name searches to target workspaces for autoscaling. [GH-274]
  • AgentPool: Make targetWorkspaces field optional and default to targeting all workspaces linked to an AgentPool. [GH-274]
  • AgentPool: Tweak autoscaling to take into account Planning and Applying states when computing the replica count for agents [GH-290]
  • AgentPool: Default agent pods to have a terminationGracePeriod of 15 minutes. [GH-290]

DOCS:

DEPENDENCIES:

  • Bump sigs.k8s.io/controller-runtime from 0.15.1 to 0.15.3. [GH-258] [GH-294]
  • Bump github.com/hashicorp/go-slug from 0.12.1 to 0.12.2. [GH-261]
  • Bump k8s.io/api from 0.27.5 to 0.27.7. [GH-264] [GH-292]
  • Bump k8s.io/apimachinery from 0.27.5 to 0.27.7. [GH-264] [GH-292]
  • Bump k8s.io/client-go from 0.27.5 to 0.2776. [GH-264] [GH-292]
  • Bump kube-rbac-proxy image from 0.14.2 to 0.14.4. [GH-271] [GH-281]
  • Bump golang.org/x/net from 0.14.0 to 0.17.0. [GH-272]
  • Bump golang.org/x/sys from 0.11.0 to 0.13.0. [GH-272]
  • Bump golang.org/x/term from 0.11.0 to 0.13.0. [GH-272]
  • Bump golang.org/x/text from 0.12.0 to 0.13.0. [GH-272]
  • Bump github.com/hashicorp/go-tfe from 1.32.1 to 1.35.0. [GH-273]
  • Bump github.com/onsi/gomega from 1.28.1 to 1.29.0. [GH-291]
  • Bump github.com/go-logr/logr from 1.2.4 to 1.3.0. [GH-293]

Community Contributors 🙌

v2.0.0-beta8

29 Aug 09:09
f2326f2
Compare
Choose a tag to compare

2.0.0-beta8 (August 29, 2023)

BUG FIXES:

  • AgentPool: fix an issue when plan_queued and apply_queued statuses do not trigger agent scaling. [GH-215]
  • Helm Chart: fix an issue with the Deployment template in the Helm chart where name in path spec.template.spec.containers[0] was duplicated. [GH-216]
  • Workspace: fix an issue when the Operator panics when spec.executionMode is configured as agent but spec.agentPool is not set which is mandatory in this case. [GH-242]
  • Workspace: fix an issue when a new Workspace is successfully created, but its status.WorkspaceID status fails to update with a new Workspace ID due to an error during subsequent reconciliation. Consequently, the Workspace controller continuously encounters failures while attempting to reconcile the newly created Workspace. [GH-234]

ENHANCEMENT:

  • Operator: Add the ability to skip TLS certificate validation for communication between the Operator and the TFC/E endpoint. A new environment variable TFC_TLS_SKIP_VERIFY should be set to true to skip the validation. Default: false. [GH-222]
  • Helm Chart: Add a new parameter operator.skipTLSVerify to configure the ability to skip TLS certificate validation for communication between the Operator and the TFC/E endpoint. Default: false. [GH-222]
  • Workspace: Add spec.Tags validation to align with the TFC requirement. [GH-234]

DEPENDENCIES:

  • Bump github.com/hashicorp/go-tfe from 1.29.0 to 1.32.1. [GH-218] [GH-247]
  • Bump github.com/hashicorp/go-slug from 0.11.1 to 0.12.1. [GH-219] [GH-247]
  • Bump github.com/onsi/gomega from 1.27.8 to 1.27.10. [GH-247]
  • Bump go.uber.org/zap from 1.24.0 to 1.25.0. [GH-247]
  • Bump k8s.io/api from 0.27.3 to 0.27.5. [GH-247] [GH-252]
  • Bump k8s.io/apimachinery from 0.27.3 to 0.27.5. [GH-247] [GH-252]
  • Bump k8s.io/client-go from 0.27.3 to 0.27.5. [GH-247] [GH-252]
  • Bump sigs.k8s.io/controller-runtime from 0.15.0 to 0.15.1. [GH-247]
  • Bump kube-rbac-proxy image from 0.13.1 to 0.14.2. [GH-251]
  • Bump github.com/onsi/ginkgo/v2 from 2.11.0 to 2.12.0. [GH-254]

v2.0.0-beta7

07 Jul 08:44
239b014
Compare
Choose a tag to compare

2.0.0-beta7 (July 07, 2023)

NOTES:

  • Helm Chart: the Helm chart version is synced to the Terraform Cloud Operator version. [GH-204]

BUG FIXES:

  • Operator: fix an issue when the operator couldn't be run on the amd64 platform. [GH-203]

ENHANCEMENT:

  • Helm Chart: operator.image.tag defaults to .Chart.AppVersion. [GH-204]
  • Workspace: add event filtering to reduce the number of unnecessary reconciliations. [GH-194]
  • AgentPool: add autoscaling field to allow configuration of a basic autoscaler for agent deployments based on pending runs. [GH-198]
  • Workspace: add Terraform version utilized in the Workspace to the status: status.TerraformVersion. [GH-206]

DOCS:

DEPENDENCIES:

  • Bump k8s.io/api from 0.27.2 to 0.27.3. [GH-195]
  • Bump k8s.io/apimachinery from 0.27.2 to 0.27.3. [GH-195]
  • Bump k8s.io/client-go from 0.27.2 to 0.27.3. [GH-195]
  • Bump github.com/onsi/ginkgo/v2 from 2.9.5 to 2.11.0. [GH-197]
  • Bump github.com/onsi/gomega from 1.27.7 to 1.27.8. [GH-197]
  • Bump github.com/hashicorp/go-tfe from 1.23.0 to 1.29.0. [GH-205]

v2.0.0-beta6

23 Jun 19:08
60f4901
Compare
Choose a tag to compare

2.0.0-beta6 (June 23, 2023)

NOTES:

  • Operator: the Operator no longer includes the global option --config. [GH-185]
  • Helm Chart: the Helm chart no longer includes the ConfigMap manager-config as it has been removed. [GH-185]
  • Helm Chart: the Helm chart now allows configuration of custom CA bundles [GH-173]

ENHANCEMENT:

  • Module: the Run now adopts the apply method of the Workspace in which it is executed. If the apply method is set to 'manual', the Run will remain on hold until it receives manual approval or rejection for the application or cancellation of the Run. [GH-170]
  • Module: add a new field spec.name that allows modifying the name of the module that is generated by the Operator. Default: this. [GH-172]
  • Workspace: mark fields .status.ObservedGeneration, .status.UpdateAt, and .status.runStatus.configurationVersion as optional. [GH-186]
  • Workspace: add an extra validation during the reconciliation to exit if the object contains the v1 finalizer finalizer.workspace.app.terraform.io. [GH-186]

DEPENDENCIES:

  • Bump github.com/go-logr/zapr from 1.2.3 to 1.2.4. [GH-185]
  • Bump github.com/onsi/ginkgo/v2 from 2.9.4 to 2.9.5. [GH-185]
  • Bump github.com/onsi/gomega from 1.27.6 to 1.27.7. [GH-185]
  • Bump k8s.io/api from 0.26.3 to 0.27.2. [GH-185]
  • Bump k8s.io/apimachinery from 0.26.3 to 0.27.2. [GH-185]
  • Bump k8s.io/client-go from 0.26.3 to 0.27.2. [GH-185]
  • Bump sigs.k8s.io/controller-runtime from 0.14.6 to 0.15.0. [GH-185]