Skip to content

Commit

Permalink
KONFLUX-5674: Adding Resource Requests and Limits (#5344)
Browse files Browse the repository at this point in the history
This Pull request will add the resource requests and limits for the following resources that are created by external-secrets operator -
1. Cert Manager
2. Webhook
3. Controller Manager
4. External Secret Deployment

Signed-off-by: Manish Kumar <[email protected]>
  • Loading branch information
manish-jangra authored Jan 22, 2025
1 parent 3360fc0 commit aba7ba2
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ spec:
port: 8080
resources:
requests:
cpu: 10m
memory: 96Mi
limits:
cpu: 100m
memory: 256Mi
memory: 128Mi
limits:
memory: 512Mi
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,9 @@ patches:
group: operators.coreos.com
version: v1alpha1
kind: Subscription
- path: resource-requests.patch.yaml
target:
name: cluster
group: operator.external-secrets.io
version: v1alpha1
kind: OperatorConfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
apiVersion: operator.external-secrets.io/v1alpha1
kind: OperatorConfig
metadata:
name: cluster
spec:
certController:
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
memory: 512Mi
webhook:
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
memory: 512Mi
manager:
resources:
requests:
cpu: 200m
memory: 256Mi
limits:
memory: 512Mi

0 comments on commit aba7ba2

Please sign in to comment.