New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

git-to-k8s

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-to-k8s - npm Package Compare versions

Comparing version 0.0.11 to 0.1.0

cli.js

8

index.js

@@ -218,3 +218,3 @@ #! /usr/bin/env node

if (_shell.exec(`helm list | grep ${chart.release}`).code == 0) {
return `helm upgrade --name ${chart.release} -f ${dir} ./${chart.path}`
return `helm upgrade -f ${dir} ${chart.release} ./${chart.path}`
}

@@ -280,6 +280,2 @@ return `helm install --name ${chart.release} -f ${dir} ./${chart.path}`

(function () {
const mf = new MainFlow()
mf.run()
}) ()
module.exports = { MainFlow, Logger, logger, shell, Image, Step, Chart }
{
"name": "git-to-k8s",
"version": "0.0.11",
"version": "0.1.0",
"description": "Small tool to automate the git to url flow on k8s",

@@ -25,3 +25,3 @@ "main": "index.js",

"bin": {
"git-to-k8s": "index.js"
"git-to-k8s": "cli.js"
},

@@ -28,0 +28,0 @@ "keywords": [

@@ -15,2 +15,8 @@ # git-to-k8s

## Get Started
### Dependencies
- helm initialize in cluster
- docker available and logged in already to registry
- git available
# Steps for typical normal project:

@@ -27,2 +33,3 @@

"deploy": {
"registry": "(optional, default registry for images)",
"images": [

@@ -33,3 +40,4 @@ {

"tag": "0.1.1",
"dir": "(optional, default: .)"
"path": "(optional, default: .)",
"registry": "(optional, registry for images)"
}

@@ -41,3 +49,3 @@ ],

"values": "values.prod.yaml",
"release": "app1"
"release": "px.app1"
}

@@ -47,2 +55,3 @@ ]

}
```

@@ -49,0 +58,0 @@

@@ -5,11 +5,11 @@ process.env.NO_DEPRECATION = 'git-to-k8s';

var assert = require('assert')
var git-to-k8s = require('../')
var lib = require('../')
describe('git-to-k8s', function(){
it('get function', function(){
})
it('should success', function() {
const mf = new lib.MainFlow();
lib.logger.info('Testing')
lib.shell.run('pwd')
})
})

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