ci: added ci variables to define pod resources

This commit is contained in:
Noah Lancien 2026-01-08 16:24:33 +01:00
parent 7d303dc496
commit d09e7c403d

View file

@ -73,6 +73,13 @@ spec:
envFrom:
- configMapRef:
name: ${CI_PROJECT_PATH_SLUG}-config-map
resources:
limits:
cpu: "${APP_CI_CPU_LIMIT}"
memory: "${APP_CI_MEMORY_LIMIT}"
requests:
cpu: "${APP_CI_CPU_REQUEST}"
memory: "${APP_CI_MEMORY_REQUEST}"
volumeMounts:
- name: storage
mountPath: /app/srcs/public/app/uploads