in src/kubectl/kubectl.ts [8:26]
throw Error('KUBECONFIG env is not explicitly set.')
const kubectlPath = await io.which(TOOL_NAME, false)
if (!kubectlPath)
throw Error(
'Kubectl not found. You must install it before running this action.'
)
for (const manifest of manifests) {
const toolRunner = new ToolRunner(kubectlPath, [
'apply',
'-f',
manifest,
'--dry-run=server',
'--namespace',
namespace
])
await toolRunner.exec()
}