diff --git a/lib/jobs/k8s/k8s.js b/lib/jobs/k8s/k8s.js index 23aacf5..1059fe6 100644 --- a/lib/jobs/k8s/k8s.js +++ b/lib/jobs/k8s/k8s.js @@ -2,7 +2,7 @@ import cp from "node:child_process"; import { jobBuilder, createFile, deleteFile } from "./k8s-common.js"; const applyFile = async (filePath) => { - const command = `${kubCmd} ${filePath}`; + const command = `kubectl apply -f ${filePath}`; return new Promise((res, rej) => cp.exec(command, (err, stdout, stderr) => (err && rej(err)) || res(stdout)) );