@socialgouv/sre-seal
Advanced tools
Comparing version 1.14.1 to 1.14.2
{ | ||
"name": "@socialgouv/sre-seal", | ||
"version": "1.14.1", | ||
"version": "1.14.2", | ||
"preferGlobal": true, | ||
@@ -22,3 +22,3 @@ "main": "./src/index.js", | ||
}, | ||
"gitHead": "b94147351bc90101f2c450bbf3476b825124c63d" | ||
"gitHead": "7beb1e292f938d3a15b56b5a8a7a137ebe31e8a9" | ||
} |
@@ -14,3 +14,3 @@ const execa = require("execa"); | ||
if (context === "prod") { | ||
args.push(["--name", name]); | ||
args.push(["--scope", "namespace-wide"]); | ||
args.push(["--namespace", namespace]); | ||
@@ -17,0 +17,0 @@ } else { |
@@ -7,2 +7,5 @@ const createSealedSecret = require("./createSealedSecret"); | ||
}; | ||
const namespaceWideAnnotations = { | ||
"sealedsecrets.bitnami.com/namespace-wide": "true", | ||
}; | ||
@@ -21,3 +24,3 @@ // convert a dict of plaintext secrets to sealed-secrets | ||
).then((encrypteds) => { | ||
const annotations = context === "prod" ? {} : clusterWideAnnotations; | ||
const annotations = context === "prod" ? namespaceWideAnnotations : clusterWideAnnotations; | ||
return createSealedSecret({ | ||
@@ -24,0 +27,0 @@ namespace, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7751
187