Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit b5665b2

Browse files
committed
Correct where the namespace is specified
1 parent d6bbf1b commit b5665b2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hooks/imperative-subsequent-scans/scan-helpers.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ async function startSubsequentSecureCodeBoxScan({
1717
kind: "Scan",
1818
metadata: {
1919
name: name,
20-
namespace: process.env["NAMESPACE"],
2120
labels: {
2221
...parentScan.metadata.labels,
2322
},
@@ -48,7 +47,7 @@ async function startSubsequentSecureCodeBoxScan({
4847
await k8sApiCRD.createNamespacedCustomObject(
4948
"execution.experimental.securecodebox.io",
5049
"v1",
51-
"default",
50+
process.env["NAMESPACE"],
5251
"scans",
5352
scanDefinition,
5453
"false"

0 commit comments

Comments
 (0)