From 9ce7a8d80ca3a5f04db26b520bf088956c402c13 Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Thu, 27 Feb 2025 13:02:41 +0100 Subject: [PATCH] Add podstart lifecycle hook --- apps/templates/mbgwp-helm.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/templates/mbgwp-helm.yaml b/apps/templates/mbgwp-helm.yaml index 5d62680..dae8637 100644 --- a/apps/templates/mbgwp-helm.yaml +++ b/apps/templates/mbgwp-helm.yaml @@ -72,6 +72,14 @@ spec: ## annotations: {} allowEmptyPassword: true + lifecycleHooks: + lifecycle: + postStart: + exec: + command: + - /bin/bash + - -c + - "sleep 30 && touch /opt/bitnami/apache/conf/httpd.conf" syncPolicy: syncOptions: