Skip to content

Commit

Permalink
fix: update resource limits and requests in deployment tests for acco…
Browse files Browse the repository at this point in the history
…unt and extension manager operators

On-behalf-of: @SAP angel.kafazov@sap.com
Signed-off-by: Angel Kafazov <akafazov@cst-bg.net>
  • Loading branch information
akafazov committed Nov 25, 2024
1 parent bc3a3eb commit f926aee
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions charts/account-operator/tests/deployment_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ release:
name: account-operator
tests:
- it: operator match the snapshot
set:
deployment:
resources:
limits:
cpu: 260m
memory: 512Mi
requests:
cpu: 150m
memory: 128Mi
asserts:
- matchSnapshot: {}
- it: operator match the snapshot (with kubeconfigSecret)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ operator match the snapshot:
periodSeconds: 10
resources:
limits:
cpu: 260m
memory: 512Mi
requests:
cpu: 40m
Expand Down
8 changes: 8 additions & 0 deletions charts/extension-manager-operator/tests/deployment_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ tests:
path: /readyz
metrics:
port: 8080
deployment:
resources:
limits:
cpu: 260m
memory: 512Mi
requests:
cpu: 40m
memory: 50Mi
- it: deployment with metrics probes
template: deployment.yaml
set:
Expand Down

0 comments on commit f926aee

Please sign in to comment.