ci: added ci variables to define pod resources

This commit is contained in:
Noah Lancien 2026-01-12 09:31:48 +01:00
parent 7aa279e9e4
commit 37beca9c5e

View file

@ -62,6 +62,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/storage