From fd946adfa5f80b73d607193629119c76af86182c Mon Sep 17 00:00:00 2001 From: saeid_01 Date: Thu, 26 Oct 2023 09:46:56 +0000 Subject: [PATCH] Update '.values.yaml' --- .values.yaml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.values.yaml b/.values.yaml index 34601b69..52a7cd16 100644 --- a/.values.yaml +++ b/.values.yaml @@ -72,12 +72,20 @@ deployment: # - "foo.remote" # - "bar.remote" - # Init containers which runs before the app container + # Init containers which runs before the app container initContainers: - # init-contaner: - # image: busybox - # imagePullPolicy: IfNotPresent - # command: ['/bin/sh'] + init-artisan: + args: + - /bin/bash + - -c + - (php artisan migrate --force || true) && (php artisan config:cache || true) + envFrom: + - configMapRef: + name: cssd-production-back-configmap + - secretRef: + name: cssd-production-back-secret + image: docker.willaspace.com/repository/docker-hosted/external-projects/cssd-back:latest + imagePullPolicy: IfNotPresent # Additional labels for Deployment additionalLabels: