fix: k replace stdin
All checks were successful
/ deploy (push) Successful in 5s

This commit is contained in:
ange 2024-12-23 03:01:55 +00:00
parent 855209b8a5
commit 33d6a9c1cc
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D

View File

@ -8,11 +8,11 @@ function kapply() {
}; export -f kapply
function kcreatesec() {
kubectl create secret generic --dry-run=client -oyaml "$@" | kubectl replace
kubectl create secret generic --dry-run=client -oyaml "$@" | kubectl replace -f-
}; export -f kcreatesec
function kcreatecm() {
kubectl create configmap --dry-run=client -oyaml "$@" | kubectl replace
kubectl create configmap --dry-run=client -oyaml "$@" | kubectl replace -f-
}; export -f kcreatecm
function kgseckey() {