This commit is contained in:
parent
56d655d9f2
commit
ae39ce8cef
@ -3,17 +3,17 @@ set -o pipefail
|
||||
|
||||
function kapply() {
|
||||
for f in "$@"; do
|
||||
kubectl apply -f<(envsubst < "manifests/$f")
|
||||
kubectl apply --server-side -f<(envsubst < "manifests/$f")
|
||||
done
|
||||
}; export -f kapply
|
||||
|
||||
function kcreatesec() {
|
||||
kubectl apply \
|
||||
kubectl apply --server-side \
|
||||
-f<(kubectl create secret generic --dry-run=client -oyaml "$@")
|
||||
}; export -f kcreatesec
|
||||
|
||||
function kcreatecm() {
|
||||
kubectl apply \
|
||||
kubectl apply --server-side \
|
||||
-f<(kubectl create configmap --dry-run=client -oyaml "$@")
|
||||
}; export -f kcreatecm
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user