fix(deployment): automatically set GOMAXPROCS

This commit is contained in:
2025-01-14 22:26:28 +01:00
parent fcf64a215d
commit 2a04fb1966
4 changed files with 50 additions and 2 deletions

View File

@ -227,6 +227,13 @@ tests:
cpu: 25m
memory: 100MB
asserts:
- equal:
path: spec.template.spec.containers[0].env
value:
- name: GOMAXPROCS
valueFrom:
resourceFieldRef:
resource: limits.cpu
- equal:
path: spec.template.spec.containers[0].resources
value: