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 8.7.0 to 8.8.0

2

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

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

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

| `FORCE` | Will push all changes even if there are no differences | yes | `false` |
| `CREATE_ONLY` | Will only create resources that don't already exist. Will not perform any updates or removals. | yes | `false` |
| `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` |

@@ -211,0 +212,0 @@ | `AVAILABLE_POLLING_INTERVAL` | The number of seconds to wait between status checking API requests | yes | `false` |

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

force: false,
createOnly: false,
available: {

@@ -206,2 +207,3 @@ enabled: false,

force: self.options.force,
createOnly: self.options.createOnly,
backup: self.options.backup,

@@ -208,0 +210,0 @@ elroy: self.options.elroy,

@@ -55,2 +55,4 @@ "use strict";

selector: undefined,
force: false,
createOnly: false,
dryRun: false,

@@ -402,3 +404,7 @@ available: {

} else {
method = "Apply";
if (this.options.createOnly) {
method = "Create";
} else {
method = "Apply";
}
}

@@ -405,0 +411,0 @@

@@ -19,8 +19,9 @@ "use strict";

super();
this._options = options;
switch (name) {
case Strategies.RollingUpdate:
this._strategy = new RollingUpdate.Strategy(options);
this._strategy = new RollingUpdate.Strategy(this._options);
break;
case Strategies.FastRollback:
this._strategy = new FastRollback.Strategy(options);
this._strategy = new FastRollback.Strategy(this._options);
break;

@@ -50,2 +51,13 @@ }

skipDeploy(manifest, found, differences) {
// Skip if createOnly is enabled and the resoruce already exists
if (found && this._options.createOnly) {
this._strategy.emit(
"info",
"skipping deploy of " +
manifest.metadata.name +
" because it already exists and createOnly is enabled"
);
return true;
}
return this._strategy.skipDeploy(manifest, found, differences);

@@ -52,0 +64,0 @@ }

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