This commit is contained in:
parent
56e937a224
commit
a0e8849beb
@ -4,7 +4,7 @@ set -o pipefail
|
||||
function kapply() {
|
||||
for f in "$@"; do
|
||||
kubectl apply -f \
|
||||
<(envsubst "$(env | xargs -0 printf '$%s ')" < "manifests/$f")
|
||||
<(envsubst "$(env | xargs printf '$%s ')" < "manifests/$f")
|
||||
done
|
||||
}; export -f kapply
|
||||
|
||||
@ -55,7 +55,7 @@ kcreatesec gitea \
|
||||
kubectl delete pod secrets
|
||||
|
||||
kcreatecm gitea \
|
||||
--from-file=app.ini=<(envsubst "$(env | xargs -0 printf '$%s ')" < config/app.ini)
|
||||
--from-file=app.ini=<(envsubst "$(env | xargs printf '$%s ')" < config/app.ini)
|
||||
|
||||
kapply common/job.yaml \
|
||||
common/valkey.yaml \
|
||||
|
Loading…
Reference in New Issue
Block a user