Releases Β· hashicorp/hcp-terraform-operator
v2.9.2 2.9.2 (May 28, 2025)BUG FIXES:
BUG FIXES:
TFC_TLS_SKIP_VERIFY
environment variable to true
in the Deployment. [GH-600]ENHANCEMENTS:
Helm Chart
: Add the ability to configure environment variables for the Operator Deployment via operator.env
. [GH-601]DEPENDENCIES:
kube-rbac-proxy
from 0.19.0 to 0.19.1. [GH-599]BREAKING CHANGES:
AgentPool
: The new field, spec.deletionPolicy
, is set to retain
by default, which changes the previous default controller behavior when resources are deleted. The previous behavior corresponded to the destroy
deletion policy value. This change is considered safer in cases of accidental resource deletion, planned migration, or other scenarios involving the deletion of a custom resource. [GH-584]Projects
: The new field, spec.deletionPolicy
is set to retain
by default, which changes the previous default controller when projects are deleted. The previous behavior corresponded to the soft
deletion policy. This change takes into account migration and overall better management of resources. [GH-569]NOTES:
AgentPool
: The field spec.autoscaling.targetWorkspaces
is deprecated and will be removed in a future release. The motivation behind this change is that the field does not guarantee newly provisioned agents will pick up runs only for the listed workspaces. Additionally, using this field could lead to situations where agents are not scaled to process runs for unlisted workspaces. [GH-561]Module
: The field spec.destroyOnDeletion
is deprecated and will be removed in a future release. This change is motivated by the introduction of a new field, spec.deletionPolicy
, which aligns with the approach the operator uses across all other controllers. The default value of spec.deletionPolicy
is retain
, which replaces the default value false
of spec.destroyOnDeletion
. The corresponding value true
of spec.destroyOnDeletion
is replaced with destroy
in spec.deletionPolicy
. [GH-582]AgentPool
CRD has been changed. Please follow the Helm chart instructions on how to upgrade it. [GH-494]Module
CRD has been changed. Please follow the Helm chart instructions on how to upgrade it. [GH-582]Project
CRD has been changed. Please follow the Helm chart instructions on how to upgrade it. [GH-569]Workspace
CRD has been changed. Please follow the Helm chart instructions on how to upgrade it. [GH-558]BUG FIXES:
AgentPool
: Add a new scaling algorithm that accounts for speculative plans when calculating pending runs. This algorithm is compatible with HCP Terraform and TFE v202409-1 and later. [GH-561]AgentPool
: Fix an issue where, in some circumstances, a newly created CR with the autoscaling feature enabled does not update its status while handling runs. [GH-580]FEATURES:
AgentPool
: Add a new field, spec.deletionPolicy
, that specifies the behavior of the custom resource and its associated agent pool when the custom resource is deleted. [GH-584]Module
: Add a new field spec.deletionPolicy
, that specifies the behavior of a custom resource and its associated module when the custom resource is deleted. This field aims to replace spec.destroyOnDeletion
. [GH-582]Project
: Add a new field, spec.deletionPolicy
, that specifies the behavior of a custom resource and its associated project when the custom resource is deleted. [GH-569]ENHANCEMENTS:
Workspace
: Add the ability to enable auto apply for run triggers via a new optional field spec.applyRunTrigger
. This feature is available in HCP Terraform and Terraform Enterprise starting with version v202401-1. [GH-558]Workspace
: Add new fields, spec.versionControl.enableFileTriggers
, spec.versionControl.triggerPatterns
and spec.versionControl.triggerPrefixes
, which specify whether a new run should be triggered when files in the specified paths change in the connected repository. [GH-496] [GH-578]DEPENDENCIES:
k8s.io/api
from 0.31.6 to 0.32.3. [GH-586] [GH-587]k8s.io/apimachinery
from 0.31.6 to 0.32.3. [GH-586] [GH-587]k8s.io/client-go
from 0.31.6 to 0.32.3. [GH-586] [GH-587]sigs.k8s.io/controller-runtime
from 0.19.7 to 0.20.4. [GH-586]ENHANCEMENTS:
Workspace
: Add support for attaching variable sets to a workspace referenced by its name. [GH-570]DEPENDENCIES:
kube-rbac-proxy
from 0.18.2 to 0.19.0. [GH-560]github.com/hashicorp/go-tfe
from 1.71.0 to 1.76.0. [GH-566]github.com/hashicorp/go-slug
from 0.16.3 to 0.16.4. [GH-566]k8s.io/api
from 0.31.3 to 0.31.6. [GH-571]k8s.io/apimachinery
from 0.31.3 to 0.31.6. [GH-571]k8s.io/client-go
from 0.31.3 to 0.31.6. [GH-571]sigs.k8s.io/controller-runtimeg
from 0.19.2 to 0.19.7. [GH-571]NOTES:
Workspace
CRD has been changed. Please follow the Helm chart instructions on how to upgrade it. [GH-497]ENHANCEMENTS:
Workspace
: Add the ability to attach variable sets to a workspace via a new optional field spec.variableSets
. [GH-497]DEPENDENCIES:
github.com/hashicorp/go-slug
from 0.16.1 to 0.16.3. [GH-549]BREAKING CHANGES:
Helm Chart
: The customCAcertificates
value has been replaced to accept a base64-encoded CA bundle instead of a file path. This change aims to simplify the installation/upgrade workflow. [GH-516]NOTES:
Helm Chart
: The default value of operator.syncPeriod
has changed from 5 minutes to 1 hour to reduce unnecessary reconciliation. [GH-512]BUG FIXES:
Workspace
: Fix an issue where spec.agentPool
can be set even when spec.executionMode
is not set to agent
. [GH-504]Helm Chart
: Fix an issue that prevented custom CA certificates from being attached to the pod volume. The customCAcertificates
value now refers to a base64-encoded CRT bundle instead of a file path. [GH-516]ENHANCEMENTS:
Helm Chart
: Add the ability to configure affinity
and tolerations
for the Deployment of the operator. [GH-495]Helm Chart
: Add the ability to configure additional labels for the Operator pod. [GH-522]DEPENDENCIES:
kube-rbac-proxy
from 0.18.0 to 0.18.2. [GH-514] [GH-531]github.com/hashicorp/go-tfe
from 1.62.0 to 1.71.0. [GH-508] [GH-532]github.com/hashicorp/go-slug
from 0.15.2 to 0.16.1. [GH-508] [GH-519]k8s.io/api
from 0.30.3 to 0.31.3. [GH-525] [GH-527]k8s.io/apimachinery
from 0.30.3 to 0.31.3. [GH-525] [GH-526]sigs.k8s.io/controller-runtime
from 0.18.4 to 0.19.2. [GH-525]k8s.io/client-go
from 0.30.3 to 0.31.3. [GH-525] [GH-527]BREAKING CHANGES:
Workspace
: The new field, spec.deletionPolicy
, is set to retain
by default, which changes the previous default controller behavior when resources are deleted. The previous behavior corresponded to the force
deletion policy value. This change is considered safer in cases of accidental resource deletion, planned migration, or other scenarios involving the deletion of a custom resource. [GH-470]NOTES:
AgentPool
CRD has been changed. Please follow the Helm chart instructions on how to upgrade it. [GH-494]Workspace
CRD has been changed. Please follow the Helm chart instructions on how to upgrade it. [GH-470] [GH-478] [GH-481]FEATURES:
Helm Chart
: Add a new value called controllers.project.syncPeriod
to set the CLI option --project-sync-period
. [GH-479]Helm Chart
: Add a new value called controllers.module.syncPeriod
to set the CLI option --module-sync-period
. [GH-480]Module
: Add a new CLI option called --module-sync-period
to set the time interval for re-queuing Module resources once they are successfully reconciled. [GH-480]Project
: Add a new CLI option called --project-sync-period
to set the time interval for re-queuing Project resources once they are successfully reconciled. [GH-479]Workspace
: Add a new field, spec.deletionPolicy
, that specifies the behavior of the custom resource and its associated workspace when the custom resource is deleted. [GH-470]Workspace
: Add the destroy
deletion policy. The spec.allowDestroyPlan
must be set to true
for the controller to execute a destroy run. [GH-489]ENHANCEMENTS:
Helm Chart
: Add the ability to configure the creation of the RBAC role and role binding. [GH-491]AgentPool
: Update agent token reconciliation logic to reduce the number of API calls. [GH-487]AgentPool
: Add the ability to configure labels and annotations for agent deployments. [GH-494]Module
: Update reconciliation logic to proceed to the next step immediately after the configuration version is uploaded successfully and reduce delays in output fetching. [GH-482]Workspace
: Update Notifications reconciliation logic to reduce the number of API calls. [GH-477]Workspace
: Update SSH key reconciliation logic to reduce the number of API calls. [GH-478]Workspace
: Update the default project ID reconciliation logic to avoid making an API call each time a workspace object is updated. [GH-481]DEPENDENCIES:
k8s.io/api
from 0.29.4 to 0.30.3. [GH-452] [GH-466]k8s.io/apimachinery
from 0.29.4 to 0.30.3. [GH-452] [GH-456]k8s.io/client-go
from 0.29.4 to 0.30.3. [GH-452] [GH-466]sigs.k8s.io/controller-runtime
from 0.17.3 to 0.18.4. [GH-452]BUG FIXES:
Workspace
: Fix an issue where the controller fails to update CR Status when CR gets modified during the reconciliation. [GH-457]Workspace
: Fix an issue where, in some circumstances, the controller cannot properly handle the deletion event. [GH-460]ENHANCEMENTS:
Helm Chart
: Add the ability to configure the Deployment priority class. [GH-451]NOTES:
AgentPool
CRD has been changed. Please follow the Helm chart instructions on how to upgrade it. [GH-441]BUG FIXES:
Project
: Fix an issue where calls to paginated API endpoints were only fetching the first page of results. [GH-426]AgentPool
: Fix an issue where calls to paginated API endpoints were only fetching the first page of results. [GH-426]Workspace
: Fix an issue where calls to paginated API endpoints were only fetching the first page of results. [GH-426]ENHANCEMENTS:
Helm Chart
: Add the ability to configure the service account. [GH-431]AgentPool
: Add the ability to configure scale-up and scale-down autoscaling times separately via the cooldown.scaleUpSeconds
and cooldown.scaleDownSeconds
attributes, respectively. [GH-441]DEPENDENCIES:
github.com/hashicorp/go-slug
from 0.15.0 to 0.15.2. [GH-435]github.com/onsi/ginkgo/v2
from 2.16.0 to 2.19.0. [GH-415]github.com/onsi/gomega
from 1.31.1 to 1.33.1. [GH-415]NOTES:
FEATURES:
Helm
: Add a new value called controllers.agentPool.syncPeriod
to set the CLI option --agent-pool-sync-period
. [GH-421]AgentPool
: Add a new CLI option called --agent-pool-sync-period
to set the time interval for re-queuing Agent Pool resources once they are successfully reconciled. [GH-421]ENHANCEMENTS:
AgentPool
: Update reconciliation logic to reduce the number of API calls. The controller now reconciles custom resources after the cooldown period if applicable; otherwise, the default timer is applied. [GH-420]AgentPool
: The agent auroscaling logic has been updated to decrease the frequency of API calls. The controller now utilizes the List Workspaces API call with filtering based on the current run status, thereby reducing the total number of API calls needed. [GH-419]Helm Chart
: Add the ability to configure the security context of the Deployment pod and containers. [GH-432]You canβt perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4