terraform-helm icon indicating copy to clipboard operation
terraform-helm copied to clipboard

Add the "resources" specification to sync-workspace-deployment

Open obervinov opened this issue 1 year ago • 1 comments

In the sync-workspace-deployment.yaml deployment, there is currently no resource specification, leaving the terraform-sync-workspace container unrestricted in terms of CPU and memory consumption in Kubernetes clusters.

In this pull request, I have added the ability to specify explicit resource limits through .Values.syncWorkspace.resources in the sync-workspace-deployment.yaml template. If this parameter is not explicitly defined in values.yaml, no resource specification will be applied.

Values example and template.

obervinov avatar Dec 27 '23 13:12 obervinov

CLA assistant check
All committers have signed the CLA.

hashicorp-cla avatar Dec 27 '23 13:12 hashicorp-cla