normalization of backups jobs names
All checks were successful
/ continuous-deploy (push) Successful in 18s

This commit is contained in:
Márcio Fernandes
2026-03-20 09:47:44 +00:00
parent 19fae24209
commit 694756815f
4 changed files with 15 additions and 10 deletions

View File

@@ -1,5 +1,6 @@
#/bin/bash
kubectl kustomize deploy/backups | kubectl apply -f -
# load environment variables from file
if [ -f "deploy/app/.env.d/.env" ]; then
# Export all variables from the file
@@ -10,7 +11,8 @@ if [ -f "deploy/app/.env.d/.env" ]; then
fi
if [ -n "${APP_HELM_VALUE_GITEA_ADMIN_USERNAME:-}" ]; then
echo "Executing helm deploy."
echo "Executing helm deploy."
helm repo add gitea-charts https://dl.gitea.com/charts/ --force-update
@@ -32,4 +34,7 @@ if [ -n "${APP_HELM_VALUE_GITEA_ADMIN_USERNAME:-}" ]; then
--set gitea.config.security.PASSWORD_HASH_ALGO=${APP_HELM_VALUE_GITEA_CONFIG_SECURITY_PASSWORD_HASH_ALGO} \
--set gitea.config.service.oauth2.JWT_SECRET=${APP_HELM_VALUE_GITEA_CONFIG_SERVICE_OAUTH2_JWT_SECRET} \
--namespace=git-limbosolutions-com
echo "executing deploy of backups jobs."
kubectl kustomize deploy/backups | kubectl apply -f -
fi