hashicorp / hcp-terraform-operator

Kubernetes Operator allows managing HCP Terraform resources via Kubernetes Custom Resources.
https://developer.hashicorp.com/terraform/cloud-docs
Mozilla Public License 2.0
125 stars 32 forks source link

🚀 Add `--module-sync-period` CLI option #480

Closed arybolovlev closed 2 months ago

arybolovlev commented 2 months ago

Description

This PR introduces a new CLI option called --module-sync-period along with a corresponding controllers.module.syncPeriod Helm chart option. It sets the time interval for re-queuing Module resources instead of pulling them all at once for reconciliation. This change helps distribute the workload of the Module controller more evenly, especially when managing a large number of resources.

Tests

Usage Example

$ helm upgrade this hashicorp/hcp-terraform-operator --set controllers.module.syncPeriod=30m

References

N/A.

Community Note