@pulumi/rancher2 5.1.0 → 5.1.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/authConfigPing.d.ts +9 -0
- package/authConfigPing.js.map +1 -1
- package/cloudCredential.d.ts +3 -3
- package/cluster.d.ts +93 -48
- package/cluster.js +52 -7
- package/cluster.js.map +1 -1
- package/clusterRoleTemplateBinding.d.ts +3 -3
- package/clusterSync.d.ts +3 -3
- package/clusterTemplate.d.ts +1 -1
- package/clusterTemplate.js +1 -1
- package/clusterV2.d.ts +6 -26
- package/clusterV2.js +0 -20
- package/clusterV2.js.map +1 -1
- package/feature.d.ts +1 -1
- package/feature.js +1 -1
- package/getCluster.d.ts +3 -3
- package/globalRoleBinding.d.ts +3 -3
- package/machineConfigV2.d.ts +4 -4
- package/machineConfigV2.js +1 -1
- package/nodePool.d.ts +6 -6
- package/nodeTemplate.d.ts +7 -7
- package/nodeTemplate.js +1 -1
- package/package.json +2 -2
- package/projectRoleTemplateBinding.d.ts +3 -3
- package/provider.js +1 -1
- package/provider.js.map +1 -1
- package/registry.d.ts +4 -4
- package/registry.js +4 -4
- package/types/input.d.ts +148 -94
- package/types/output.d.ts +148 -94
package/authConfigPing.d.ts
CHANGED
|
@@ -61,6 +61,9 @@ export declare class AuthConfigPing extends pulumi.CustomResource {
|
|
|
61
61
|
* Enable auth config provider. Default `true` (bool)
|
|
62
62
|
*/
|
|
63
63
|
readonly enabled: pulumi.Output<boolean | undefined>;
|
|
64
|
+
/**
|
|
65
|
+
* Ping entity ID field (string)
|
|
66
|
+
*/
|
|
64
67
|
readonly entityIdField: pulumi.Output<string | undefined>;
|
|
65
68
|
/**
|
|
66
69
|
* Ping group field (string)
|
|
@@ -139,6 +142,9 @@ export interface AuthConfigPingState {
|
|
|
139
142
|
* Enable auth config provider. Default `true` (bool)
|
|
140
143
|
*/
|
|
141
144
|
enabled?: pulumi.Input<boolean>;
|
|
145
|
+
/**
|
|
146
|
+
* Ping entity ID field (string)
|
|
147
|
+
*/
|
|
142
148
|
entityIdField?: pulumi.Input<string>;
|
|
143
149
|
/**
|
|
144
150
|
* Ping group field (string)
|
|
@@ -209,6 +215,9 @@ export interface AuthConfigPingArgs {
|
|
|
209
215
|
* Enable auth config provider. Default `true` (bool)
|
|
210
216
|
*/
|
|
211
217
|
enabled?: pulumi.Input<boolean>;
|
|
218
|
+
/**
|
|
219
|
+
* Ping entity ID field (string)
|
|
220
|
+
*/
|
|
212
221
|
entityIdField?: pulumi.Input<string>;
|
|
213
222
|
/**
|
|
214
223
|
* Ping group field (string)
|
package/authConfigPing.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authConfigPing.js","sourceRoot":"","sources":["../authConfigPing.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;
|
|
1
|
+
{"version":3,"file":"authConfigPing.js","sourceRoot":"","sources":["../authConfigPing.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;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cloudCredential.d.ts
CHANGED
|
@@ -116,7 +116,7 @@ export declare class CloudCredential extends pulumi.CustomResource {
|
|
|
116
116
|
*/
|
|
117
117
|
readonly openstackCredentialConfig: pulumi.Output<outputs.CloudCredentialOpenstackCredentialConfig | undefined>;
|
|
118
118
|
/**
|
|
119
|
-
* S3 config for the Cloud Credential.
|
|
119
|
+
* S3 config for the Cloud Credential. For Rancher 2.6.0 and above (list maxitems:1)
|
|
120
120
|
*/
|
|
121
121
|
readonly s3CredentialConfig: pulumi.Output<outputs.CloudCredentialS3CredentialConfig | undefined>;
|
|
122
122
|
/**
|
|
@@ -189,7 +189,7 @@ export interface CloudCredentialState {
|
|
|
189
189
|
*/
|
|
190
190
|
openstackCredentialConfig?: pulumi.Input<inputs.CloudCredentialOpenstackCredentialConfig>;
|
|
191
191
|
/**
|
|
192
|
-
* S3 config for the Cloud Credential.
|
|
192
|
+
* S3 config for the Cloud Credential. For Rancher 2.6.0 and above (list maxitems:1)
|
|
193
193
|
*/
|
|
194
194
|
s3CredentialConfig?: pulumi.Input<inputs.CloudCredentialS3CredentialConfig>;
|
|
195
195
|
/**
|
|
@@ -250,7 +250,7 @@ export interface CloudCredentialArgs {
|
|
|
250
250
|
*/
|
|
251
251
|
openstackCredentialConfig?: pulumi.Input<inputs.CloudCredentialOpenstackCredentialConfig>;
|
|
252
252
|
/**
|
|
253
|
-
* S3 config for the Cloud Credential.
|
|
253
|
+
* S3 config for the Cloud Credential. For Rancher 2.6.0 and above (list maxitems:1)
|
|
254
254
|
*/
|
|
255
255
|
s3CredentialConfig?: pulumi.Input<inputs.CloudCredentialS3CredentialConfig>;
|
|
256
256
|
/**
|
package/cluster.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import * as outputs from "./types/output";
|
|
|
9
9
|
* **Note optional/computed arguments** If any `optional/computed` argument of this resource is defined by the user, removing it from tf file will NOT reset its value. To reset it, let its definition at tf file as empty/false object. Ex: `enableClusterMonitoring = false`, `cloudProvider {}`, `name = ""`
|
|
10
10
|
* ### Creating Rancher v2 RKE cluster enabling and customizing monitoring
|
|
11
11
|
*
|
|
12
|
-
* **Note** Cluster monitoring version `0.2.0`
|
|
12
|
+
* **Note** Cluster monitoring version `0.2.0` and above, can't be enabled until cluster is fully deployed as [`kubeVersion`](https://github.com/rancher/system-charts/blob/52be656700468904b9bf15c3f39cd7112e1f8c9b/charts/rancher-monitoring/v0.2.0/Chart.yaml#L12) requirement has been introduced to helm chart
|
|
13
13
|
*
|
|
14
14
|
* ```typescript
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -189,7 +189,7 @@ import * as outputs from "./types/output";
|
|
|
189
189
|
* worker: true,
|
|
190
190
|
* });
|
|
191
191
|
* ```
|
|
192
|
-
* ### Creating Rancher v2 RKE cluster from template. For Rancher v2.3.x
|
|
192
|
+
* ### Creating Rancher v2 RKE cluster from template. For Rancher v2.3.x and above.
|
|
193
193
|
*
|
|
194
194
|
* ```typescript
|
|
195
195
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -226,7 +226,7 @@ import * as outputs from "./types/output";
|
|
|
226
226
|
* clusterTemplateRevisionId: fooClusterTemplate.templateRevisions.apply(templateRevisions => templateRevisions[0].id),
|
|
227
227
|
* });
|
|
228
228
|
* ```
|
|
229
|
-
* ### Creating Rancher v2 RKE cluster with upgrade strategy. For Rancher v2.4.x
|
|
229
|
+
* ### Creating Rancher v2 RKE cluster with upgrade strategy. For Rancher v2.4.x and above.
|
|
230
230
|
*
|
|
231
231
|
* ```typescript
|
|
232
232
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -276,7 +276,52 @@ import * as outputs from "./types/output";
|
|
|
276
276
|
* },
|
|
277
277
|
* });
|
|
278
278
|
* ```
|
|
279
|
-
* ###
|
|
279
|
+
* ### Creating Rancher v2 RKE cluster with cluster agent customization. For Rancher v2.7.5 and above.
|
|
280
|
+
*
|
|
281
|
+
* ```typescript
|
|
282
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
283
|
+
* import * as rancher2 from "@pulumi/rancher2";
|
|
284
|
+
*
|
|
285
|
+
* const foo = new rancher2.Cluster("foo", {
|
|
286
|
+
* clusterAgentDeploymentCustomizations: [{
|
|
287
|
+
* appendTolerations: [{
|
|
288
|
+
* effect: "NoSchedule",
|
|
289
|
+
* key: "tolerate/control-plane",
|
|
290
|
+
* value: "true",
|
|
291
|
+
* }],
|
|
292
|
+
* overrideAffinity: `{
|
|
293
|
+
* "nodeAffinity": {
|
|
294
|
+
* "requiredDuringSchedulingIgnoredDuringExecution": {
|
|
295
|
+
* "nodeSelectorTerms": [{
|
|
296
|
+
* "matchExpressions": [{
|
|
297
|
+
* "key": "not.this/nodepool",
|
|
298
|
+
* "operator": "In",
|
|
299
|
+
* "values": [
|
|
300
|
+
* "true"
|
|
301
|
+
* ]
|
|
302
|
+
* }]
|
|
303
|
+
* }]
|
|
304
|
+
* }
|
|
305
|
+
* }
|
|
306
|
+
* }
|
|
307
|
+
*
|
|
308
|
+
* `,
|
|
309
|
+
* overrideResourceRequirements: [{
|
|
310
|
+
* cpuLimit: "800",
|
|
311
|
+
* cpuRequest: "500",
|
|
312
|
+
* memoryLimit: "800",
|
|
313
|
+
* memoryRequest: "500",
|
|
314
|
+
* }],
|
|
315
|
+
* }],
|
|
316
|
+
* description: "Terraform cluster with agent customization",
|
|
317
|
+
* rkeConfig: {
|
|
318
|
+
* network: {
|
|
319
|
+
* plugin: "canal",
|
|
320
|
+
* },
|
|
321
|
+
* },
|
|
322
|
+
* });
|
|
323
|
+
* ```
|
|
324
|
+
* ### Importing EKS cluster to Rancher v2, using `eksConfigV2`. For Rancher v2.5.x and above.
|
|
280
325
|
*
|
|
281
326
|
* ```typescript
|
|
282
327
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -299,7 +344,7 @@ import * as outputs from "./types/output";
|
|
|
299
344
|
* },
|
|
300
345
|
* });
|
|
301
346
|
* ```
|
|
302
|
-
* ### Creating EKS cluster from Rancher v2, using `eksConfigV2`. For Rancher v2.5.x
|
|
347
|
+
* ### Creating EKS cluster from Rancher v2, using `eksConfigV2`. For Rancher v2.5.x and above.
|
|
303
348
|
*
|
|
304
349
|
* ```typescript
|
|
305
350
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -342,7 +387,7 @@ import * as outputs from "./types/output";
|
|
|
342
387
|
* },
|
|
343
388
|
* });
|
|
344
389
|
* ```
|
|
345
|
-
* ### Creating EKS cluster from Rancher v2, using `eksConfigV2` and launch template. For Rancher v2.5.6
|
|
390
|
+
* ### Creating EKS cluster from Rancher v2, using `eksConfigV2` and launch template. For Rancher v2.5.6 and above.
|
|
346
391
|
*
|
|
347
392
|
* ```typescript
|
|
348
393
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -379,7 +424,7 @@ import * as outputs from "./types/output";
|
|
|
379
424
|
* },
|
|
380
425
|
* });
|
|
381
426
|
* ```
|
|
382
|
-
* ### Creating AKS cluster from Rancher v2, using `aksConfigV2`. For Rancher v2.6.0
|
|
427
|
+
* ### Creating AKS cluster from Rancher v2, using `aksConfigV2`. For Rancher v2.6.0 and above.
|
|
383
428
|
*
|
|
384
429
|
* ```typescript
|
|
385
430
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -462,7 +507,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
462
507
|
*/
|
|
463
508
|
static isInstance(obj: any): obj is Cluster;
|
|
464
509
|
/**
|
|
465
|
-
* Optional Agent Env Vars for Rancher agent.
|
|
510
|
+
* Optional Agent Env Vars for Rancher agent. For Rancher v2.5.6 and above (list)
|
|
466
511
|
*/
|
|
467
512
|
readonly agentEnvVars: pulumi.Output<outputs.ClusterAgentEnvVar[] | undefined>;
|
|
468
513
|
/**
|
|
@@ -484,7 +529,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
484
529
|
*/
|
|
485
530
|
readonly caCert: pulumi.Output<string>;
|
|
486
531
|
/**
|
|
487
|
-
* Optional customization for cluster agent
|
|
532
|
+
* Optional customization for cluster agent. For Rancher v2.7.5 and above (list)
|
|
488
533
|
*/
|
|
489
534
|
readonly clusterAgentDeploymentCustomizations: pulumi.Output<outputs.ClusterClusterAgentDeploymentCustomization[] | undefined>;
|
|
490
535
|
/**
|
|
@@ -500,23 +545,23 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
500
545
|
*/
|
|
501
546
|
readonly clusterRegistrationToken: pulumi.Output<outputs.ClusterClusterRegistrationToken>;
|
|
502
547
|
/**
|
|
503
|
-
* Cluster template answers.
|
|
548
|
+
* Cluster template answers. For Rancher v2.3.x and above (list maxitems:1)
|
|
504
549
|
*/
|
|
505
550
|
readonly clusterTemplateAnswers: pulumi.Output<outputs.ClusterClusterTemplateAnswers>;
|
|
506
551
|
/**
|
|
507
|
-
* Cluster template ID.
|
|
552
|
+
* Cluster template ID. For Rancher v2.3.x and above (string)
|
|
508
553
|
*/
|
|
509
554
|
readonly clusterTemplateId: pulumi.Output<string | undefined>;
|
|
510
555
|
/**
|
|
511
|
-
* Cluster template questions.
|
|
556
|
+
* Cluster template questions. For Rancher v2.3.x and above (list)
|
|
512
557
|
*/
|
|
513
558
|
readonly clusterTemplateQuestions: pulumi.Output<outputs.ClusterClusterTemplateQuestion[]>;
|
|
514
559
|
/**
|
|
515
|
-
* Cluster template revision ID.
|
|
560
|
+
* Cluster template revision ID. For Rancher v2.3.x and above (string)
|
|
516
561
|
*/
|
|
517
562
|
readonly clusterTemplateRevisionId: pulumi.Output<string | undefined>;
|
|
518
563
|
/**
|
|
519
|
-
* Cluster default pod security admission configuration template name
|
|
564
|
+
* Cluster default pod security admission configuration template name (string)
|
|
520
565
|
*/
|
|
521
566
|
readonly defaultPodSecurityAdmissionConfigurationTemplateName: pulumi.Output<string>;
|
|
522
567
|
/**
|
|
@@ -532,15 +577,15 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
532
577
|
*/
|
|
533
578
|
readonly description: pulumi.Output<string | undefined>;
|
|
534
579
|
/**
|
|
535
|
-
* Desired agent image.
|
|
580
|
+
* Desired agent image. For Rancher v2.3.x and above (string)
|
|
536
581
|
*/
|
|
537
582
|
readonly desiredAgentImage: pulumi.Output<string>;
|
|
538
583
|
/**
|
|
539
|
-
* Desired auth image.
|
|
584
|
+
* Desired auth image. For Rancher v2.3.x and above (string)
|
|
540
585
|
*/
|
|
541
586
|
readonly desiredAuthImage: pulumi.Output<string>;
|
|
542
587
|
/**
|
|
543
|
-
* Desired auth image.
|
|
588
|
+
* Desired auth image. For Rancher v2.3.x and above (string)
|
|
544
589
|
*/
|
|
545
590
|
readonly dockerRootDir: pulumi.Output<string>;
|
|
546
591
|
/**
|
|
@@ -552,7 +597,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
552
597
|
*/
|
|
553
598
|
readonly eksConfig: pulumi.Output<outputs.ClusterEksConfig | undefined>;
|
|
554
599
|
/**
|
|
555
|
-
* The Amazon EKS V2 configuration to create or import `eks` Clusters. Conflicts with `aksConfig`, `eksConfig`, `gkeConfig`, `gkeConfigV2`, `okeConfig` `k3sConfig` and `rkeConfig`. For Rancher v2.5.x
|
|
600
|
+
* The Amazon EKS V2 configuration to create or import `eks` Clusters. Conflicts with `aksConfig`, `eksConfig`, `gkeConfig`, `gkeConfigV2`, `okeConfig` `k3sConfig` and `rkeConfig`. For Rancher v2.5.x and above (list maxitems:1)
|
|
556
601
|
*/
|
|
557
602
|
readonly eksConfigV2: pulumi.Output<outputs.ClusterEksConfigV2>;
|
|
558
603
|
/**
|
|
@@ -574,7 +619,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
574
619
|
*/
|
|
575
620
|
readonly enableNetworkPolicy: pulumi.Output<boolean>;
|
|
576
621
|
/**
|
|
577
|
-
* Optional customization for fleet agent
|
|
622
|
+
* Optional customization for fleet agent. For Rancher v2.7.5 and above (list)
|
|
578
623
|
*/
|
|
579
624
|
readonly fleetAgentDeploymentCustomizations: pulumi.Output<outputs.ClusterFleetAgentDeploymentCustomization[] | undefined>;
|
|
580
625
|
/**
|
|
@@ -586,11 +631,11 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
586
631
|
*/
|
|
587
632
|
readonly gkeConfig: pulumi.Output<outputs.ClusterGkeConfig | undefined>;
|
|
588
633
|
/**
|
|
589
|
-
* The Google GKE V2 configuration for `gke` Clusters. Conflicts with `aksConfig`, `aksConfigV2`, `eksConfig`, `eksConfigV2`, `gkeConfig`, `okeConfig`, `k3sConfig` and `rkeConfig`. For Rancher v2.5.8
|
|
634
|
+
* The Google GKE V2 configuration for `gke` Clusters. Conflicts with `aksConfig`, `aksConfigV2`, `eksConfig`, `eksConfigV2`, `gkeConfig`, `okeConfig`, `k3sConfig` and `rkeConfig`. For Rancher v2.5.8 and above (list maxitems:1)
|
|
590
635
|
*/
|
|
591
636
|
readonly gkeConfigV2: pulumi.Output<outputs.ClusterGkeConfigV2 | undefined>;
|
|
592
637
|
/**
|
|
593
|
-
* (Computed) Is istio enabled at cluster?
|
|
638
|
+
* (Computed) Is istio enabled at cluster? For Rancher v2.3.x and above (bool)
|
|
594
639
|
*/
|
|
595
640
|
readonly istioEnabled: pulumi.Output<boolean>;
|
|
596
641
|
/**
|
|
@@ -645,7 +690,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
645
690
|
*/
|
|
646
691
|
export interface ClusterState {
|
|
647
692
|
/**
|
|
648
|
-
* Optional Agent Env Vars for Rancher agent.
|
|
693
|
+
* Optional Agent Env Vars for Rancher agent. For Rancher v2.5.6 and above (list)
|
|
649
694
|
*/
|
|
650
695
|
agentEnvVars?: pulumi.Input<pulumi.Input<inputs.ClusterAgentEnvVar>[]>;
|
|
651
696
|
/**
|
|
@@ -667,7 +712,7 @@ export interface ClusterState {
|
|
|
667
712
|
*/
|
|
668
713
|
caCert?: pulumi.Input<string>;
|
|
669
714
|
/**
|
|
670
|
-
* Optional customization for cluster agent
|
|
715
|
+
* Optional customization for cluster agent. For Rancher v2.7.5 and above (list)
|
|
671
716
|
*/
|
|
672
717
|
clusterAgentDeploymentCustomizations?: pulumi.Input<pulumi.Input<inputs.ClusterClusterAgentDeploymentCustomization>[]>;
|
|
673
718
|
/**
|
|
@@ -683,23 +728,23 @@ export interface ClusterState {
|
|
|
683
728
|
*/
|
|
684
729
|
clusterRegistrationToken?: pulumi.Input<inputs.ClusterClusterRegistrationToken>;
|
|
685
730
|
/**
|
|
686
|
-
* Cluster template answers.
|
|
731
|
+
* Cluster template answers. For Rancher v2.3.x and above (list maxitems:1)
|
|
687
732
|
*/
|
|
688
733
|
clusterTemplateAnswers?: pulumi.Input<inputs.ClusterClusterTemplateAnswers>;
|
|
689
734
|
/**
|
|
690
|
-
* Cluster template ID.
|
|
735
|
+
* Cluster template ID. For Rancher v2.3.x and above (string)
|
|
691
736
|
*/
|
|
692
737
|
clusterTemplateId?: pulumi.Input<string>;
|
|
693
738
|
/**
|
|
694
|
-
* Cluster template questions.
|
|
739
|
+
* Cluster template questions. For Rancher v2.3.x and above (list)
|
|
695
740
|
*/
|
|
696
741
|
clusterTemplateQuestions?: pulumi.Input<pulumi.Input<inputs.ClusterClusterTemplateQuestion>[]>;
|
|
697
742
|
/**
|
|
698
|
-
* Cluster template revision ID.
|
|
743
|
+
* Cluster template revision ID. For Rancher v2.3.x and above (string)
|
|
699
744
|
*/
|
|
700
745
|
clusterTemplateRevisionId?: pulumi.Input<string>;
|
|
701
746
|
/**
|
|
702
|
-
* Cluster default pod security admission configuration template name
|
|
747
|
+
* Cluster default pod security admission configuration template name (string)
|
|
703
748
|
*/
|
|
704
749
|
defaultPodSecurityAdmissionConfigurationTemplateName?: pulumi.Input<string>;
|
|
705
750
|
/**
|
|
@@ -715,15 +760,15 @@ export interface ClusterState {
|
|
|
715
760
|
*/
|
|
716
761
|
description?: pulumi.Input<string>;
|
|
717
762
|
/**
|
|
718
|
-
* Desired agent image.
|
|
763
|
+
* Desired agent image. For Rancher v2.3.x and above (string)
|
|
719
764
|
*/
|
|
720
765
|
desiredAgentImage?: pulumi.Input<string>;
|
|
721
766
|
/**
|
|
722
|
-
* Desired auth image.
|
|
767
|
+
* Desired auth image. For Rancher v2.3.x and above (string)
|
|
723
768
|
*/
|
|
724
769
|
desiredAuthImage?: pulumi.Input<string>;
|
|
725
770
|
/**
|
|
726
|
-
* Desired auth image.
|
|
771
|
+
* Desired auth image. For Rancher v2.3.x and above (string)
|
|
727
772
|
*/
|
|
728
773
|
dockerRootDir?: pulumi.Input<string>;
|
|
729
774
|
/**
|
|
@@ -735,7 +780,7 @@ export interface ClusterState {
|
|
|
735
780
|
*/
|
|
736
781
|
eksConfig?: pulumi.Input<inputs.ClusterEksConfig>;
|
|
737
782
|
/**
|
|
738
|
-
* The Amazon EKS V2 configuration to create or import `eks` Clusters. Conflicts with `aksConfig`, `eksConfig`, `gkeConfig`, `gkeConfigV2`, `okeConfig` `k3sConfig` and `rkeConfig`. For Rancher v2.5.x
|
|
783
|
+
* The Amazon EKS V2 configuration to create or import `eks` Clusters. Conflicts with `aksConfig`, `eksConfig`, `gkeConfig`, `gkeConfigV2`, `okeConfig` `k3sConfig` and `rkeConfig`. For Rancher v2.5.x and above (list maxitems:1)
|
|
739
784
|
*/
|
|
740
785
|
eksConfigV2?: pulumi.Input<inputs.ClusterEksConfigV2>;
|
|
741
786
|
/**
|
|
@@ -757,7 +802,7 @@ export interface ClusterState {
|
|
|
757
802
|
*/
|
|
758
803
|
enableNetworkPolicy?: pulumi.Input<boolean>;
|
|
759
804
|
/**
|
|
760
|
-
* Optional customization for fleet agent
|
|
805
|
+
* Optional customization for fleet agent. For Rancher v2.7.5 and above (list)
|
|
761
806
|
*/
|
|
762
807
|
fleetAgentDeploymentCustomizations?: pulumi.Input<pulumi.Input<inputs.ClusterFleetAgentDeploymentCustomization>[]>;
|
|
763
808
|
/**
|
|
@@ -769,11 +814,11 @@ export interface ClusterState {
|
|
|
769
814
|
*/
|
|
770
815
|
gkeConfig?: pulumi.Input<inputs.ClusterGkeConfig>;
|
|
771
816
|
/**
|
|
772
|
-
* The Google GKE V2 configuration for `gke` Clusters. Conflicts with `aksConfig`, `aksConfigV2`, `eksConfig`, `eksConfigV2`, `gkeConfig`, `okeConfig`, `k3sConfig` and `rkeConfig`. For Rancher v2.5.8
|
|
817
|
+
* The Google GKE V2 configuration for `gke` Clusters. Conflicts with `aksConfig`, `aksConfigV2`, `eksConfig`, `eksConfigV2`, `gkeConfig`, `okeConfig`, `k3sConfig` and `rkeConfig`. For Rancher v2.5.8 and above (list maxitems:1)
|
|
773
818
|
*/
|
|
774
819
|
gkeConfigV2?: pulumi.Input<inputs.ClusterGkeConfigV2>;
|
|
775
820
|
/**
|
|
776
|
-
* (Computed) Is istio enabled at cluster?
|
|
821
|
+
* (Computed) Is istio enabled at cluster? For Rancher v2.3.x and above (bool)
|
|
777
822
|
*/
|
|
778
823
|
istioEnabled?: pulumi.Input<boolean>;
|
|
779
824
|
/**
|
|
@@ -820,7 +865,7 @@ export interface ClusterState {
|
|
|
820
865
|
*/
|
|
821
866
|
export interface ClusterArgs {
|
|
822
867
|
/**
|
|
823
|
-
* Optional Agent Env Vars for Rancher agent.
|
|
868
|
+
* Optional Agent Env Vars for Rancher agent. For Rancher v2.5.6 and above (list)
|
|
824
869
|
*/
|
|
825
870
|
agentEnvVars?: pulumi.Input<pulumi.Input<inputs.ClusterAgentEnvVar>[]>;
|
|
826
871
|
/**
|
|
@@ -838,7 +883,7 @@ export interface ClusterArgs {
|
|
|
838
883
|
[key: string]: any;
|
|
839
884
|
}>;
|
|
840
885
|
/**
|
|
841
|
-
* Optional customization for cluster agent
|
|
886
|
+
* Optional customization for cluster agent. For Rancher v2.7.5 and above (list)
|
|
842
887
|
*/
|
|
843
888
|
clusterAgentDeploymentCustomizations?: pulumi.Input<pulumi.Input<inputs.ClusterClusterAgentDeploymentCustomization>[]>;
|
|
844
889
|
/**
|
|
@@ -850,23 +895,23 @@ export interface ClusterArgs {
|
|
|
850
895
|
*/
|
|
851
896
|
clusterMonitoringInput?: pulumi.Input<inputs.ClusterClusterMonitoringInput>;
|
|
852
897
|
/**
|
|
853
|
-
* Cluster template answers.
|
|
898
|
+
* Cluster template answers. For Rancher v2.3.x and above (list maxitems:1)
|
|
854
899
|
*/
|
|
855
900
|
clusterTemplateAnswers?: pulumi.Input<inputs.ClusterClusterTemplateAnswers>;
|
|
856
901
|
/**
|
|
857
|
-
* Cluster template ID.
|
|
902
|
+
* Cluster template ID. For Rancher v2.3.x and above (string)
|
|
858
903
|
*/
|
|
859
904
|
clusterTemplateId?: pulumi.Input<string>;
|
|
860
905
|
/**
|
|
861
|
-
* Cluster template questions.
|
|
906
|
+
* Cluster template questions. For Rancher v2.3.x and above (list)
|
|
862
907
|
*/
|
|
863
908
|
clusterTemplateQuestions?: pulumi.Input<pulumi.Input<inputs.ClusterClusterTemplateQuestion>[]>;
|
|
864
909
|
/**
|
|
865
|
-
* Cluster template revision ID.
|
|
910
|
+
* Cluster template revision ID. For Rancher v2.3.x and above (string)
|
|
866
911
|
*/
|
|
867
912
|
clusterTemplateRevisionId?: pulumi.Input<string>;
|
|
868
913
|
/**
|
|
869
|
-
* Cluster default pod security admission configuration template name
|
|
914
|
+
* Cluster default pod security admission configuration template name (string)
|
|
870
915
|
*/
|
|
871
916
|
defaultPodSecurityAdmissionConfigurationTemplateName?: pulumi.Input<string>;
|
|
872
917
|
/**
|
|
@@ -878,15 +923,15 @@ export interface ClusterArgs {
|
|
|
878
923
|
*/
|
|
879
924
|
description?: pulumi.Input<string>;
|
|
880
925
|
/**
|
|
881
|
-
* Desired agent image.
|
|
926
|
+
* Desired agent image. For Rancher v2.3.x and above (string)
|
|
882
927
|
*/
|
|
883
928
|
desiredAgentImage?: pulumi.Input<string>;
|
|
884
929
|
/**
|
|
885
|
-
* Desired auth image.
|
|
930
|
+
* Desired auth image. For Rancher v2.3.x and above (string)
|
|
886
931
|
*/
|
|
887
932
|
desiredAuthImage?: pulumi.Input<string>;
|
|
888
933
|
/**
|
|
889
|
-
* Desired auth image.
|
|
934
|
+
* Desired auth image. For Rancher v2.3.x and above (string)
|
|
890
935
|
*/
|
|
891
936
|
dockerRootDir?: pulumi.Input<string>;
|
|
892
937
|
/**
|
|
@@ -898,7 +943,7 @@ export interface ClusterArgs {
|
|
|
898
943
|
*/
|
|
899
944
|
eksConfig?: pulumi.Input<inputs.ClusterEksConfig>;
|
|
900
945
|
/**
|
|
901
|
-
* The Amazon EKS V2 configuration to create or import `eks` Clusters. Conflicts with `aksConfig`, `eksConfig`, `gkeConfig`, `gkeConfigV2`, `okeConfig` `k3sConfig` and `rkeConfig`. For Rancher v2.5.x
|
|
946
|
+
* The Amazon EKS V2 configuration to create or import `eks` Clusters. Conflicts with `aksConfig`, `eksConfig`, `gkeConfig`, `gkeConfigV2`, `okeConfig` `k3sConfig` and `rkeConfig`. For Rancher v2.5.x and above (list maxitems:1)
|
|
902
947
|
*/
|
|
903
948
|
eksConfigV2?: pulumi.Input<inputs.ClusterEksConfigV2>;
|
|
904
949
|
/**
|
|
@@ -914,7 +959,7 @@ export interface ClusterArgs {
|
|
|
914
959
|
*/
|
|
915
960
|
enableNetworkPolicy?: pulumi.Input<boolean>;
|
|
916
961
|
/**
|
|
917
|
-
* Optional customization for fleet agent
|
|
962
|
+
* Optional customization for fleet agent. For Rancher v2.7.5 and above (list)
|
|
918
963
|
*/
|
|
919
964
|
fleetAgentDeploymentCustomizations?: pulumi.Input<pulumi.Input<inputs.ClusterFleetAgentDeploymentCustomization>[]>;
|
|
920
965
|
/**
|
|
@@ -926,7 +971,7 @@ export interface ClusterArgs {
|
|
|
926
971
|
*/
|
|
927
972
|
gkeConfig?: pulumi.Input<inputs.ClusterGkeConfig>;
|
|
928
973
|
/**
|
|
929
|
-
* The Google GKE V2 configuration for `gke` Clusters. Conflicts with `aksConfig`, `aksConfigV2`, `eksConfig`, `eksConfigV2`, `gkeConfig`, `okeConfig`, `k3sConfig` and `rkeConfig`. For Rancher v2.5.8
|
|
974
|
+
* The Google GKE V2 configuration for `gke` Clusters. Conflicts with `aksConfig`, `aksConfigV2`, `eksConfig`, `eksConfigV2`, `gkeConfig`, `okeConfig`, `k3sConfig` and `rkeConfig`. For Rancher v2.5.8 and above (list maxitems:1)
|
|
930
975
|
*/
|
|
931
976
|
gkeConfigV2?: pulumi.Input<inputs.ClusterGkeConfigV2>;
|
|
932
977
|
/**
|
package/cluster.js
CHANGED
|
@@ -13,7 +13,7 @@ const utilities = require("./utilities");
|
|
|
13
13
|
* **Note optional/computed arguments** If any `optional/computed` argument of this resource is defined by the user, removing it from tf file will NOT reset its value. To reset it, let its definition at tf file as empty/false object. Ex: `enableClusterMonitoring = false`, `cloudProvider {}`, `name = ""`
|
|
14
14
|
* ### Creating Rancher v2 RKE cluster enabling and customizing monitoring
|
|
15
15
|
*
|
|
16
|
-
* **Note** Cluster monitoring version `0.2.0`
|
|
16
|
+
* **Note** Cluster monitoring version `0.2.0` and above, can't be enabled until cluster is fully deployed as [`kubeVersion`](https://github.com/rancher/system-charts/blob/52be656700468904b9bf15c3f39cd7112e1f8c9b/charts/rancher-monitoring/v0.2.0/Chart.yaml#L12) requirement has been introduced to helm chart
|
|
17
17
|
*
|
|
18
18
|
* ```typescript
|
|
19
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -193,7 +193,7 @@ const utilities = require("./utilities");
|
|
|
193
193
|
* worker: true,
|
|
194
194
|
* });
|
|
195
195
|
* ```
|
|
196
|
-
* ### Creating Rancher v2 RKE cluster from template. For Rancher v2.3.x
|
|
196
|
+
* ### Creating Rancher v2 RKE cluster from template. For Rancher v2.3.x and above.
|
|
197
197
|
*
|
|
198
198
|
* ```typescript
|
|
199
199
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -230,7 +230,7 @@ const utilities = require("./utilities");
|
|
|
230
230
|
* clusterTemplateRevisionId: fooClusterTemplate.templateRevisions.apply(templateRevisions => templateRevisions[0].id),
|
|
231
231
|
* });
|
|
232
232
|
* ```
|
|
233
|
-
* ### Creating Rancher v2 RKE cluster with upgrade strategy. For Rancher v2.4.x
|
|
233
|
+
* ### Creating Rancher v2 RKE cluster with upgrade strategy. For Rancher v2.4.x and above.
|
|
234
234
|
*
|
|
235
235
|
* ```typescript
|
|
236
236
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -280,7 +280,52 @@ const utilities = require("./utilities");
|
|
|
280
280
|
* },
|
|
281
281
|
* });
|
|
282
282
|
* ```
|
|
283
|
-
* ###
|
|
283
|
+
* ### Creating Rancher v2 RKE cluster with cluster agent customization. For Rancher v2.7.5 and above.
|
|
284
|
+
*
|
|
285
|
+
* ```typescript
|
|
286
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
287
|
+
* import * as rancher2 from "@pulumi/rancher2";
|
|
288
|
+
*
|
|
289
|
+
* const foo = new rancher2.Cluster("foo", {
|
|
290
|
+
* clusterAgentDeploymentCustomizations: [{
|
|
291
|
+
* appendTolerations: [{
|
|
292
|
+
* effect: "NoSchedule",
|
|
293
|
+
* key: "tolerate/control-plane",
|
|
294
|
+
* value: "true",
|
|
295
|
+
* }],
|
|
296
|
+
* overrideAffinity: `{
|
|
297
|
+
* "nodeAffinity": {
|
|
298
|
+
* "requiredDuringSchedulingIgnoredDuringExecution": {
|
|
299
|
+
* "nodeSelectorTerms": [{
|
|
300
|
+
* "matchExpressions": [{
|
|
301
|
+
* "key": "not.this/nodepool",
|
|
302
|
+
* "operator": "In",
|
|
303
|
+
* "values": [
|
|
304
|
+
* "true"
|
|
305
|
+
* ]
|
|
306
|
+
* }]
|
|
307
|
+
* }]
|
|
308
|
+
* }
|
|
309
|
+
* }
|
|
310
|
+
* }
|
|
311
|
+
*
|
|
312
|
+
* `,
|
|
313
|
+
* overrideResourceRequirements: [{
|
|
314
|
+
* cpuLimit: "800",
|
|
315
|
+
* cpuRequest: "500",
|
|
316
|
+
* memoryLimit: "800",
|
|
317
|
+
* memoryRequest: "500",
|
|
318
|
+
* }],
|
|
319
|
+
* }],
|
|
320
|
+
* description: "Terraform cluster with agent customization",
|
|
321
|
+
* rkeConfig: {
|
|
322
|
+
* network: {
|
|
323
|
+
* plugin: "canal",
|
|
324
|
+
* },
|
|
325
|
+
* },
|
|
326
|
+
* });
|
|
327
|
+
* ```
|
|
328
|
+
* ### Importing EKS cluster to Rancher v2, using `eksConfigV2`. For Rancher v2.5.x and above.
|
|
284
329
|
*
|
|
285
330
|
* ```typescript
|
|
286
331
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -303,7 +348,7 @@ const utilities = require("./utilities");
|
|
|
303
348
|
* },
|
|
304
349
|
* });
|
|
305
350
|
* ```
|
|
306
|
-
* ### Creating EKS cluster from Rancher v2, using `eksConfigV2`. For Rancher v2.5.x
|
|
351
|
+
* ### Creating EKS cluster from Rancher v2, using `eksConfigV2`. For Rancher v2.5.x and above.
|
|
307
352
|
*
|
|
308
353
|
* ```typescript
|
|
309
354
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -346,7 +391,7 @@ const utilities = require("./utilities");
|
|
|
346
391
|
* },
|
|
347
392
|
* });
|
|
348
393
|
* ```
|
|
349
|
-
* ### Creating EKS cluster from Rancher v2, using `eksConfigV2` and launch template. For Rancher v2.5.6
|
|
394
|
+
* ### Creating EKS cluster from Rancher v2, using `eksConfigV2` and launch template. For Rancher v2.5.6 and above.
|
|
350
395
|
*
|
|
351
396
|
* ```typescript
|
|
352
397
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -383,7 +428,7 @@ const utilities = require("./utilities");
|
|
|
383
428
|
* },
|
|
384
429
|
* });
|
|
385
430
|
* ```
|
|
386
|
-
* ### Creating AKS cluster from Rancher v2, using `aksConfigV2`. For Rancher v2.6.0
|
|
431
|
+
* ### Creating AKS cluster from Rancher v2, using `aksConfigV2`. For Rancher v2.6.0 and above.
|
|
387
432
|
*
|
|
388
433
|
* ```typescript
|
|
389
434
|
* import * as pulumi from "@pulumi/pulumi";
|
package/cluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../cluster.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AS,CAAC;YAC1F,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,0BAA0B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/D,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,EAAE,YAAY,CAAC,EAAE,CAAC;QACzE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAzSL,0BA0SC;AA5RG,gBAAgB;AACO,oBAAY,GAAG,gCAAgC,CAAC"}
|
|
@@ -61,7 +61,7 @@ export declare class ClusterRoleTemplateBinding extends pulumi.CustomResource {
|
|
|
61
61
|
/**
|
|
62
62
|
* Labels for cluster role template binding (map)
|
|
63
63
|
*
|
|
64
|
-
* **Note
|
|
64
|
+
* **Note:** user `userId | userPrincipalId` OR group `groupId | groupPrincipalId` must be defined
|
|
65
65
|
*/
|
|
66
66
|
readonly labels: pulumi.Output<{
|
|
67
67
|
[key: string]: any;
|
|
@@ -116,7 +116,7 @@ export interface ClusterRoleTemplateBindingState {
|
|
|
116
116
|
/**
|
|
117
117
|
* Labels for cluster role template binding (map)
|
|
118
118
|
*
|
|
119
|
-
* **Note
|
|
119
|
+
* **Note:** user `userId | userPrincipalId` OR group `groupId | groupPrincipalId` must be defined
|
|
120
120
|
*/
|
|
121
121
|
labels?: pulumi.Input<{
|
|
122
122
|
[key: string]: any;
|
|
@@ -163,7 +163,7 @@ export interface ClusterRoleTemplateBindingArgs {
|
|
|
163
163
|
/**
|
|
164
164
|
* Labels for cluster role template binding (map)
|
|
165
165
|
*
|
|
166
|
-
* **Note
|
|
166
|
+
* **Note:** user `userId | userPrincipalId` OR group `groupId | groupPrincipalId` must be defined
|
|
167
167
|
*/
|
|
168
168
|
labels?: pulumi.Input<{
|
|
169
169
|
[key: string]: any;
|