Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kit-deployer

Package Overview
Dependencies
Maintainers
1
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kit-deployer - npm Package Compare versions

Comparing version 6.9.1 to 7.0.0

2

package.json
{
"name": "kit-deployer",
"version": "6.9.1",
"version": "7.0.0",
"description": "Use to deploy files to multiple kubernetes clusters.",

@@ -5,0 +5,0 @@ "repository": {

@@ -154,3 +154,2 @@ <p align="center">

| `FORCE` | Will push all changes even if there are no differences | yes | `false` |
| `DELETE_RESOURCES` | Delete resources that are deployed to cluster but no manifest found locally | yes | `true` |
| `AVAILABLE_ENABLED` | Will check if deployed service is available, but will only affect if deployment is considered successful or not if --available-required is also enabled | yes | `false` |

@@ -157,0 +156,0 @@ | `AVAILABLE_HEALTH_CHECK` | Will monitor for issues during the deployment | yes | `true` |

@@ -25,3 +25,2 @@ "use strict";

force: false,
deleteResources: true,
available: {

@@ -129,3 +128,2 @@ enabled: false,

force: self.options.force,
deleteResources: self.options.deleteResources,
kubectl: kubectl

@@ -132,0 +130,0 @@ });

@@ -44,3 +44,2 @@ "use strict";

selector: undefined,
deleteResources: undefined,
available: {

@@ -408,30 +407,2 @@ enabled: false,

// Delete remaining resources, if specified
if (this.options.deleteResources === true) {
_.each(remaining, (resource) => {
// TODO: we have encountered a lot of issues with deleting Job type resources, so we will skip trying to delete them
if (resource.kind !== "Job") {
this.emit("info", "Delete " + resource.metadata.name);
if (!this.options.dryRun) {
kubePromises.push(this.kubectl.deleteByName(resource.kind, resource.metadata.name)
.then((msg) => {
this.emit("info", msg);
})
.catch((err) => {
this.emit("error", "Error running kubectl.deleteByName('" + resource.kind + "', '" + resource.metadata.name + "')' " + err);
}));
}
}
});
} else {
this.emit("info", "Removal of resources disabled existing resources are not removed");
_.each(remaining, (resource) => {
// Old jobs are not removed, taking out this conditional will display
// a list of old jobs that can be removed.
if (resource.kind !== "Job") {
this.emit("info", "Not removing " + resource.metadata.name);
}
});
}
return Promise

@@ -438,0 +409,0 @@ .all(kubePromises)

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