mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Small fixes in console print-outs (#3735)
* Small fixes in console print-outs * Update chart version, it was incremented since the PR
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
description: Modular and transparent LAMP stack chart supporting PHP-FPM, Release Cloning, LoadBalancer, Ingress, SSL and lots more!
|
||||
name: lamp
|
||||
version: 0.1.1
|
||||
version: 0.1.2
|
||||
home: https://github.com/lead4good/helm-lamp-stack
|
||||
maintainers:
|
||||
- name: lead4good
|
||||
|
||||
@@ -5,7 +5,7 @@ export DBDIR=/data/db
|
||||
export CLONEWEBDIR=/clone_data/web
|
||||
export CLONEDBDIR=/clone_data/db
|
||||
if [ -n "$(ls -A $WEBDIR)" ]; then
|
||||
echo "Pod allready initialized, continuing..."
|
||||
echo "Pod already initialized, continuing..."
|
||||
else
|
||||
xtrabackup -uroot -p"$MYSQL_ROOT_PASSWORD" -H$MYSQL_HOST -h $CLONEDBDIR --backup --target-dir=$DBDIR
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ function init_from_backup
|
||||
}
|
||||
|
||||
if [ -e "$WEBDIR/db_clone_initialized" ]; then
|
||||
echo "Pod allready initialized, continuing..."
|
||||
echo "Pod already initialized, continuing..."
|
||||
else
|
||||
init_from_backup
|
||||
touch "$WEBDIR/db_clone_initialized"
|
||||
|
||||
@@ -174,7 +174,7 @@ function init_from_backup
|
||||
}
|
||||
|
||||
if [ -e "$WEBDIR/db_initialized" ]; then
|
||||
echo "DB allready initialized, continuing..."
|
||||
echo "DB already initialized, continuing..."
|
||||
else
|
||||
if [ -z "$CLONE_INIT" ]; then
|
||||
init_from_sql
|
||||
|
||||
Reference in New Issue
Block a user