Skip to content

Commit

Permalink
fix: misc
Browse files Browse the repository at this point in the history
1. Helm Upgrade of crunchy
2. Memory adjustment for flyway to get rid of OOMKilled

Signed-off-by: OMPRAKASH MISHRA <[email protected]>
  • Loading branch information
mishraomp committed Oct 26, 2024
1 parent 0184c30 commit 4145b71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/.dbdeployer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,13 @@ jobs:
run: |
echo 'Deploying crunchy helm chart'
if [ ${{ inputs.s3_enabled }} == true ]; then
helm status postgres || \
helm upgrade --install --wait --set crunchy.pgBackRest.s3.enabled=true \
--set-string crunchy.pgBackRest.s3.accessKey=${{ secrets.s3_access_key }} \
--set-string crunchy.pgBackRest.s3.secretKey=${{ secrets.s3_secret_key }} \
--set-string crunchy.pgBackRest.s3.bucket=${{ secrets.s3_bucket }} \
--set-string crunchy.pgBackRest.s3.endpoint=${{ secrets.s3_endpoint }} \
--values ${{ inputs.values }} postgres .
else
helm status postgres || \
helm upgrade --install --wait --values ${{ inputs.values }} postgres .
fi
Expand Down
4 changes: 2 additions & 2 deletions charts/app/templates/backend/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ spec:
resources:
limits:
cpu: 200m
memory: 100Mi
memory: 200Mi
requests:
cpu: 50m
memory: 25Mi
memory: 75Mi
containers:
- name: {{ include "backend.fullname" . }}
{{- if .Values.backend.securityContext }}
Expand Down

0 comments on commit 4145b71

Please sign in to comment.