Socket
Socket
Sign inDemoInstall

kube-workflow

Package Overview
Dependencies
Maintainers
1
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kube-workflow - npm Package Compare versions

Comparing version 1.17.1 to 1.17.2

2

common/package.json
{
"name": "kube-workflow-common",
"version": "1.17.1",
"version": "1.17.2",
"description": "",

@@ -5,0 +5,0 @@ "license": "MIT",

{
"name": "kube-workflow",
"version": "1.17.1",
"version": "1.17.2",
"repository": "git@github.com:SocialGouv/kube-workflow.git",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -25,2 +25,3 @@ const os = require("os")

const { buildCtx } = require("./ctx")
const set = require("lodash.set")

@@ -65,2 +66,3 @@ const builder = async (envVars, options) => {

KW_INLINE_VALUES,
KW_INLINE_SET,
HELM_ARGS = "",

@@ -180,3 +182,25 @@ } = envVars

}
// values: env KW_INLINE_SET
if(KW_INLINE_SET){
const sets = yaml.load(KW_INLINE_SET)
for(const [key, val] of Object.entries(sets)){
set(values, key, val)
}
}
// values: --set option
if(options.set){
for(const s of options.set){
const index = s.indexOf("=");
if(index===-1){
logger.warn("bad format for --set option, expected: foo=bar")
continue
}
const key = s.slice(0, index)
const val = s.slice(index+1)
set(values, key, val)
}
}
logger.debug("Compiling jobs")

@@ -183,0 +207,0 @@ await compileJobs(values)

@@ -35,3 +35,3 @@ const { Option } = require("commander")

"--set <pair...>",
"update value key or subkey, syntax is --set global.namespace=test, you can call it multiple times"
"update value key or subkey, syntax is --set global.namespace=foo-barjo, you can call it multiple times"
)

@@ -38,0 +38,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc