Skip to content

Commit

Permalink
feat: add support for default lagoon container memory limits (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
smlx authored Sep 21, 2022
1 parent 3f9bbad commit 2503c52
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 @@ -767,6 +767,9 @@ yq3 write -i -- /kubectl-build-deploy/values.yaml 'gitSha' $LAGOON_GIT_SHA
yq3 write -i -- /kubectl-build-deploy/values.yaml 'buildType' $BUILD_TYPE
yq3 write -i -- /kubectl-build-deploy/values.yaml 'kubernetes' $KUBERNETES
yq3 write -i -- /kubectl-build-deploy/values.yaml 'lagoonVersion' $LAGOON_VERSION
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
# check for ROOTLESS_WORKLOAD feature flag, disabled by default

set +x
Expand Down

0 comments on commit 2503c52

Please sign in to comment.