fix: remove path from config file names
This commit is contained in:
parent
45db247301
commit
9d87fadc27
@ -30,11 +30,13 @@ function kgcmkey() {
|
||||
kubectl get configmap "$cm" -o jsonpath="{.data.$key}"
|
||||
}
|
||||
|
||||
cmd=(kcreatecm homepage-config)
|
||||
for f in config/*; do
|
||||
cmd+=("--from-file=$f=<(envsubst \"\$(env | xargs printf '$%s ')\" < $f)")
|
||||
done
|
||||
eval "${cmd[*]}"
|
||||
(cd config
|
||||
cmd=(kcreatecm homepage-config)
|
||||
for f in *; do
|
||||
cmd+=("--from-file=$f=<(envsubst \"\$(env | xargs printf '$%s ')\" < $f)")
|
||||
done
|
||||
eval "${cmd[*]}"
|
||||
)
|
||||
|
||||
kapply common/clusterrole.yaml common/app.yaml
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user