Skip to content

Commit

Permalink
feat: add memory limit/request to action
Browse files Browse the repository at this point in the history
  • Loading branch information
morgan-cromell committed Feb 14, 2025
1 parent c3aae83 commit 69a3674
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/actions/deploy/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@ inputs:
env:
description: Environment variables in KEY=value format
required: false
memoryRequests:
description: The memory requests for the deployment
required: false
default: "128Mi"
memoryLimit:
description: The memory limit for the deployment
required: false
default: "256Mi"
kubeconfig:
description: The kubeconfig to use
required: true
Expand Down Expand Up @@ -61,6 +69,8 @@ runs:
--set app.deployment.image.tag=${{ inputs.tag }} \
--set app.ingress.enabled="${{ inputs.ingress }}" \
--set app.deployment.port="${{ inputs.targetPort }}" \
--set app.deployment.memory.requests="${{ inputs.memoryRequests }}"\
--set app.deployment.memory.limit="${{ inputs.memoryLimit }}" \
${{ env.ENV_VARS }}
kubeconfig: '${{ inputs.kubeconfig }}'
overrule_existing_kubeconfig: "true"

0 comments on commit 69a3674

Please sign in to comment.