Skip to content

Commit

Permalink
feat: add cpu limit flag
Browse files Browse the repository at this point in the history
  • Loading branch information
shreddedbacon committed Nov 3, 2023
1 parent 6bd767a commit ff57c4b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions legacy/build-deploy-docker-compose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -857,6 +857,9 @@ yq3 write -i -- /kubectl-build-deploy/values.yaml 'lagoonVersion' $LAGOON_VERSIO
if [ "$ADMIN_LAGOON_FEATURE_FLAG_CONTAINER_MEMORY_LIMIT" ]; then
yq3 write -i -- /kubectl-build-deploy/values.yaml 'resources.limits.memory' "$ADMIN_LAGOON_FEATURE_FLAG_CONTAINER_MEMORY_LIMIT"
fi
if [ "$ADMIN_LAGOON_FEATURE_FLAG_CONTAINER_CPU_LIMIT" ]; then
yq3 write -i -- /kubectl-build-deploy/values.yaml 'resources.limits.cpu' "$ADMIN_LAGOON_FEATURE_FLAG_CONTAINER_CPU_LIMIT"
fi
if [ "$ADMIN_LAGOON_FEATURE_FLAG_EPHEMERAL_STORAGE_REQUESTS" ]; then
yq3 write -i -- /kubectl-build-deploy/values.yaml 'resources.requests.ephemeral-storage' "$ADMIN_LAGOON_FEATURE_FLAG_EPHEMERAL_STORAGE_REQUESTS"
fi
Expand Down

0 comments on commit ff57c4b

Please sign in to comment.