@pulumi/rancher2 10.2.0 → 10.2.1
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/cluster.d.ts +45 -45
- package/cluster.js +45 -45
- package/clusterDriver.d.ts +2 -0
- package/clusterDriver.js +2 -0
- package/clusterDriver.js.map +1 -1
- package/machineConfigV2.d.ts +6 -6
- package/machineConfigV2.js +6 -6
- package/nodePool.d.ts +2 -0
- package/nodePool.js +2 -0
- package/nodePool.js.map +1 -1
- package/nodeTemplate.d.ts +6 -6
- package/nodeTemplate.js +6 -6
- package/package.json +2 -2
package/cluster.d.ts
CHANGED
|
@@ -90,44 +90,44 @@ import * as outputs from "./types/output";
|
|
|
90
90
|
* templateVersion: "0.1.1",
|
|
91
91
|
* targetNamespace: foo_istio.id,
|
|
92
92
|
* answers: {
|
|
93
|
-
* enabled: false,
|
|
93
|
+
* "certmanager.enabled": false,
|
|
94
94
|
* enableCRDs: true,
|
|
95
|
-
* enabled: true,
|
|
96
|
-
* enabled: false,
|
|
97
|
-
* cpu: "2000m",
|
|
98
|
-
* memory: "1024Mi",
|
|
99
|
-
* cpu: "100m",
|
|
100
|
-
* memory: "128Mi",
|
|
101
|
-
* type: "NodePort",
|
|
102
|
-
* clusterId: foo_customClusterSync.clusterId,
|
|
103
|
-
* enabled: "false",
|
|
104
|
-
* enabled: "false",
|
|
105
|
-
* enabled: "true",
|
|
106
|
-
* enabled: "true",
|
|
107
|
-
* enabled: "true",
|
|
108
|
-
* cpu: "4800m",
|
|
109
|
-
* memory: "4096Mi",
|
|
110
|
-
* cpu: "1000m",
|
|
111
|
-
* memory: "1024Mi",
|
|
112
|
-
* cpu: "4800m",
|
|
113
|
-
* memory: "4096Mi",
|
|
114
|
-
* cpu: "1000m",
|
|
115
|
-
* memory: "1024Mi",
|
|
116
|
-
* enabled: false,
|
|
117
|
-
* enabled: false,
|
|
118
|
-
* enabled: true,
|
|
119
|
-
* cpu: "1000m",
|
|
120
|
-
* memory: "4096Mi",
|
|
121
|
-
* cpu: "500m",
|
|
122
|
-
* memory: "2048Mi",
|
|
123
|
-
* traceSampling: "1",
|
|
124
|
-
* enabled: true,
|
|
125
|
-
* enabled: true,
|
|
126
|
-
* enabled: true,
|
|
127
|
-
* cpu: "500m",
|
|
128
|
-
* memory: "1024Mi",
|
|
129
|
-
* cpu: "100m",
|
|
130
|
-
* memory: "100Mi",
|
|
95
|
+
* "galley.enabled": true,
|
|
96
|
+
* "gateways.enabled": false,
|
|
97
|
+
* "gateways.istio-ingressgateway.resources.limits.cpu": "2000m",
|
|
98
|
+
* "gateways.istio-ingressgateway.resources.limits.memory": "1024Mi",
|
|
99
|
+
* "gateways.istio-ingressgateway.resources.requests.cpu": "100m",
|
|
100
|
+
* "gateways.istio-ingressgateway.resources.requests.memory": "128Mi",
|
|
101
|
+
* "gateways.istio-ingressgateway.type": "NodePort",
|
|
102
|
+
* "global.rancher.clusterId": foo_customClusterSync.clusterId,
|
|
103
|
+
* "istio_cni.enabled": "false",
|
|
104
|
+
* "istiocoredns.enabled": "false",
|
|
105
|
+
* "kiali.enabled": "true",
|
|
106
|
+
* "mixer.enabled": "true",
|
|
107
|
+
* "mixer.policy.enabled": "true",
|
|
108
|
+
* "mixer.policy.resources.limits.cpu": "4800m",
|
|
109
|
+
* "mixer.policy.resources.limits.memory": "4096Mi",
|
|
110
|
+
* "mixer.policy.resources.requests.cpu": "1000m",
|
|
111
|
+
* "mixer.policy.resources.requests.memory": "1024Mi",
|
|
112
|
+
* "mixer.telemetry.resources.limits.cpu": "4800m",
|
|
113
|
+
* "mixer.telemetry.resources.limits.memory": "4096Mi",
|
|
114
|
+
* "mixer.telemetry.resources.requests.cpu": "1000m",
|
|
115
|
+
* "mixer.telemetry.resources.requests.memory": "1024Mi",
|
|
116
|
+
* "mtls.enabled": false,
|
|
117
|
+
* "nodeagent.enabled": false,
|
|
118
|
+
* "pilot.enabled": true,
|
|
119
|
+
* "pilot.resources.limits.cpu": "1000m",
|
|
120
|
+
* "pilot.resources.limits.memory": "4096Mi",
|
|
121
|
+
* "pilot.resources.requests.cpu": "500m",
|
|
122
|
+
* "pilot.resources.requests.memory": "2048Mi",
|
|
123
|
+
* "pilot.traceSampling": "1",
|
|
124
|
+
* "security.enabled": true,
|
|
125
|
+
* "sidecarInjectorWebhook.enabled": true,
|
|
126
|
+
* "tracing.enabled": true,
|
|
127
|
+
* "tracing.jaeger.resources.limits.cpu": "500m",
|
|
128
|
+
* "tracing.jaeger.resources.limits.memory": "1024Mi",
|
|
129
|
+
* "tracing.jaeger.resources.requests.cpu": "100m",
|
|
130
|
+
* "tracing.jaeger.resources.requests.memory": "100Mi",
|
|
131
131
|
* },
|
|
132
132
|
* });
|
|
133
133
|
* ```
|
|
@@ -288,14 +288,14 @@ import * as outputs from "./types/output";
|
|
|
288
288
|
* value: "true",
|
|
289
289
|
* }],
|
|
290
290
|
* overrideAffinity: `{
|
|
291
|
-
* "nodeAffinity": {
|
|
292
|
-
* "requiredDuringSchedulingIgnoredDuringExecution": {
|
|
293
|
-
* "nodeSelectorTerms": [{
|
|
294
|
-
* "matchExpressions": [{
|
|
295
|
-
* "key": "not.this/nodepool",
|
|
296
|
-
* "operator": "In",
|
|
297
|
-
* "values": [
|
|
298
|
-
* "true"
|
|
291
|
+
* \\"nodeAffinity\\": {
|
|
292
|
+
* \\"requiredDuringSchedulingIgnoredDuringExecution\\": {
|
|
293
|
+
* \\"nodeSelectorTerms\\": [{
|
|
294
|
+
* \\"matchExpressions\\": [{
|
|
295
|
+
* \\"key\\": \\"not.this/nodepool\\",
|
|
296
|
+
* \\"operator\\": \\"In\\",
|
|
297
|
+
* \\"values\\": [
|
|
298
|
+
* \\"true\\"
|
|
299
299
|
* ]
|
|
300
300
|
* }]
|
|
301
301
|
* }]
|
package/cluster.js
CHANGED
|
@@ -94,44 +94,44 @@ const utilities = require("./utilities");
|
|
|
94
94
|
* templateVersion: "0.1.1",
|
|
95
95
|
* targetNamespace: foo_istio.id,
|
|
96
96
|
* answers: {
|
|
97
|
-
* enabled: false,
|
|
97
|
+
* "certmanager.enabled": false,
|
|
98
98
|
* enableCRDs: true,
|
|
99
|
-
* enabled: true,
|
|
100
|
-
* enabled: false,
|
|
101
|
-
* cpu: "2000m",
|
|
102
|
-
* memory: "1024Mi",
|
|
103
|
-
* cpu: "100m",
|
|
104
|
-
* memory: "128Mi",
|
|
105
|
-
* type: "NodePort",
|
|
106
|
-
* clusterId: foo_customClusterSync.clusterId,
|
|
107
|
-
* enabled: "false",
|
|
108
|
-
* enabled: "false",
|
|
109
|
-
* enabled: "true",
|
|
110
|
-
* enabled: "true",
|
|
111
|
-
* enabled: "true",
|
|
112
|
-
* cpu: "4800m",
|
|
113
|
-
* memory: "4096Mi",
|
|
114
|
-
* cpu: "1000m",
|
|
115
|
-
* memory: "1024Mi",
|
|
116
|
-
* cpu: "4800m",
|
|
117
|
-
* memory: "4096Mi",
|
|
118
|
-
* cpu: "1000m",
|
|
119
|
-
* memory: "1024Mi",
|
|
120
|
-
* enabled: false,
|
|
121
|
-
* enabled: false,
|
|
122
|
-
* enabled: true,
|
|
123
|
-
* cpu: "1000m",
|
|
124
|
-
* memory: "4096Mi",
|
|
125
|
-
* cpu: "500m",
|
|
126
|
-
* memory: "2048Mi",
|
|
127
|
-
* traceSampling: "1",
|
|
128
|
-
* enabled: true,
|
|
129
|
-
* enabled: true,
|
|
130
|
-
* enabled: true,
|
|
131
|
-
* cpu: "500m",
|
|
132
|
-
* memory: "1024Mi",
|
|
133
|
-
* cpu: "100m",
|
|
134
|
-
* memory: "100Mi",
|
|
99
|
+
* "galley.enabled": true,
|
|
100
|
+
* "gateways.enabled": false,
|
|
101
|
+
* "gateways.istio-ingressgateway.resources.limits.cpu": "2000m",
|
|
102
|
+
* "gateways.istio-ingressgateway.resources.limits.memory": "1024Mi",
|
|
103
|
+
* "gateways.istio-ingressgateway.resources.requests.cpu": "100m",
|
|
104
|
+
* "gateways.istio-ingressgateway.resources.requests.memory": "128Mi",
|
|
105
|
+
* "gateways.istio-ingressgateway.type": "NodePort",
|
|
106
|
+
* "global.rancher.clusterId": foo_customClusterSync.clusterId,
|
|
107
|
+
* "istio_cni.enabled": "false",
|
|
108
|
+
* "istiocoredns.enabled": "false",
|
|
109
|
+
* "kiali.enabled": "true",
|
|
110
|
+
* "mixer.enabled": "true",
|
|
111
|
+
* "mixer.policy.enabled": "true",
|
|
112
|
+
* "mixer.policy.resources.limits.cpu": "4800m",
|
|
113
|
+
* "mixer.policy.resources.limits.memory": "4096Mi",
|
|
114
|
+
* "mixer.policy.resources.requests.cpu": "1000m",
|
|
115
|
+
* "mixer.policy.resources.requests.memory": "1024Mi",
|
|
116
|
+
* "mixer.telemetry.resources.limits.cpu": "4800m",
|
|
117
|
+
* "mixer.telemetry.resources.limits.memory": "4096Mi",
|
|
118
|
+
* "mixer.telemetry.resources.requests.cpu": "1000m",
|
|
119
|
+
* "mixer.telemetry.resources.requests.memory": "1024Mi",
|
|
120
|
+
* "mtls.enabled": false,
|
|
121
|
+
* "nodeagent.enabled": false,
|
|
122
|
+
* "pilot.enabled": true,
|
|
123
|
+
* "pilot.resources.limits.cpu": "1000m",
|
|
124
|
+
* "pilot.resources.limits.memory": "4096Mi",
|
|
125
|
+
* "pilot.resources.requests.cpu": "500m",
|
|
126
|
+
* "pilot.resources.requests.memory": "2048Mi",
|
|
127
|
+
* "pilot.traceSampling": "1",
|
|
128
|
+
* "security.enabled": true,
|
|
129
|
+
* "sidecarInjectorWebhook.enabled": true,
|
|
130
|
+
* "tracing.enabled": true,
|
|
131
|
+
* "tracing.jaeger.resources.limits.cpu": "500m",
|
|
132
|
+
* "tracing.jaeger.resources.limits.memory": "1024Mi",
|
|
133
|
+
* "tracing.jaeger.resources.requests.cpu": "100m",
|
|
134
|
+
* "tracing.jaeger.resources.requests.memory": "100Mi",
|
|
135
135
|
* },
|
|
136
136
|
* });
|
|
137
137
|
* ```
|
|
@@ -292,14 +292,14 @@ const utilities = require("./utilities");
|
|
|
292
292
|
* value: "true",
|
|
293
293
|
* }],
|
|
294
294
|
* overrideAffinity: `{
|
|
295
|
-
* "nodeAffinity": {
|
|
296
|
-
* "requiredDuringSchedulingIgnoredDuringExecution": {
|
|
297
|
-
* "nodeSelectorTerms": [{
|
|
298
|
-
* "matchExpressions": [{
|
|
299
|
-
* "key": "not.this/nodepool",
|
|
300
|
-
* "operator": "In",
|
|
301
|
-
* "values": [
|
|
302
|
-
* "true"
|
|
295
|
+
* \\"nodeAffinity\\": {
|
|
296
|
+
* \\"requiredDuringSchedulingIgnoredDuringExecution\\": {
|
|
297
|
+
* \\"nodeSelectorTerms\\": [{
|
|
298
|
+
* \\"matchExpressions\\": [{
|
|
299
|
+
* \\"key\\": \\"not.this/nodepool\\",
|
|
300
|
+
* \\"operator\\": \\"In\\",
|
|
301
|
+
* \\"values\\": [
|
|
302
|
+
* \\"true\\"
|
|
303
303
|
* ]
|
|
304
304
|
* }]
|
|
305
305
|
* }]
|
package/clusterDriver.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Provides a Rancher v2 Cluster Driver resource. This can be used to create Cluster Driver for Rancher v2.2.x Kontainer Engine clusters and retrieve their information.
|
|
4
4
|
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
5
7
|
* ## Import
|
|
6
8
|
*
|
|
7
9
|
* Cluster Driver can be imported using the Rancher Cluster Driver ID
|
package/clusterDriver.js
CHANGED
|
@@ -8,6 +8,8 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Provides a Rancher v2 Cluster Driver resource. This can be used to create Cluster Driver for Rancher v2.2.x Kontainer Engine clusters and retrieve their information.
|
|
10
10
|
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
11
13
|
* ## Import
|
|
12
14
|
*
|
|
13
15
|
* Cluster Driver can be imported using the Rancher Cluster Driver ID
|
package/clusterDriver.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clusterDriver.js","sourceRoot":"","sources":["../clusterDriver.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"clusterDriver.js","sourceRoot":"","sources":["../clusterDriver.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAmDD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,SAAS,CAAC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cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AApHL,sCAqHC;AAvGG,gBAAgB;AACO,0BAAY,GAAG,4CAA4C,CAAC"}
|
package/machineConfigV2.d.ts
CHANGED
|
@@ -35,16 +35,16 @@ import * as outputs from "./types/output";
|
|
|
35
35
|
* cpuCount: "2",
|
|
36
36
|
* memorySize: "4",
|
|
37
37
|
* diskInfo: ` {
|
|
38
|
-
* "disks": [{
|
|
39
|
-
* "imageName": "harvester-public/image-57hzg",
|
|
40
|
-
* "size": 40,
|
|
41
|
-
* "bootOrder": 1
|
|
38
|
+
* \\"disks\\": [{
|
|
39
|
+
* \\"imageName\\": \\"harvester-public/image-57hzg\\",
|
|
40
|
+
* \\"size\\": 40,
|
|
41
|
+
* \\"bootOrder\\": 1
|
|
42
42
|
* }]
|
|
43
43
|
* }
|
|
44
44
|
* `,
|
|
45
45
|
* networkInfo: ` {
|
|
46
|
-
* "interfaces": [{
|
|
47
|
-
* "networkName": "harvester-public/vlan1"
|
|
46
|
+
* \\"interfaces\\": [{
|
|
47
|
+
* \\"networkName\\": \\"harvester-public/vlan1\\"
|
|
48
48
|
* }]
|
|
49
49
|
* }
|
|
50
50
|
* `,
|
package/machineConfigV2.js
CHANGED
|
@@ -39,16 +39,16 @@ const utilities = require("./utilities");
|
|
|
39
39
|
* cpuCount: "2",
|
|
40
40
|
* memorySize: "4",
|
|
41
41
|
* diskInfo: ` {
|
|
42
|
-
* "disks": [{
|
|
43
|
-
* "imageName": "harvester-public/image-57hzg",
|
|
44
|
-
* "size": 40,
|
|
45
|
-
* "bootOrder": 1
|
|
42
|
+
* \\"disks\\": [{
|
|
43
|
+
* \\"imageName\\": \\"harvester-public/image-57hzg\\",
|
|
44
|
+
* \\"size\\": 40,
|
|
45
|
+
* \\"bootOrder\\": 1
|
|
46
46
|
* }]
|
|
47
47
|
* }
|
|
48
48
|
* `,
|
|
49
49
|
* networkInfo: ` {
|
|
50
|
-
* "interfaces": [{
|
|
51
|
-
* "networkName": "harvester-public/vlan1"
|
|
50
|
+
* \\"interfaces\\": [{
|
|
51
|
+
* \\"networkName\\": \\"harvester-public/vlan1\\"
|
|
52
52
|
* }]
|
|
53
53
|
* }
|
|
54
54
|
* `,
|
package/nodePool.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Provides a Rancher v2 Node Pool resource. This can be used to create Node Pool, using Node template for Rancher v2 RKE clusters and retrieve their information.
|
|
6
6
|
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
7
9
|
* ## Import
|
|
8
10
|
*
|
|
9
11
|
* Node Pool can be imported using the Rancher Node Pool ID
|
package/nodePool.js
CHANGED
|
@@ -8,6 +8,8 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Provides a Rancher v2 Node Pool resource. This can be used to create Node Pool, using Node template for Rancher v2 RKE clusters and retrieve their information.
|
|
10
10
|
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
11
13
|
* ## Import
|
|
12
14
|
*
|
|
13
15
|
* Node Pool can be imported using the Rancher Node Pool ID
|
package/nodePool.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nodePool.js","sourceRoot":"","sources":["../nodePool.ts"],"names":[],"mappings":";AAAA,s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AAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;SAC3C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAtIL,4BAuIC;AAzHG,gBAAgB;AACO,qBAAY,GAAG,kCAAkC,CAAC"}
|
package/nodeTemplate.d.ts
CHANGED
|
@@ -88,16 +88,16 @@ import * as outputs from "./types/output";
|
|
|
88
88
|
* cpuCount: "2",
|
|
89
89
|
* memorySize: "4",
|
|
90
90
|
* diskInfo: ` {
|
|
91
|
-
* "disks": [{
|
|
92
|
-
* "imageName": "harvester-public/image-57hzg",
|
|
93
|
-
* "size": 40,
|
|
94
|
-
* "bootOrder": 1
|
|
91
|
+
* \\"disks\\": [{
|
|
92
|
+
* \\"imageName\\": \\"harvester-public/image-57hzg\\",
|
|
93
|
+
* \\"size\\": 40,
|
|
94
|
+
* \\"bootOrder\\": 1
|
|
95
95
|
* }]
|
|
96
96
|
* }
|
|
97
97
|
* `,
|
|
98
98
|
* networkInfo: ` {
|
|
99
|
-
* "interfaces": [{
|
|
100
|
-
* "networkName": "harvester-public/vlan1"
|
|
99
|
+
* \\"interfaces\\": [{
|
|
100
|
+
* \\"networkName\\": \\"harvester-public/vlan1\\"
|
|
101
101
|
* }]
|
|
102
102
|
* }
|
|
103
103
|
* `,
|
package/nodeTemplate.js
CHANGED
|
@@ -92,16 +92,16 @@ const utilities = require("./utilities");
|
|
|
92
92
|
* cpuCount: "2",
|
|
93
93
|
* memorySize: "4",
|
|
94
94
|
* diskInfo: ` {
|
|
95
|
-
* "disks": [{
|
|
96
|
-
* "imageName": "harvester-public/image-57hzg",
|
|
97
|
-
* "size": 40,
|
|
98
|
-
* "bootOrder": 1
|
|
95
|
+
* \\"disks\\": [{
|
|
96
|
+
* \\"imageName\\": \\"harvester-public/image-57hzg\\",
|
|
97
|
+
* \\"size\\": 40,
|
|
98
|
+
* \\"bootOrder\\": 1
|
|
99
99
|
* }]
|
|
100
100
|
* }
|
|
101
101
|
* `,
|
|
102
102
|
* networkInfo: ` {
|
|
103
|
-
* "interfaces": [{
|
|
104
|
-
* "networkName": "harvester-public/vlan1"
|
|
103
|
+
* \\"interfaces\\": [{
|
|
104
|
+
* \\"networkName\\": \\"harvester-public/vlan1\\"
|
|
105
105
|
* }]
|
|
106
106
|
* }
|
|
107
107
|
* `,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/rancher2",
|
|
3
|
-
"version": "10.2.
|
|
3
|
+
"version": "10.2.1",
|
|
4
4
|
"description": "A Pulumi package for creating and managing rancher2 resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "rancher2",
|
|
26
|
-
"version": "10.2.
|
|
26
|
+
"version": "10.2.1"
|
|
27
27
|
}
|
|
28
28
|
}
|