From 37742362e6872da862c200bab161abc82b3be3d9 Mon Sep 17 00:00:00 2001 From: Admiral Date: Wed, 21 Feb 2024 19:40:19 +0100 Subject: [PATCH] Update all-resources.yml --- deployments/mariadb/all-resources.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/deployments/mariadb/all-resources.yml b/deployments/mariadb/all-resources.yml index 48dc2f1..a31698e 100644 --- a/deployments/mariadb/all-resources.yml +++ b/deployments/mariadb/all-resources.yml @@ -33,7 +33,17 @@ spec: containers: - image: mariadb:latest name: mariadb - env: + imagePullPolicy: Always + securityContext: + allowPrivilegeEscalation: false + resources: + limits: + cpu: "0.5" + memory: "500Mi" + requests: + cpu: "0.1" + memory: "100Mi" + env: - name: MYSQL_ROOT_PASSWORD value: ro0tP4sSworD - name: MYSQL_DATABASE @@ -65,4 +75,4 @@ spec: selector: app: mariadb tier: backend - type: ClusterIP \ No newline at end of file + type: ClusterIP