@pulumi/rancher2 5.0.0 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/scripts/install-pulumi-plugin.js +21 -0
- package/types/input.d.ts +4 -4
- package/types/output.d.ts +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/rancher2",
|
|
3
|
-
"version": "v5.0.
|
|
3
|
+
"version": "v5.0.2",
|
|
4
4
|
"description": "A Pulumi package for creating and managing rancher2 resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsc",
|
|
14
|
-
"install": "node scripts/install-pulumi-plugin.js resource rancher2 v5.0.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource rancher2 v5.0.2"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var childProcess = require("child_process");
|
|
3
|
+
|
|
4
|
+
var args = process.argv.slice(2);
|
|
5
|
+
var res = childProcess.spawnSync("pulumi", ["plugin", "install"].concat(args), {
|
|
6
|
+
stdio: ["ignore", "inherit", "inherit"]
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
if (res.error && res.error.code === "ENOENT") {
|
|
10
|
+
console.error("\nThere was an error installing the resource provider plugin. " +
|
|
11
|
+
"It looks like `pulumi` is not installed on your system. " +
|
|
12
|
+
"Please visit https://pulumi.com/ to install the Pulumi CLI.\n" +
|
|
13
|
+
"You may try manually installing the plugin by running " +
|
|
14
|
+
"`pulumi plugin install " + args.join(" ") + "`");
|
|
15
|
+
} else if (res.error || res.status !== 0) {
|
|
16
|
+
console.error("\nThere was an error installing the resource provider plugin. " +
|
|
17
|
+
"You may try to manually installing the plugin by running " +
|
|
18
|
+
"`pulumi plugin install " + args.join(" ") + "`");
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
process.exit(0);
|
package/types/input.d.ts
CHANGED
|
@@ -5335,7 +5335,7 @@ export interface MachineConfigV2HarvesterConfig {
|
|
|
5335
5335
|
/**
|
|
5336
5336
|
* A JSON string specifying info for the disks e.g. `{\"disks\":[{\"imageName\":\"harvester-public/image-57hzg\",\"bootOrder\":1,\"size\":40},{\"storageClassName\":\"node-driver-test\",\"bootOrder\":2,\"size\":1}]}` (string)
|
|
5337
5337
|
*/
|
|
5338
|
-
diskInfo
|
|
5338
|
+
diskInfo?: pulumi.Input<string>;
|
|
5339
5339
|
/**
|
|
5340
5340
|
* Disk size if using managed disk. Just for Rancher v2.3.x and above. Default `30` (string)
|
|
5341
5341
|
*
|
|
@@ -5359,7 +5359,7 @@ export interface MachineConfigV2HarvesterConfig {
|
|
|
5359
5359
|
/**
|
|
5360
5360
|
* A JSON string specifying info for the networks e.g. `{\"interfaces\":[{\"networkName\":\"harvester-public/vlan1\"},{\"networkName\":\"harvester-public/vlan2\"}]}` (string)
|
|
5361
5361
|
*/
|
|
5362
|
-
networkInfo
|
|
5362
|
+
networkInfo?: pulumi.Input<string>;
|
|
5363
5363
|
/**
|
|
5364
5364
|
* Use `networkInfo` instead
|
|
5365
5365
|
*
|
|
@@ -6255,7 +6255,7 @@ export interface NodeTemplateHarvesterConfig {
|
|
|
6255
6255
|
/**
|
|
6256
6256
|
* A JSON string specifying info for the disks e.g. `{\"disks\":[{\"imageName\":\"harvester-public/image-57hzg\",\"bootOrder\":1,\"size\":40},{\"storageClassName\":\"node-driver-test\",\"bootOrder\":2,\"size\":1}]}` (string)
|
|
6257
6257
|
*/
|
|
6258
|
-
diskInfo
|
|
6258
|
+
diskInfo?: pulumi.Input<string>;
|
|
6259
6259
|
/**
|
|
6260
6260
|
* Disk size if using managed disk. Just for Rancher v2.3.x and above. Default `30` (string)
|
|
6261
6261
|
*
|
|
@@ -6279,7 +6279,7 @@ export interface NodeTemplateHarvesterConfig {
|
|
|
6279
6279
|
/**
|
|
6280
6280
|
* A JSON string specifying info for the networks e.g. `{\"interfaces\":[{\"networkName\":\"harvester-public/vlan1\"},{\"networkName\":\"harvester-public/vlan2\"}]}` (string)
|
|
6281
6281
|
*/
|
|
6282
|
-
networkInfo
|
|
6282
|
+
networkInfo?: pulumi.Input<string>;
|
|
6283
6283
|
/**
|
|
6284
6284
|
* Use `networkInfo` instead
|
|
6285
6285
|
*
|
package/types/output.d.ts
CHANGED
|
@@ -7371,7 +7371,7 @@ export interface MachineConfigV2HarvesterConfig {
|
|
|
7371
7371
|
/**
|
|
7372
7372
|
* A JSON string specifying info for the disks e.g. `{\"disks\":[{\"imageName\":\"harvester-public/image-57hzg\",\"bootOrder\":1,\"size\":40},{\"storageClassName\":\"node-driver-test\",\"bootOrder\":2,\"size\":1}]}` (string)
|
|
7373
7373
|
*/
|
|
7374
|
-
diskInfo
|
|
7374
|
+
diskInfo?: string;
|
|
7375
7375
|
/**
|
|
7376
7376
|
* Disk size if using managed disk. Just for Rancher v2.3.x and above. Default `30` (string)
|
|
7377
7377
|
*
|
|
@@ -7395,7 +7395,7 @@ export interface MachineConfigV2HarvesterConfig {
|
|
|
7395
7395
|
/**
|
|
7396
7396
|
* A JSON string specifying info for the networks e.g. `{\"interfaces\":[{\"networkName\":\"harvester-public/vlan1\"},{\"networkName\":\"harvester-public/vlan2\"}]}` (string)
|
|
7397
7397
|
*/
|
|
7398
|
-
networkInfo
|
|
7398
|
+
networkInfo?: string;
|
|
7399
7399
|
/**
|
|
7400
7400
|
* Use `networkInfo` instead
|
|
7401
7401
|
*
|
|
@@ -8291,7 +8291,7 @@ export interface NodeTemplateHarvesterConfig {
|
|
|
8291
8291
|
/**
|
|
8292
8292
|
* A JSON string specifying info for the disks e.g. `{\"disks\":[{\"imageName\":\"harvester-public/image-57hzg\",\"bootOrder\":1,\"size\":40},{\"storageClassName\":\"node-driver-test\",\"bootOrder\":2,\"size\":1}]}` (string)
|
|
8293
8293
|
*/
|
|
8294
|
-
diskInfo
|
|
8294
|
+
diskInfo?: string;
|
|
8295
8295
|
/**
|
|
8296
8296
|
* Disk size if using managed disk. Just for Rancher v2.3.x and above. Default `30` (string)
|
|
8297
8297
|
*
|
|
@@ -8315,7 +8315,7 @@ export interface NodeTemplateHarvesterConfig {
|
|
|
8315
8315
|
/**
|
|
8316
8316
|
* A JSON string specifying info for the networks e.g. `{\"interfaces\":[{\"networkName\":\"harvester-public/vlan1\"},{\"networkName\":\"harvester-public/vlan2\"}]}` (string)
|
|
8317
8317
|
*/
|
|
8318
|
-
networkInfo
|
|
8318
|
+
networkInfo?: string;
|
|
8319
8319
|
/**
|
|
8320
8320
|
* Use `networkInfo` instead
|
|
8321
8321
|
*
|