We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 547ed30 commit 5107bb1Copy full SHA for 5107bb1
packages/k8s/src/k8s/index.ts
@@ -473,6 +473,7 @@ async function getCurrentNodeName(): Promise<string> {
473
}
474
return nodeName
475
476
+
477
export function namespace(): string {
478
if (process.env['ACTIONS_RUNNER_KUBERNETES_NAMESPACE']) {
479
return process.env['ACTIONS_RUNNER_KUBERNETES_NAMESPACE']
packages/k8s/src/k8s/utils.ts
@@ -125,7 +125,8 @@ export function writeEntryPointScript(
125
`"${key}=${value
126
.replace(/\\/g, '\\\\')
127
.replace(/"/g, '\\"')
128
- .replace(/\$/g, '\\$')}"`
+ .replace(/\$/g, '\\$')
129
+ .replace(/`/g, '\\`')}"`
130
)
131
132
environmentPrefix = `env ${envBuffer.join(' ')} `
0 commit comments