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

@01/kube-tools

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@01/kube-tools - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

4

dist/index.js

@@ -35,3 +35,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

/******/ // eslint-disable-next-line no-unused-vars
/******/ var hotCurrentHash = "7c35d1a00a18bc1b28fa";
/******/ var hotCurrentHash = "f06f402583c221778a95";
/******/ var hotRequestTimeout = 10000;

@@ -831,3 +831,3 @@ /******/ var hotCurrentModuleData = {};

dryRun: false,
context: process.env.KUBE_CONTEXT || "minikube"
context: process.env.KUBE_CONTEXT || ""
};

@@ -834,0 +834,0 @@ function printConfig(_a) {

{
"name": "@01/kube-tools",
"version": "1.0.10",
"version": "1.0.11",
"author": "Nidin Vinayakan <01@01alchemist.com>",

@@ -42,3 +42,3 @@ "repository": "git@github.com:01alchemist/kube-tools.git",

"dependencies": {
"sls-yaml": "1.0.6",
"sls-yaml": "1.0.11",
"minimist": "1.2.0",

@@ -45,0 +45,0 @@ "source-map-support": "^0.5.12"

@@ -1,2 +0,49 @@

# kube-tool
Kubernetes toolbox
# Kubernetes toolbox 🐬 ☸ ️
The tollbox contains utilies to deploy kubernetes services
## Commands
### `kube-deploy` command
`kube-deploy` will take a yml configuration file under `--config` argument and deploy your service to default kubernetes cluster
#### config file
Config file can be written in `yaml` file. it support serverless framework style extensions using [sls-yaml]
##### Sample config
```yaml
# common.yml
version: 1
name: awesome-service
# context: ${global:env}-context # Optional
image.tag: ${env:GIT_COMMIT_SHA1}
values: ../helm/values-${global:env}.yml
chart: ../helm/chart
```
```yaml
# prod.yml
env: prod
app: ${file(./common.yml)}
```
```yaml
# stage.yml
env: stage
app: ${file(./common.yml)}
```
### Deployment
```bash
kube-deploy --config=.kube/config/prod.yml
```
#### Options
| Argument | Description |
|--------------|-------------------------|
| `--context` | Set kubernetes context |
| `--name` | Service name |
| `--chart` | Chart path |
| `--values` | Values path |
| `--dryRun` | Simulate deployment |
| `--image.tag`| Docker image tag |
[sls-yaml]: https://github.com/01alchemist/sls-yaml

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