Skip to content

Commit

Permalink
Support override of resources of cert-manager, cert-manager-cainjecto…
Browse files Browse the repository at this point in the history
…r, and cert-manager-webhook deploymemts. Add resource requests for cert-manager-operator deployment. Add e2e test for OverrideResources field in DeploymentConfig.

Signed-off-by: arkadeepsen <arsen@redhat.com>
  • Loading branch information
arkadeepsen committed Aug 4, 2023
1 parent c0ffa37 commit 2bae4c7
Show file tree
Hide file tree
Showing 10 changed files with 1,444 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,10 @@ spec:
image: openshift.io/cert-manager-operator:latest
imagePullPolicy: Always
name: cert-manager-operator
resources: {}
resources:
requests:
cpu: 10m
memory: 32Mi
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
4 changes: 4 additions & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,9 @@ spec:
runAsNonRoot: true
seccompProfile:
type: 'RuntimeDefault'
resources:
requests:
cpu: 10m
memory: 32Mi
serviceAccountName: controller-manager
terminationGracePeriodSeconds: 10

0 comments on commit 2bae4c7

Please sign in to comment.