@pulumi/rancher2 10.4.0-alpha.1766557538 → 11.0.0-alpha.1766596160
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/README.md +2 -2
- package/authConfigGenericOidc.d.ts +313 -0
- package/authConfigGenericOidc.js +134 -0
- package/authConfigGenericOidc.js.map +1 -0
- package/authConfigGithubapp.d.ts +133 -0
- package/authConfigGithubapp.js +89 -0
- package/authConfigGithubapp.js.map +1 -0
- package/cluster.d.ts +36 -340
- package/cluster.js +36 -340
- package/cluster.js.map +1 -1
- package/clusterProxyConfigV2.d.ts +96 -0
- package/clusterProxyConfigV2.js +61 -0
- package/clusterProxyConfigV2.js.map +1 -0
- package/clusterSync.d.ts +4 -4
- package/clusterSync.js +4 -4
- package/getClusterProxyConfigV2.d.ts +14 -0
- package/getClusterProxyConfigV2.js +18 -0
- package/getClusterProxyConfigV2.js.map +1 -0
- package/index.d.ts +12 -18
- package/index.js +20 -26
- package/index.js.map +1 -1
- package/nodePool.d.ts +4 -4
- package/nodePool.js +4 -4
- package/package.json +2 -2
- package/types/input.d.ts +762 -2581
- package/types/output.d.ts +2358 -5036
- package/clusterTemplate.d.ts +0 -215
- package/clusterTemplate.js +0 -146
- package/clusterTemplate.js.map +0 -1
- package/etcdBackup.d.ts +0 -186
- package/etcdBackup.js +0 -106
- package/etcdBackup.js.map +0 -1
- package/getClusterTemplate.d.ts +0 -115
- package/getClusterTemplate.js +0 -60
- package/getClusterTemplate.js.map +0 -1
- package/getEtcdBackup.d.ts +0 -99
- package/getEtcdBackup.js +0 -54
- package/getEtcdBackup.js.map +0 -1
- package/getNodeTemplate.d.ts +0 -134
- package/getNodeTemplate.js +0 -52
- package/getNodeTemplate.js.map +0 -1
- package/nodeTemplate.d.ts +0 -562
- package/nodeTemplate.js +0 -261
- package/nodeTemplate.js.map +0 -1
package/nodeTemplate.d.ts
DELETED
|
@@ -1,562 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as inputs from "./types/input";
|
|
3
|
-
import * as outputs from "./types/output";
|
|
4
|
-
/**
|
|
5
|
-
* Provides a Rancher v2 Node Template resource. This can be used to create Node Template for Rancher v2 and retrieve their information.
|
|
6
|
-
*
|
|
7
|
-
* amazonec2, azure, digitalocean, harvester, linode, opennebula, openstack, outscale, hetzner and vsphere drivers are supported for node templates.
|
|
8
|
-
*
|
|
9
|
-
* **Note:** If you are upgrading to Rancher v2.3.3, please take a look to final section
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as rancher2 from "@pulumi/rancher2";
|
|
16
|
-
*
|
|
17
|
-
* // Create a new rancher2 Node Template up to Rancher 2.1.x
|
|
18
|
-
* const foo = new rancher2.NodeTemplate("foo", {
|
|
19
|
-
* name: "foo",
|
|
20
|
-
* description: "foo test",
|
|
21
|
-
* amazonec2Config: {
|
|
22
|
-
* accessKey: "AWS_ACCESS_KEY",
|
|
23
|
-
* secretKey: "<AWS_SECRET_KEY>",
|
|
24
|
-
* ami: "<AMI_ID>",
|
|
25
|
-
* region: "<REGION>",
|
|
26
|
-
* securityGroups: ["<AWS_SECURITY_GROUP>"],
|
|
27
|
-
* subnetId: "<SUBNET_ID>",
|
|
28
|
-
* vpcId: "<VPC_ID>",
|
|
29
|
-
* zone: "<ZONE>",
|
|
30
|
-
* },
|
|
31
|
-
* });
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* ```typescript
|
|
35
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
-
* import * as rancher2 from "@pulumi/rancher2";
|
|
37
|
-
*
|
|
38
|
-
* // Create a new rancher2 Node Template from Rancher 2.2.x
|
|
39
|
-
* const foo = new rancher2.CloudCredential("foo", {
|
|
40
|
-
* name: "foo",
|
|
41
|
-
* description: "foo test",
|
|
42
|
-
* amazonec2CredentialConfig: {
|
|
43
|
-
* accessKey: "<AWS_ACCESS_KEY>",
|
|
44
|
-
* secretKey: "<AWS_SECRET_KEY>",
|
|
45
|
-
* },
|
|
46
|
-
* });
|
|
47
|
-
* const fooNodeTemplate = new rancher2.NodeTemplate("foo", {
|
|
48
|
-
* name: "foo",
|
|
49
|
-
* description: "foo test",
|
|
50
|
-
* cloudCredentialId: foo.id,
|
|
51
|
-
* amazonec2Config: {
|
|
52
|
-
* ami: "<AMI_ID>",
|
|
53
|
-
* region: "<REGION>",
|
|
54
|
-
* securityGroups: ["<AWS_SECURITY_GROUP>"],
|
|
55
|
-
* subnetId: "<SUBNET_ID>",
|
|
56
|
-
* vpcId: "<VPC_ID>",
|
|
57
|
-
* zone: "<ZONE>",
|
|
58
|
-
* },
|
|
59
|
-
* });
|
|
60
|
-
* ```
|
|
61
|
-
*
|
|
62
|
-
* ### Using the Harvester Node Driver
|
|
63
|
-
*
|
|
64
|
-
* ```typescript
|
|
65
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
66
|
-
* import * as rancher2 from "@pulumi/rancher2";
|
|
67
|
-
*
|
|
68
|
-
* // Get imported harvester cluster info
|
|
69
|
-
* const foo_harvester = rancher2.getClusterV2({
|
|
70
|
-
* name: "foo-harvester",
|
|
71
|
-
* });
|
|
72
|
-
* // Create a new Cloud Credential for an imported Harvester cluster
|
|
73
|
-
* const foo_harvesterCloudCredential = new rancher2.CloudCredential("foo-harvester", {
|
|
74
|
-
* name: "foo-harvester",
|
|
75
|
-
* harvesterCredentialConfig: {
|
|
76
|
-
* clusterId: foo_harvester.then(foo_harvester => foo_harvester.clusterV1Id),
|
|
77
|
-
* clusterType: "imported",
|
|
78
|
-
* kubeconfigContent: foo_harvester.then(foo_harvester => foo_harvester.kubeConfig),
|
|
79
|
-
* },
|
|
80
|
-
* });
|
|
81
|
-
* // Create a new rancher2 Node Template using harvester node_driver
|
|
82
|
-
* const foo_harvesterNodeTemplate = new rancher2.NodeTemplate("foo-harvester", {
|
|
83
|
-
* name: "foo-harvester",
|
|
84
|
-
* cloudCredentialId: foo_harvesterCloudCredential.id,
|
|
85
|
-
* engineInstallUrl: "https://releases.rancher.com/install-docker/20.10.sh",
|
|
86
|
-
* harvesterConfig: {
|
|
87
|
-
* vmNamespace: "default",
|
|
88
|
-
* cpuCount: "2",
|
|
89
|
-
* memorySize: "4",
|
|
90
|
-
* diskInfo: ` {
|
|
91
|
-
* \\"disks\\": [{
|
|
92
|
-
* \\"imageName\\": \\"harvester-public/image-57hzg\\",
|
|
93
|
-
* \\"size\\": 40,
|
|
94
|
-
* \\"bootOrder\\": 1
|
|
95
|
-
* }]
|
|
96
|
-
* }
|
|
97
|
-
* `,
|
|
98
|
-
* networkInfo: ` {
|
|
99
|
-
* \\"interfaces\\": [{
|
|
100
|
-
* \\"networkName\\": \\"harvester-public/vlan1\\"
|
|
101
|
-
* }]
|
|
102
|
-
* }
|
|
103
|
-
* `,
|
|
104
|
-
* sshUser: "ubuntu",
|
|
105
|
-
* userData: ` package_update: true
|
|
106
|
-
* packages:
|
|
107
|
-
* - qemu-guest-agent
|
|
108
|
-
* - iptables
|
|
109
|
-
* runcmd:
|
|
110
|
-
* - - systemctl
|
|
111
|
-
* - enable
|
|
112
|
-
* - '--now'
|
|
113
|
-
* - qemu-guest-agent.service
|
|
114
|
-
* `,
|
|
115
|
-
* },
|
|
116
|
-
* });
|
|
117
|
-
* ```
|
|
118
|
-
*
|
|
119
|
-
* ### Using the Hetzner Node Driver
|
|
120
|
-
*
|
|
121
|
-
* ```typescript
|
|
122
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
123
|
-
* import * as rancher2 from "@pulumi/rancher2";
|
|
124
|
-
*
|
|
125
|
-
* // Create a new rancher2 Node Template using hetzner node_driver
|
|
126
|
-
* const hetznerNodeDriver = new rancher2.NodeDriver("hetzner_node_driver", {
|
|
127
|
-
* active: true,
|
|
128
|
-
* builtin: false,
|
|
129
|
-
* name: "Hetzner",
|
|
130
|
-
* uiUrl: "https://storage.googleapis.com/hcloud-rancher-v2-ui-driver/component.js",
|
|
131
|
-
* url: "https://github.com/JonasProgrammer/docker-machine-driver-hetzner/releases/download/3.6.0/docker-machine-driver-hetzner_3.6.0_linux_amd64.tar.gz",
|
|
132
|
-
* whitelistDomains: ["storage.googleapis.com"],
|
|
133
|
-
* });
|
|
134
|
-
* const myHetznerNodeTemplate = new rancher2.NodeTemplate("my_hetzner_node_template", {
|
|
135
|
-
* name: "my-hetzner-node-template",
|
|
136
|
-
* driverId: hetznerNodeDriver.id,
|
|
137
|
-
* hetznerConfig: {
|
|
138
|
-
* apiToken: "XXXXXXXXXX",
|
|
139
|
-
* image: "ubuntu-18.04",
|
|
140
|
-
* serverLocation: "nbg1",
|
|
141
|
-
* serverType: "cx11",
|
|
142
|
-
* },
|
|
143
|
-
* });
|
|
144
|
-
* ```
|
|
145
|
-
*
|
|
146
|
-
* ## Upgrading to Rancher v2.3.3
|
|
147
|
-
*
|
|
148
|
-
* **Important** This process could update `rancher2.NodeTemplate` data on tfstate file. Be sure to save a copy of tfstate file before proceed
|
|
149
|
-
*
|
|
150
|
-
* Due to [this feature](https://github.com/rancher/rancher/pull/23718) included on Rancher v2.3.3, `rancher2.NodeTemplate` are now global scoped objects with RBAC around them, instead of user scoped objects as they were. This means that existing node templates `id` field is changing on upgrade. Provider implements `fixNodeTemplateID()` that will update tfstate with proper id.
|
|
151
|
-
*
|
|
152
|
-
* ## Import
|
|
153
|
-
*
|
|
154
|
-
* Node Template can be imported using the Rancher Node Template ID
|
|
155
|
-
*
|
|
156
|
-
* ```sh
|
|
157
|
-
* $ pulumi import rancher2:index/nodeTemplate:NodeTemplate foo <node_template_id>
|
|
158
|
-
* ```
|
|
159
|
-
*/
|
|
160
|
-
export declare class NodeTemplate extends pulumi.CustomResource {
|
|
161
|
-
/**
|
|
162
|
-
* Get an existing NodeTemplate resource's state with the given name, ID, and optional extra
|
|
163
|
-
* properties used to qualify the lookup.
|
|
164
|
-
*
|
|
165
|
-
* @param name The _unique_ name of the resulting resource.
|
|
166
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
167
|
-
* @param state Any extra arguments used during the lookup.
|
|
168
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
169
|
-
*/
|
|
170
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NodeTemplateState, opts?: pulumi.CustomResourceOptions): NodeTemplate;
|
|
171
|
-
/**
|
|
172
|
-
* Returns true if the given object is an instance of NodeTemplate. This is designed to work even
|
|
173
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
174
|
-
*/
|
|
175
|
-
static isInstance(obj: any): obj is NodeTemplate;
|
|
176
|
-
/**
|
|
177
|
-
* AWS config for the Node Template (list maxitems:1)
|
|
178
|
-
*/
|
|
179
|
-
readonly amazonec2Config: pulumi.Output<outputs.NodeTemplateAmazonec2Config | undefined>;
|
|
180
|
-
/**
|
|
181
|
-
* Annotations for Node Template object (map)
|
|
182
|
-
*/
|
|
183
|
-
readonly annotations: pulumi.Output<{
|
|
184
|
-
[key: string]: string;
|
|
185
|
-
}>;
|
|
186
|
-
/**
|
|
187
|
-
* Auth certificate authority for the Node Template (string)
|
|
188
|
-
*/
|
|
189
|
-
readonly authCertificateAuthority: pulumi.Output<string | undefined>;
|
|
190
|
-
/**
|
|
191
|
-
* Auth key for the Node Template (string)
|
|
192
|
-
*/
|
|
193
|
-
readonly authKey: pulumi.Output<string | undefined>;
|
|
194
|
-
/**
|
|
195
|
-
* Azure config for the Node Template (list maxitems:1)
|
|
196
|
-
*/
|
|
197
|
-
readonly azureConfig: pulumi.Output<outputs.NodeTemplateAzureConfig | undefined>;
|
|
198
|
-
/**
|
|
199
|
-
* Cloud credential ID for the Node Template. Required from Rancher v2.2.x (string)
|
|
200
|
-
*/
|
|
201
|
-
readonly cloudCredentialId: pulumi.Output<string | undefined>;
|
|
202
|
-
/**
|
|
203
|
-
* Description for the Node Template (string)
|
|
204
|
-
*/
|
|
205
|
-
readonly description: pulumi.Output<string | undefined>;
|
|
206
|
-
/**
|
|
207
|
-
* Digitalocean config for the Node Template (list maxitems:1)
|
|
208
|
-
*/
|
|
209
|
-
readonly digitaloceanConfig: pulumi.Output<outputs.NodeTemplateDigitaloceanConfig | undefined>;
|
|
210
|
-
/**
|
|
211
|
-
* (Computed) The driver of the node template (string)
|
|
212
|
-
*/
|
|
213
|
-
readonly driver: pulumi.Output<string>;
|
|
214
|
-
/**
|
|
215
|
-
* The node driver id used by the node template. It's required if the node driver isn't built in Rancher (string)
|
|
216
|
-
*/
|
|
217
|
-
readonly driverId: pulumi.Output<string>;
|
|
218
|
-
/**
|
|
219
|
-
* Engine environment for the node template (string)
|
|
220
|
-
*/
|
|
221
|
-
readonly engineEnv: pulumi.Output<{
|
|
222
|
-
[key: string]: string;
|
|
223
|
-
} | undefined>;
|
|
224
|
-
/**
|
|
225
|
-
* Insecure registry for the node template (list)
|
|
226
|
-
*/
|
|
227
|
-
readonly engineInsecureRegistries: pulumi.Output<string[] | undefined>;
|
|
228
|
-
/**
|
|
229
|
-
* Docker engine install URL for the node template. Available install docker versions at `https://github.com/rancher/install-docker` (string)
|
|
230
|
-
*/
|
|
231
|
-
readonly engineInstallUrl: pulumi.Output<string>;
|
|
232
|
-
/**
|
|
233
|
-
* Engine label for the node template (string)
|
|
234
|
-
*/
|
|
235
|
-
readonly engineLabel: pulumi.Output<{
|
|
236
|
-
[key: string]: string;
|
|
237
|
-
} | undefined>;
|
|
238
|
-
/**
|
|
239
|
-
* Engine options for the node template (map)
|
|
240
|
-
*/
|
|
241
|
-
readonly engineOpt: pulumi.Output<{
|
|
242
|
-
[key: string]: string;
|
|
243
|
-
} | undefined>;
|
|
244
|
-
/**
|
|
245
|
-
* Engine registry mirror for the node template (list)
|
|
246
|
-
*/
|
|
247
|
-
readonly engineRegistryMirrors: pulumi.Output<string[] | undefined>;
|
|
248
|
-
/**
|
|
249
|
-
* Engine storage driver for the node template (string)
|
|
250
|
-
*/
|
|
251
|
-
readonly engineStorageDriver: pulumi.Output<string | undefined>;
|
|
252
|
-
/**
|
|
253
|
-
* Harvester config for the Node Template (list maxitems:1)
|
|
254
|
-
*/
|
|
255
|
-
readonly harvesterConfig: pulumi.Output<outputs.NodeTemplateHarvesterConfig | undefined>;
|
|
256
|
-
/**
|
|
257
|
-
* Hetzner config for the Node Template (list maxitems:1)
|
|
258
|
-
*/
|
|
259
|
-
readonly hetznerConfig: pulumi.Output<outputs.NodeTemplateHetznerConfig | undefined>;
|
|
260
|
-
/**
|
|
261
|
-
* Labels for Node Template object (map)
|
|
262
|
-
*
|
|
263
|
-
* **Note:** `labels` and `nodeTaints` will be applied to nodes deployed using the Node Template
|
|
264
|
-
*/
|
|
265
|
-
readonly labels: pulumi.Output<{
|
|
266
|
-
[key: string]: string;
|
|
267
|
-
}>;
|
|
268
|
-
/**
|
|
269
|
-
* Linode config for the Node Template (list maxitems:1)
|
|
270
|
-
*/
|
|
271
|
-
readonly linodeConfig: pulumi.Output<outputs.NodeTemplateLinodeConfig | undefined>;
|
|
272
|
-
/**
|
|
273
|
-
* The name of the Node Template (string)
|
|
274
|
-
*/
|
|
275
|
-
readonly name: pulumi.Output<string>;
|
|
276
|
-
/**
|
|
277
|
-
* Node taints. For Rancher v2.3.3 and above (List)
|
|
278
|
-
*/
|
|
279
|
-
readonly nodeTaints: pulumi.Output<outputs.NodeTemplateNodeTaint[] | undefined>;
|
|
280
|
-
/**
|
|
281
|
-
* Opennebula config for the Node Template (list maxitems:1)
|
|
282
|
-
*/
|
|
283
|
-
readonly opennebulaConfig: pulumi.Output<outputs.NodeTemplateOpennebulaConfig | undefined>;
|
|
284
|
-
/**
|
|
285
|
-
* Openstack config for the Node Template (list maxitems:1)
|
|
286
|
-
*/
|
|
287
|
-
readonly openstackConfig: pulumi.Output<outputs.NodeTemplateOpenstackConfig | undefined>;
|
|
288
|
-
/**
|
|
289
|
-
* Outscale config for the Node Template (list maxitems:1)
|
|
290
|
-
*/
|
|
291
|
-
readonly outscaleConfig: pulumi.Output<outputs.NodeTemplateOutscaleConfig | undefined>;
|
|
292
|
-
/**
|
|
293
|
-
* Engine storage driver for the node template (bool)
|
|
294
|
-
*/
|
|
295
|
-
readonly useInternalIpAddress: pulumi.Output<boolean | undefined>;
|
|
296
|
-
/**
|
|
297
|
-
* vSphere config for the Node Template (list maxitems:1)
|
|
298
|
-
*/
|
|
299
|
-
readonly vsphereConfig: pulumi.Output<outputs.NodeTemplateVsphereConfig | undefined>;
|
|
300
|
-
/**
|
|
301
|
-
* Create a NodeTemplate resource with the given unique name, arguments, and options.
|
|
302
|
-
*
|
|
303
|
-
* @param name The _unique_ name of the resource.
|
|
304
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
305
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
306
|
-
*/
|
|
307
|
-
constructor(name: string, args?: NodeTemplateArgs, opts?: pulumi.CustomResourceOptions);
|
|
308
|
-
}
|
|
309
|
-
/**
|
|
310
|
-
* Input properties used for looking up and filtering NodeTemplate resources.
|
|
311
|
-
*/
|
|
312
|
-
export interface NodeTemplateState {
|
|
313
|
-
/**
|
|
314
|
-
* AWS config for the Node Template (list maxitems:1)
|
|
315
|
-
*/
|
|
316
|
-
amazonec2Config?: pulumi.Input<inputs.NodeTemplateAmazonec2Config>;
|
|
317
|
-
/**
|
|
318
|
-
* Annotations for Node Template object (map)
|
|
319
|
-
*/
|
|
320
|
-
annotations?: pulumi.Input<{
|
|
321
|
-
[key: string]: pulumi.Input<string>;
|
|
322
|
-
}>;
|
|
323
|
-
/**
|
|
324
|
-
* Auth certificate authority for the Node Template (string)
|
|
325
|
-
*/
|
|
326
|
-
authCertificateAuthority?: pulumi.Input<string>;
|
|
327
|
-
/**
|
|
328
|
-
* Auth key for the Node Template (string)
|
|
329
|
-
*/
|
|
330
|
-
authKey?: pulumi.Input<string>;
|
|
331
|
-
/**
|
|
332
|
-
* Azure config for the Node Template (list maxitems:1)
|
|
333
|
-
*/
|
|
334
|
-
azureConfig?: pulumi.Input<inputs.NodeTemplateAzureConfig>;
|
|
335
|
-
/**
|
|
336
|
-
* Cloud credential ID for the Node Template. Required from Rancher v2.2.x (string)
|
|
337
|
-
*/
|
|
338
|
-
cloudCredentialId?: pulumi.Input<string>;
|
|
339
|
-
/**
|
|
340
|
-
* Description for the Node Template (string)
|
|
341
|
-
*/
|
|
342
|
-
description?: pulumi.Input<string>;
|
|
343
|
-
/**
|
|
344
|
-
* Digitalocean config for the Node Template (list maxitems:1)
|
|
345
|
-
*/
|
|
346
|
-
digitaloceanConfig?: pulumi.Input<inputs.NodeTemplateDigitaloceanConfig>;
|
|
347
|
-
/**
|
|
348
|
-
* (Computed) The driver of the node template (string)
|
|
349
|
-
*/
|
|
350
|
-
driver?: pulumi.Input<string>;
|
|
351
|
-
/**
|
|
352
|
-
* The node driver id used by the node template. It's required if the node driver isn't built in Rancher (string)
|
|
353
|
-
*/
|
|
354
|
-
driverId?: pulumi.Input<string>;
|
|
355
|
-
/**
|
|
356
|
-
* Engine environment for the node template (string)
|
|
357
|
-
*/
|
|
358
|
-
engineEnv?: pulumi.Input<{
|
|
359
|
-
[key: string]: pulumi.Input<string>;
|
|
360
|
-
}>;
|
|
361
|
-
/**
|
|
362
|
-
* Insecure registry for the node template (list)
|
|
363
|
-
*/
|
|
364
|
-
engineInsecureRegistries?: pulumi.Input<pulumi.Input<string>[]>;
|
|
365
|
-
/**
|
|
366
|
-
* Docker engine install URL for the node template. Available install docker versions at `https://github.com/rancher/install-docker` (string)
|
|
367
|
-
*/
|
|
368
|
-
engineInstallUrl?: pulumi.Input<string>;
|
|
369
|
-
/**
|
|
370
|
-
* Engine label for the node template (string)
|
|
371
|
-
*/
|
|
372
|
-
engineLabel?: pulumi.Input<{
|
|
373
|
-
[key: string]: pulumi.Input<string>;
|
|
374
|
-
}>;
|
|
375
|
-
/**
|
|
376
|
-
* Engine options for the node template (map)
|
|
377
|
-
*/
|
|
378
|
-
engineOpt?: pulumi.Input<{
|
|
379
|
-
[key: string]: pulumi.Input<string>;
|
|
380
|
-
}>;
|
|
381
|
-
/**
|
|
382
|
-
* Engine registry mirror for the node template (list)
|
|
383
|
-
*/
|
|
384
|
-
engineRegistryMirrors?: pulumi.Input<pulumi.Input<string>[]>;
|
|
385
|
-
/**
|
|
386
|
-
* Engine storage driver for the node template (string)
|
|
387
|
-
*/
|
|
388
|
-
engineStorageDriver?: pulumi.Input<string>;
|
|
389
|
-
/**
|
|
390
|
-
* Harvester config for the Node Template (list maxitems:1)
|
|
391
|
-
*/
|
|
392
|
-
harvesterConfig?: pulumi.Input<inputs.NodeTemplateHarvesterConfig>;
|
|
393
|
-
/**
|
|
394
|
-
* Hetzner config for the Node Template (list maxitems:1)
|
|
395
|
-
*/
|
|
396
|
-
hetznerConfig?: pulumi.Input<inputs.NodeTemplateHetznerConfig>;
|
|
397
|
-
/**
|
|
398
|
-
* Labels for Node Template object (map)
|
|
399
|
-
*
|
|
400
|
-
* **Note:** `labels` and `nodeTaints` will be applied to nodes deployed using the Node Template
|
|
401
|
-
*/
|
|
402
|
-
labels?: pulumi.Input<{
|
|
403
|
-
[key: string]: pulumi.Input<string>;
|
|
404
|
-
}>;
|
|
405
|
-
/**
|
|
406
|
-
* Linode config for the Node Template (list maxitems:1)
|
|
407
|
-
*/
|
|
408
|
-
linodeConfig?: pulumi.Input<inputs.NodeTemplateLinodeConfig>;
|
|
409
|
-
/**
|
|
410
|
-
* The name of the Node Template (string)
|
|
411
|
-
*/
|
|
412
|
-
name?: pulumi.Input<string>;
|
|
413
|
-
/**
|
|
414
|
-
* Node taints. For Rancher v2.3.3 and above (List)
|
|
415
|
-
*/
|
|
416
|
-
nodeTaints?: pulumi.Input<pulumi.Input<inputs.NodeTemplateNodeTaint>[]>;
|
|
417
|
-
/**
|
|
418
|
-
* Opennebula config for the Node Template (list maxitems:1)
|
|
419
|
-
*/
|
|
420
|
-
opennebulaConfig?: pulumi.Input<inputs.NodeTemplateOpennebulaConfig>;
|
|
421
|
-
/**
|
|
422
|
-
* Openstack config for the Node Template (list maxitems:1)
|
|
423
|
-
*/
|
|
424
|
-
openstackConfig?: pulumi.Input<inputs.NodeTemplateOpenstackConfig>;
|
|
425
|
-
/**
|
|
426
|
-
* Outscale config for the Node Template (list maxitems:1)
|
|
427
|
-
*/
|
|
428
|
-
outscaleConfig?: pulumi.Input<inputs.NodeTemplateOutscaleConfig>;
|
|
429
|
-
/**
|
|
430
|
-
* Engine storage driver for the node template (bool)
|
|
431
|
-
*/
|
|
432
|
-
useInternalIpAddress?: pulumi.Input<boolean>;
|
|
433
|
-
/**
|
|
434
|
-
* vSphere config for the Node Template (list maxitems:1)
|
|
435
|
-
*/
|
|
436
|
-
vsphereConfig?: pulumi.Input<inputs.NodeTemplateVsphereConfig>;
|
|
437
|
-
}
|
|
438
|
-
/**
|
|
439
|
-
* The set of arguments for constructing a NodeTemplate resource.
|
|
440
|
-
*/
|
|
441
|
-
export interface NodeTemplateArgs {
|
|
442
|
-
/**
|
|
443
|
-
* AWS config for the Node Template (list maxitems:1)
|
|
444
|
-
*/
|
|
445
|
-
amazonec2Config?: pulumi.Input<inputs.NodeTemplateAmazonec2Config>;
|
|
446
|
-
/**
|
|
447
|
-
* Annotations for Node Template object (map)
|
|
448
|
-
*/
|
|
449
|
-
annotations?: pulumi.Input<{
|
|
450
|
-
[key: string]: pulumi.Input<string>;
|
|
451
|
-
}>;
|
|
452
|
-
/**
|
|
453
|
-
* Auth certificate authority for the Node Template (string)
|
|
454
|
-
*/
|
|
455
|
-
authCertificateAuthority?: pulumi.Input<string>;
|
|
456
|
-
/**
|
|
457
|
-
* Auth key for the Node Template (string)
|
|
458
|
-
*/
|
|
459
|
-
authKey?: pulumi.Input<string>;
|
|
460
|
-
/**
|
|
461
|
-
* Azure config for the Node Template (list maxitems:1)
|
|
462
|
-
*/
|
|
463
|
-
azureConfig?: pulumi.Input<inputs.NodeTemplateAzureConfig>;
|
|
464
|
-
/**
|
|
465
|
-
* Cloud credential ID for the Node Template. Required from Rancher v2.2.x (string)
|
|
466
|
-
*/
|
|
467
|
-
cloudCredentialId?: pulumi.Input<string>;
|
|
468
|
-
/**
|
|
469
|
-
* Description for the Node Template (string)
|
|
470
|
-
*/
|
|
471
|
-
description?: pulumi.Input<string>;
|
|
472
|
-
/**
|
|
473
|
-
* Digitalocean config for the Node Template (list maxitems:1)
|
|
474
|
-
*/
|
|
475
|
-
digitaloceanConfig?: pulumi.Input<inputs.NodeTemplateDigitaloceanConfig>;
|
|
476
|
-
/**
|
|
477
|
-
* The node driver id used by the node template. It's required if the node driver isn't built in Rancher (string)
|
|
478
|
-
*/
|
|
479
|
-
driverId?: pulumi.Input<string>;
|
|
480
|
-
/**
|
|
481
|
-
* Engine environment for the node template (string)
|
|
482
|
-
*/
|
|
483
|
-
engineEnv?: pulumi.Input<{
|
|
484
|
-
[key: string]: pulumi.Input<string>;
|
|
485
|
-
}>;
|
|
486
|
-
/**
|
|
487
|
-
* Insecure registry for the node template (list)
|
|
488
|
-
*/
|
|
489
|
-
engineInsecureRegistries?: pulumi.Input<pulumi.Input<string>[]>;
|
|
490
|
-
/**
|
|
491
|
-
* Docker engine install URL for the node template. Available install docker versions at `https://github.com/rancher/install-docker` (string)
|
|
492
|
-
*/
|
|
493
|
-
engineInstallUrl?: pulumi.Input<string>;
|
|
494
|
-
/**
|
|
495
|
-
* Engine label for the node template (string)
|
|
496
|
-
*/
|
|
497
|
-
engineLabel?: pulumi.Input<{
|
|
498
|
-
[key: string]: pulumi.Input<string>;
|
|
499
|
-
}>;
|
|
500
|
-
/**
|
|
501
|
-
* Engine options for the node template (map)
|
|
502
|
-
*/
|
|
503
|
-
engineOpt?: pulumi.Input<{
|
|
504
|
-
[key: string]: pulumi.Input<string>;
|
|
505
|
-
}>;
|
|
506
|
-
/**
|
|
507
|
-
* Engine registry mirror for the node template (list)
|
|
508
|
-
*/
|
|
509
|
-
engineRegistryMirrors?: pulumi.Input<pulumi.Input<string>[]>;
|
|
510
|
-
/**
|
|
511
|
-
* Engine storage driver for the node template (string)
|
|
512
|
-
*/
|
|
513
|
-
engineStorageDriver?: pulumi.Input<string>;
|
|
514
|
-
/**
|
|
515
|
-
* Harvester config for the Node Template (list maxitems:1)
|
|
516
|
-
*/
|
|
517
|
-
harvesterConfig?: pulumi.Input<inputs.NodeTemplateHarvesterConfig>;
|
|
518
|
-
/**
|
|
519
|
-
* Hetzner config for the Node Template (list maxitems:1)
|
|
520
|
-
*/
|
|
521
|
-
hetznerConfig?: pulumi.Input<inputs.NodeTemplateHetznerConfig>;
|
|
522
|
-
/**
|
|
523
|
-
* Labels for Node Template object (map)
|
|
524
|
-
*
|
|
525
|
-
* **Note:** `labels` and `nodeTaints` will be applied to nodes deployed using the Node Template
|
|
526
|
-
*/
|
|
527
|
-
labels?: pulumi.Input<{
|
|
528
|
-
[key: string]: pulumi.Input<string>;
|
|
529
|
-
}>;
|
|
530
|
-
/**
|
|
531
|
-
* Linode config for the Node Template (list maxitems:1)
|
|
532
|
-
*/
|
|
533
|
-
linodeConfig?: pulumi.Input<inputs.NodeTemplateLinodeConfig>;
|
|
534
|
-
/**
|
|
535
|
-
* The name of the Node Template (string)
|
|
536
|
-
*/
|
|
537
|
-
name?: pulumi.Input<string>;
|
|
538
|
-
/**
|
|
539
|
-
* Node taints. For Rancher v2.3.3 and above (List)
|
|
540
|
-
*/
|
|
541
|
-
nodeTaints?: pulumi.Input<pulumi.Input<inputs.NodeTemplateNodeTaint>[]>;
|
|
542
|
-
/**
|
|
543
|
-
* Opennebula config for the Node Template (list maxitems:1)
|
|
544
|
-
*/
|
|
545
|
-
opennebulaConfig?: pulumi.Input<inputs.NodeTemplateOpennebulaConfig>;
|
|
546
|
-
/**
|
|
547
|
-
* Openstack config for the Node Template (list maxitems:1)
|
|
548
|
-
*/
|
|
549
|
-
openstackConfig?: pulumi.Input<inputs.NodeTemplateOpenstackConfig>;
|
|
550
|
-
/**
|
|
551
|
-
* Outscale config for the Node Template (list maxitems:1)
|
|
552
|
-
*/
|
|
553
|
-
outscaleConfig?: pulumi.Input<inputs.NodeTemplateOutscaleConfig>;
|
|
554
|
-
/**
|
|
555
|
-
* Engine storage driver for the node template (bool)
|
|
556
|
-
*/
|
|
557
|
-
useInternalIpAddress?: pulumi.Input<boolean>;
|
|
558
|
-
/**
|
|
559
|
-
* vSphere config for the Node Template (list maxitems:1)
|
|
560
|
-
*/
|
|
561
|
-
vsphereConfig?: pulumi.Input<inputs.NodeTemplateVsphereConfig>;
|
|
562
|
-
}
|