Skip to content

Commit

Permalink
v2.5.0 (#437)
Browse files Browse the repository at this point in the history
  • Loading branch information
arybolovlev authored Jul 9, 2024
1 parent 93cde67 commit c0f6bf1
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 32 deletions.
20 changes: 20 additions & 0 deletions .changes/2.5.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## 2.5.0 (July 09, 2024)

NOTES:

* In upcoming releases, we shall proceed with renaming this project to HCP Terraform Operator for Kubernetes or simply HCP Terraform Operator. This measure is necessary in response to the recent announcement of [The Infrastructure Cloud](https://www.hashicorp.com/blog/introducing-the-infrastructure-cloud). The most noticeable change you can expect in version 2.6.0 is the renaming of this repository and related resources, such as the Helm chart and Docker Hub names. Please follow the changelogs for updates.

FEATURES:

* `Helm`: Add a new value called `controllers.agentPool.syncPeriod` to set the CLI option `--agent-pool-sync-period`. [[GH-421](https://github.com/hashicorp/terraform-cloud-operator/pull/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](https://github.com/hashicorp/terraform-cloud-operator/pull/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](https://github.com/hashicorp/terraform-cloud-operator/pull/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](https://github.com/hashicorp/terraform-cloud-operator/pull/419)]
* `Helm Chart`: Add the ability to configure the security context of the Deployment pod and containers. [[GH-432](https://github.com/hashicorp/terraform-cloud-operator/pull/432)]

## Community Contributors :raised_hands:

- @vadim-kubasov made their contribution in https://github.com/hashicorp/terraform-cloud-operator/pull/432
5 changes: 0 additions & 5 deletions .changes/unreleased/ENHANCEMENTS-419-20240612-132330.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/unreleased/ENHANCEMENTS-420-20240611-101431.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/unreleased/ENHANCEMENTS-432-20240703-130920.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/unreleased/FEATURES-421-20240611-090051.yaml

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/unreleased/FEATURES-421-20240611-090144.yaml

This file was deleted.

21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
## 2.5.0 (July 09, 2024)

NOTES:

* In upcoming releases, we shall proceed with renaming this project to HCP Terraform Operator for Kubernetes or simply HCP Terraform Operator. This measure is necessary in response to the recent announcement of [The Infrastructure Cloud](https://www.hashicorp.com/blog/introducing-the-infrastructure-cloud). The most noticeable change you can expect in version 2.6.0 is the renaming of this repository and related resources, such as the Helm chart and Docker Hub names. Please follow the changelogs for updates.

FEATURES:

* `Helm`: Add a new value called `controllers.agentPool.syncPeriod` to set the CLI option `--agent-pool-sync-period`. [[GH-421](https://github.com/hashicorp/terraform-cloud-operator/pull/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](https://github.com/hashicorp/terraform-cloud-operator/pull/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](https://github.com/hashicorp/terraform-cloud-operator/pull/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](https://github.com/hashicorp/terraform-cloud-operator/pull/419)]
* `Helm Chart`: Add the ability to configure the security context of the Deployment pod and containers. [[GH-432](https://github.com/hashicorp/terraform-cloud-operator/pull/432)]

## Community Contributors :raised_hands:

- @vadim-kubasov made their contribution in https://github.com/hashicorp/terraform-cloud-operator/pull/432

## 2.4.1 (June 07, 2024)

NOTES:
Expand Down
4 changes: 2 additions & 2 deletions charts/terraform-cloud-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ apiVersion: v2
name: terraform-cloud-operator
description: Official Helm chart for HCP Terraform Operator for Kubernetes.
type: application
version: "2.4.1"
appVersion: "2.4.1"
version: "2.5.0"
appVersion: "2.5.0"
8 changes: 4 additions & 4 deletions charts/terraform-cloud-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Use the option `--version VERSION` with `helm install` and `helm upgrade` comman

```console
$ helm install demo hashicorp/terraform-cloud-operator \
--version 2.4.1 \
--version 2.5.0 \
--namespace tfc-operator-system \
--create-namespace
```
Expand All @@ -43,7 +43,7 @@ Below are examples of the Operator installation/upgrade Helm chart with options.

```console
$ helm install demo hashicorp/terraform-cloud-operator \
--version 2.4.1 \
--version 2.5.0 \
--namespace tfc-operator-system \
--create-namespace \
--set operator.syncPeriod=10m \
Expand All @@ -62,7 +62,7 @@ If targeting a Terraform Enterprise instance rather than HCP Terraform, set the

```console
$ helm install demo hashicorp/terraform-cloud-operator \
--version 2.4.1 \
--version 2.5.0 \
--set operator.tfeAddress="https://tfe-api.my-company.com"
```

Expand All @@ -74,7 +74,7 @@ For more information, please refer to the [FAQ](./../../docs/faq.md#general-ques

```console
$ helm upgrade demo hashicorp/terraform-cloud-operator \
--version 2.4.1 \
--version 2.5.0 \
--namespace tfc-operator-system \
--set operator.syncPeriod=5m \
--set controllers.agentPool.workers=5 \
Expand Down
2 changes: 1 addition & 1 deletion version/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.1
2.5.0

0 comments on commit c0f6bf1

Please sign in to comment.