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