Skip to content

Commit

Permalink
chore: removing limits to fix the failed build (#879)
Browse files Browse the repository at this point in the history
Signed-off-by: Sukanya Rath <[email protected]>
  • Loading branch information
sukanya-rath authored Dec 11, 2024
1 parent 3949c87 commit 6518125
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 197 deletions.
180 changes: 0 additions & 180 deletions admin-frontend/openshift.deploy.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,6 @@ spec:
requests:
cpu: {{ .Values.pgBackRest.repoHost.requests.cpu }}
memory: {{ .Values.pgBackRest.repoHost.requests.memory }}
limits:
cpu: {{ .Values.pgBackRest.repoHost.limits.cpu }}
memory: {{ .Values.pgBackRest.repoHost.limits.memory }}
sidecars:
# this stuff is for the "pgbackrest" container in the "postgres-crunchy-ha" set of pods
pgbackrest:
Expand All @@ -165,9 +162,6 @@ spec:
requests:
cpu: {{ .Values.pgBackRest.jobs.requests.cpu }}
memory: {{ .Values.pgBackRest.jobs.requests.memory }}
limits:
cpu: {{ .Values.pgBackRest.jobs.limits.cpu }}
memory: {{ .Values.pgBackRest.jobs.limits.memory }}
{{- end }}
patroni:
dynamicConfiguration:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ metadata:
{{- include "clamav.labels" . | nindent 4 }}
spec:
replicas: {{ .Values.clamav.replicaCount }}
strategy:
type: Recreate

selector:
matchLabels:
{{- include "clamav.selectorLabels" . | nindent 6 }}
Expand Down Expand Up @@ -43,11 +46,8 @@ spec:
timeoutSeconds: 3
resources:
requests:
cpu: 100m
memory: 512Mi
limits:
cpu: 500m
memory: 1500Mi
cpu: 150m
memory: 600Mi
volumeMounts:
- mountPath: /opt/app-root/src
name: signatures
Expand Down
9 changes: 3 additions & 6 deletions clamav-service/charts/clamav-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,11 @@ node:
type: ClusterIP
port: 80
targetPort: 3000
deploymentStrategy: RollingUpdate
deploymentStrategy: Recreate
resources:
limits:
cpu: 50m
memory: 250Mi
requests:
cpu: 10m
memory: 50Mi
cpu: 40m
memory: 250Mi
app:
env:
logLevel: "info"

0 comments on commit 6518125

Please sign in to comment.