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