From ab2c428d9dbc6d5e59ad8988fbe9451f3cc2db7e Mon Sep 17 00:00:00 2001 From: ange Date: Wed, 5 Jun 2024 12:38:53 +0200 Subject: [PATCH] fix: typo --- manifests/bin/deploy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/bin/deploy.sh b/manifests/bin/deploy.sh index 29c5680..2f0b941 100755 --- a/manifests/bin/deploy.sh +++ b/manifests/bin/deploy.sh @@ -62,9 +62,9 @@ kcreatesec gitea-admin \ kubectl run --image "$IMAGEAPP" secrets sleep 60 & &> /dev/null kcreatesec gitea \ - --from-literal=secret_key="$(kgseckey gitea secret_key || kubectl exec secrets gitea generate secret SECRET_KEY)" \ - --from-literal=internal_token="$(kgseckey gitea internal_token || kubectl exec secrets gitea generate secret INTERNAL_TOKEN)" \ - --from-literal=oauth2_jwt_secret="$(kgseckey gitea oauth2_jwt_secret || kubectl exec secrets gitea generate secret JWT_SECRET)" + --from-literal=secret_key="$(kgseckey gitea secret_key || kubectl exec secrets -- gitea generate secret SECRET_KEY)" \ + --from-literal=internal_token="$(kgseckey gitea internal_token || kubectl exec secrets -- gitea generate secret INTERNAL_TOKEN)" \ + --from-literal=oauth2_jwt_secret="$(kgseckey gitea oauth2_jwt_secret || kubectl exec secrets -- gitea generate secret JWT_SECRET)" kcreatecm gitea \ --from-file=app.ini=<(envsubst "$(env | xargs printf '$%s ')" < config/app.ini)