- network-policies - egress
Some checks failed
/ continuous-deploy (push) Failing after 3s

- folder structure revision
-  ops scripts revision
- helm chart update version - 12.5.0
This commit is contained in:
2026-03-07 11:06:29 +00:00
parent bdf8ca4446
commit 12cfe5ce79
23 changed files with 166 additions and 75 deletions

View File

@@ -1,22 +1,21 @@
#/bin/bash
kubectl kustomize deploy/app | kubectl apply -f -
kubectl kustomize deploy/backups | kubectl apply -f -
if [ -f "deploy/helm/.env" ]; then
if [ -f "deploy/app/.env.d/.env" ]; then
# Export all variables from the file
echo "export variables from file helm/.env"
echo "export variables from file deploy/app/.env.d/.env"
set -a
. deploy/helm/.env
. deploy/app/.env.d/.env
set +a
fi
if [ -n "${APP_HELM_VALUE_GITEA_ADMIN_USERNAME:-}" ]; then
echo "Executing helm deploy."
helm repo add gitea-charts https://dl.gitea.com/charts/
helm repo update
helm upgrade --install gitea gitea-charts/gitea --version 12.4.0 \
--values deploy/helm/values.yaml \
helm upgrade --install gitea gitea-charts/gitea --version 12.5.0 \
--values deploy/app/helm-values.yaml \
--set valkey.global.valkey.password=${APP_HELM_VALUE_VALKEY_GLOBAL_PASSWORD} \
--set postgresql.global.postgresql.auth.postgresPassword=${APP_HELM_VALUE_POSTGRESQL_AUTH_POSTGRESPASSWORD} \
--set postgresql.global.postgresql.auth.password=${APP_HELM_VALUE_POSTGRESQL_AUTH_PASSWORD} \