fix: missing kubectl apply -f flag
Some checks failed
/ deploy (push) Failing after 9m45s

This commit is contained in:
ange 2025-02-27 02:13:47 +00:00
parent cd1888acb6
commit fe777aa70f
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D

View File

@ -8,11 +8,12 @@ function kapply() {
}; export -f kapply }; export -f kapply
function kcreatesec() { function kcreatesec() {
kubectl apply <(kubectl create secret generic --dry-run=server -oyaml "$@") kubectl apply \
-f<(kubectl create secret generic --dry-run=server -oyaml "$@")
}; export -f kcreatesec }; export -f kcreatesec
function kcreatecm() { function kcreatecm() {
kubectl apply <(kubectl create configmap --dry-run=server -oyaml "$@") kubectl apply -f<(kubectl create configmap --dry-run=server -oyaml "$@")
}; export -f kcreatecm }; export -f kcreatecm
function kgseckey() { function kgseckey() {