This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
echo "Executing nextcloud app deploy."
|
||||
|
||||
kubectl kustomize deploy/app | kubectl apply -f -
|
||||
|
||||
load_env_file() {
|
||||
@@ -17,13 +16,14 @@ load_env_file() {
|
||||
fi
|
||||
}
|
||||
|
||||
helm repo add nextcloud https://nextcloud.github.io/helm/ --force-update
|
||||
#helm repo add nextcloud https://nextcloud.github.io/helm/ --force-update
|
||||
|
||||
load_env_file "deploy/app/.env.d/nextcloud-mariadb.env"
|
||||
load_env_file "deploy/app/.env.d/nextcloud-secrets.env"
|
||||
load_env_file "deploy/app/.env.d/redis.env"
|
||||
|
||||
helm upgrade --install nextcloud nextcloud/nextcloud \
|
||||
--values ./deploy/app/helm-values.yaml \
|
||||
helm upgrade --install nextcloud nextcloud/nextcloud --version "9.0" \
|
||||
--values ./deploy/app/nextcloud-helm-values.yaml \
|
||||
--set externalDatabase.user=${MARIADB_USER:?Missing MARIADB_USER} \
|
||||
--set externalDatabase.password=${MARIADB_PASSWORD:?Missing MARIADB_PASSWORD} \
|
||||
--set externalDatabase.database=${MARIADB_DATABASE:?Missing MARIADB_DATABASE} \
|
||||
@@ -31,4 +31,13 @@ helm upgrade --install nextcloud nextcloud/nextcloud \
|
||||
--set nextcloud.username=${NEXTCLOUD_USERNAME:?Missing NEXTCLOUD_USERNAME} \
|
||||
--set nextcloud.password=${NEXTCLOUD_PASSWORD:?Missing NEXTCLOUD_PASSWORD} \
|
||||
--namespace cloud-limbosolutions-com
|
||||
|
||||
helm repo add bitnami https://charts.bitnami.com/bitnami
|
||||
|
||||
helm upgrade --install nextcloud-redis bitnami/redis --version "25.3" \
|
||||
--values ./deploy/app/redis-helm-values.yaml \
|
||||
--set auth.password="${REDIS_PASSWORD:?Missing REDIS_PASSWORD}" \
|
||||
--namespace cloud-limbosolutions-com
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user