@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/clusterSync.d.ts
CHANGED
|
@@ -110,7 +110,7 @@ export declare class ClusterSync extends pulumi.CustomResource {
|
|
|
110
110
|
/**
|
|
111
111
|
* Wait until active status is confirmed a number of times (wait interval of 5s). Default: `1` means no confirmation (int)
|
|
112
112
|
*
|
|
113
|
-
* **Note
|
|
113
|
+
* **Note:** `stateConfirm` would be useful, if you have troubles for creating/updating custom clusters that eventually are reaching `active` state before they are fully installed. For example: setting `stateConfirm = 2` will assure that the cluster has been in `active` state for at least 5 seconds, `stateConfirm = 3` assure at least 10 seconds, etc
|
|
114
114
|
*/
|
|
115
115
|
readonly stateConfirm: pulumi.Output<number | undefined>;
|
|
116
116
|
readonly synced: pulumi.Output<boolean | undefined>;
|
|
@@ -166,7 +166,7 @@ export interface ClusterSyncState {
|
|
|
166
166
|
/**
|
|
167
167
|
* Wait until active status is confirmed a number of times (wait interval of 5s). Default: `1` means no confirmation (int)
|
|
168
168
|
*
|
|
169
|
-
* **Note
|
|
169
|
+
* **Note:** `stateConfirm` would be useful, if you have troubles for creating/updating custom clusters that eventually are reaching `active` state before they are fully installed. For example: setting `stateConfirm = 2` will assure that the cluster has been in `active` state for at least 5 seconds, `stateConfirm = 3` assure at least 10 seconds, etc
|
|
170
170
|
*/
|
|
171
171
|
stateConfirm?: pulumi.Input<number>;
|
|
172
172
|
synced?: pulumi.Input<boolean>;
|
|
@@ -202,7 +202,7 @@ export interface ClusterSyncArgs {
|
|
|
202
202
|
/**
|
|
203
203
|
* Wait until active status is confirmed a number of times (wait interval of 5s). Default: `1` means no confirmation (int)
|
|
204
204
|
*
|
|
205
|
-
* **Note
|
|
205
|
+
* **Note:** `stateConfirm` would be useful, if you have troubles for creating/updating custom clusters that eventually are reaching `active` state before they are fully installed. For example: setting `stateConfirm = 2` will assure that the cluster has been in `active` state for at least 5 seconds, `stateConfirm = 3` assure at least 10 seconds, etc
|
|
206
206
|
*/
|
|
207
207
|
stateConfirm?: pulumi.Input<number>;
|
|
208
208
|
synced?: pulumi.Input<boolean>;
|
package/clusterTemplate.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ import * as outputs from "./types/output";
|
|
|
39
39
|
* });
|
|
40
40
|
* ```
|
|
41
41
|
*
|
|
42
|
-
* Creating Rancher v2 RKE cluster template with upgrade strategy. For Rancher v2.4.x
|
|
42
|
+
* Creating Rancher v2 RKE cluster template with upgrade strategy. For Rancher v2.4.x and above.
|
|
43
43
|
*
|
|
44
44
|
* ```typescript
|
|
45
45
|
* import * as pulumi from "@pulumi/pulumi";
|
package/clusterTemplate.js
CHANGED
|
@@ -43,7 +43,7 @@ const utilities = require("./utilities");
|
|
|
43
43
|
* });
|
|
44
44
|
* ```
|
|
45
45
|
*
|
|
46
|
-
* Creating Rancher v2 RKE cluster template with upgrade strategy. For Rancher v2.4.x
|
|
46
|
+
* Creating Rancher v2 RKE cluster template with upgrade strategy. For Rancher v2.4.x and above.
|
|
47
47
|
*
|
|
48
48
|
* ```typescript
|
|
49
49
|
* import * as pulumi from "@pulumi/pulumi";
|
package/clusterV2.d.ts
CHANGED
|
@@ -2,26 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Provides a Rancher v2 Cluster v2 resource. This can be used to create RKE2 and K3S Clusters for Rancher v2 environments and retrieve their information. This resource is available from Rancher v2.6.0 and above.
|
|
6
|
-
*
|
|
7
|
-
* ## Example Usage
|
|
8
|
-
* ### Creating Rancher v2 custom cluster v2
|
|
9
|
-
*
|
|
10
|
-
* ```typescript
|
|
11
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
-
* import * as rancher2 from "@pulumi/rancher2";
|
|
13
|
-
*
|
|
14
|
-
* // Create a new rancher v2 K3S custom Cluster v2
|
|
15
|
-
* const foo = new rancher2.ClusterV2("foo", {
|
|
16
|
-
* defaultClusterRoleForProjectMembers: "user",
|
|
17
|
-
* enableNetworkPolicy: false,
|
|
18
|
-
* fleetNamespace: "fleet-ns",
|
|
19
|
-
* kubernetesVersion: "v1.21.4+k3s1",
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* **Note** Once created, get the node command from `rancher2_cluster_v2.foo.cluster_registration_token`
|
|
24
|
-
*
|
|
25
5
|
* ## Import
|
|
26
6
|
*
|
|
27
7
|
* Clusters v2 can be imported using the Rancher Cluster v2 ID, that is in the form <FLEET_NAMESPACE>/<CLUSTER_NAME>
|
|
@@ -61,7 +41,7 @@ export declare class ClusterV2 extends pulumi.CustomResource {
|
|
|
61
41
|
*/
|
|
62
42
|
readonly cloudCredentialSecretName: pulumi.Output<string | undefined>;
|
|
63
43
|
/**
|
|
64
|
-
* Optional customization for cluster agent
|
|
44
|
+
* Optional customization for cluster agent (list)
|
|
65
45
|
*/
|
|
66
46
|
readonly clusterAgentDeploymentCustomizations: pulumi.Output<outputs.ClusterV2ClusterAgentDeploymentCustomization[] | undefined>;
|
|
67
47
|
/**
|
|
@@ -89,7 +69,7 @@ export declare class ClusterV2 extends pulumi.CustomResource {
|
|
|
89
69
|
*/
|
|
90
70
|
readonly enableNetworkPolicy: pulumi.Output<boolean>;
|
|
91
71
|
/**
|
|
92
|
-
* Optional customization for fleet agent
|
|
72
|
+
* Optional customization for fleet agent (list)
|
|
93
73
|
*/
|
|
94
74
|
readonly fleetAgentDeploymentCustomizations: pulumi.Output<outputs.ClusterV2FleetAgentDeploymentCustomization[] | undefined>;
|
|
95
75
|
/**
|
|
@@ -154,7 +134,7 @@ export interface ClusterV2State {
|
|
|
154
134
|
*/
|
|
155
135
|
cloudCredentialSecretName?: pulumi.Input<string>;
|
|
156
136
|
/**
|
|
157
|
-
* Optional customization for cluster agent
|
|
137
|
+
* Optional customization for cluster agent (list)
|
|
158
138
|
*/
|
|
159
139
|
clusterAgentDeploymentCustomizations?: pulumi.Input<pulumi.Input<inputs.ClusterV2ClusterAgentDeploymentCustomization>[]>;
|
|
160
140
|
/**
|
|
@@ -182,7 +162,7 @@ export interface ClusterV2State {
|
|
|
182
162
|
*/
|
|
183
163
|
enableNetworkPolicy?: pulumi.Input<boolean>;
|
|
184
164
|
/**
|
|
185
|
-
* Optional customization for fleet agent
|
|
165
|
+
* Optional customization for fleet agent (list)
|
|
186
166
|
*/
|
|
187
167
|
fleetAgentDeploymentCustomizations?: pulumi.Input<pulumi.Input<inputs.ClusterV2FleetAgentDeploymentCustomization>[]>;
|
|
188
168
|
/**
|
|
@@ -239,7 +219,7 @@ export interface ClusterV2Args {
|
|
|
239
219
|
*/
|
|
240
220
|
cloudCredentialSecretName?: pulumi.Input<string>;
|
|
241
221
|
/**
|
|
242
|
-
* Optional customization for cluster agent
|
|
222
|
+
* Optional customization for cluster agent (list)
|
|
243
223
|
*/
|
|
244
224
|
clusterAgentDeploymentCustomizations?: pulumi.Input<pulumi.Input<inputs.ClusterV2ClusterAgentDeploymentCustomization>[]>;
|
|
245
225
|
/**
|
|
@@ -259,7 +239,7 @@ export interface ClusterV2Args {
|
|
|
259
239
|
*/
|
|
260
240
|
enableNetworkPolicy?: pulumi.Input<boolean>;
|
|
261
241
|
/**
|
|
262
|
-
* Optional customization for fleet agent
|
|
242
|
+
* Optional customization for fleet agent (list)
|
|
263
243
|
*/
|
|
264
244
|
fleetAgentDeploymentCustomizations?: pulumi.Input<pulumi.Input<inputs.ClusterV2FleetAgentDeploymentCustomization>[]>;
|
|
265
245
|
/**
|
package/clusterV2.js
CHANGED
|
@@ -6,26 +6,6 @@ exports.ClusterV2 = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides a Rancher v2 Cluster v2 resource. This can be used to create RKE2 and K3S Clusters for Rancher v2 environments and retrieve their information. This resource is available from Rancher v2.6.0 and above.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
* ### Creating Rancher v2 custom cluster v2
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as rancher2 from "@pulumi/rancher2";
|
|
17
|
-
*
|
|
18
|
-
* // Create a new rancher v2 K3S custom Cluster v2
|
|
19
|
-
* const foo = new rancher2.ClusterV2("foo", {
|
|
20
|
-
* defaultClusterRoleForProjectMembers: "user",
|
|
21
|
-
* enableNetworkPolicy: false,
|
|
22
|
-
* fleetNamespace: "fleet-ns",
|
|
23
|
-
* kubernetesVersion: "v1.21.4+k3s1",
|
|
24
|
-
* });
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* **Note** Once created, get the node command from `rancher2_cluster_v2.foo.cluster_registration_token`
|
|
28
|
-
*
|
|
29
9
|
* ## Import
|
|
30
10
|
*
|
|
31
11
|
* Clusters v2 can be imported using the Rancher Cluster v2 ID, that is in the form <FLEET_NAMESPACE>/<CLUSTER_NAME>
|
package/clusterV2.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clusterV2.js","sourceRoot":"","sources":["../clusterV2.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"clusterV2.js","sourceRoot":"","sources":["../clusterV2.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,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,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IAuFD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC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CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,0BAA0B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/D,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,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,0BAA0B,EAAE,YAAY,CAAC,EAAE,CAAC;QAC3F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAtKL,8BAuKC;AAzJG,gBAAgB;AACO,sBAAY,GAAG,oCAAoC,CAAC"}
|
package/feature.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
* * On create, provider will read Feature from Rancher and update its value. It will return an error if feature doesn't exist
|
|
7
7
|
* * On destroy, provider will not delete feature from Rancher, just from tfstate
|
|
8
8
|
*
|
|
9
|
-
* **Note
|
|
9
|
+
* **Note:** Some Rancher features as `fleet`, may force a Rancher reboot once updated. The provider will wait until Rancher is rebooted. If you are modifying more than one feature in a row, and any of them requires a Rancher reboot, `pulumi up` may fail on first run. Run `pulumi up` again should work fine.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
package/feature.js
CHANGED
|
@@ -12,7 +12,7 @@ const utilities = require("./utilities");
|
|
|
12
12
|
* * On create, provider will read Feature from Rancher and update its value. It will return an error if feature doesn't exist
|
|
13
13
|
* * On destroy, provider will not delete feature from Rancher, just from tfstate
|
|
14
14
|
*
|
|
15
|
-
* **Note
|
|
15
|
+
* **Note:** Some Rancher features as `fleet`, may force a Rancher reboot once updated. The provider will wait until Rancher is rebooted. If you are modifying more than one feature in a row, and any of them requires a Rancher reboot, `pulumi up` may fail on first run. Run `pulumi up` again should work fine.
|
|
16
16
|
*
|
|
17
17
|
* ## Example Usage
|
|
18
18
|
*
|
package/getCluster.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export interface GetClusterArgs {
|
|
|
30
30
|
*/
|
|
31
31
|
export interface GetClusterResult {
|
|
32
32
|
/**
|
|
33
|
-
* (Computed) Optional Agent Env Vars for Rancher agent.
|
|
33
|
+
* (Computed) Optional Agent Env Vars for Rancher agent. For Rancher v2.5.6 and above (list)
|
|
34
34
|
*/
|
|
35
35
|
readonly agentEnvVars: string[];
|
|
36
36
|
/**
|
|
@@ -101,7 +101,7 @@ export interface GetClusterResult {
|
|
|
101
101
|
*/
|
|
102
102
|
readonly eksConfig: outputs.GetClusterEksConfig;
|
|
103
103
|
/**
|
|
104
|
-
* (Computed) The Amazon EKS V2 configuration to create or import `eks` Clusters. Conflicts with `aksConfig`, `aksConfigV2`, `eksConfig`, `gkeConfig`, `gkeConfigV2`, `okeConfig`, `k3sConfig` and `rkeConfig`. For Rancher v2.5.x
|
|
104
|
+
* (Computed) The Amazon EKS V2 configuration to create or import `eks` Clusters. Conflicts with `aksConfig`, `aksConfigV2`, `eksConfig`, `gkeConfig`, `gkeConfigV2`, `okeConfig`, `k3sConfig` and `rkeConfig`. For Rancher v2.5.x and above (list maxitems:1)
|
|
105
105
|
*/
|
|
106
106
|
readonly eksConfigV2: outputs.GetClusterEksConfigV2;
|
|
107
107
|
readonly enableClusterAlerting: boolean;
|
|
@@ -122,7 +122,7 @@ export interface GetClusterResult {
|
|
|
122
122
|
*/
|
|
123
123
|
readonly gkeConfig: outputs.GetClusterGkeConfig;
|
|
124
124
|
/**
|
|
125
|
-
* (Computed) The Google GKE V2 configuration for `gke` Clusters. Conflicts with `aksConfig`, `aksConfigV2`, `eksConfig`, `eksConfigV2`, `gkeConfig`, `okeConfig`, `k3sConfig` and `rkeConfig`. For Rancher v2.5.8
|
|
125
|
+
* (Computed) 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)
|
|
126
126
|
*/
|
|
127
127
|
readonly gkeConfigV2: outputs.GetClusterGkeConfigV2;
|
|
128
128
|
/**
|
package/globalRoleBinding.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ export declare class GlobalRoleBinding extends pulumi.CustomResource {
|
|
|
61
61
|
/**
|
|
62
62
|
* Labels for global role binding (map)
|
|
63
63
|
*
|
|
64
|
-
* **Note
|
|
64
|
+
* **Note:** user `userId` OR group `groupPrincipalId` must be defined
|
|
65
65
|
*/
|
|
66
66
|
readonly labels: pulumi.Output<{
|
|
67
67
|
[key: string]: any;
|
|
@@ -104,7 +104,7 @@ export interface GlobalRoleBindingState {
|
|
|
104
104
|
/**
|
|
105
105
|
* Labels for global role binding (map)
|
|
106
106
|
*
|
|
107
|
-
* **Note
|
|
107
|
+
* **Note:** user `userId` OR group `groupPrincipalId` must be defined
|
|
108
108
|
*/
|
|
109
109
|
labels?: pulumi.Input<{
|
|
110
110
|
[key: string]: any;
|
|
@@ -139,7 +139,7 @@ export interface GlobalRoleBindingArgs {
|
|
|
139
139
|
/**
|
|
140
140
|
* Labels for global role binding (map)
|
|
141
141
|
*
|
|
142
|
-
* **Note
|
|
142
|
+
* **Note:** user `userId` OR group `groupPrincipalId` must be defined
|
|
143
143
|
*/
|
|
144
144
|
labels?: pulumi.Input<{
|
|
145
145
|
[key: string]: any;
|
package/machineConfigV2.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* `amazonec2`, `azure`, `digitalocean`, `harvester`, `linode`, `openstack`, and `vsphere` cloud providers are supported for machine config V2
|
|
8
8
|
*
|
|
9
|
-
* **Note
|
|
9
|
+
* **Note:** This resource is used by
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
* ### Using the Harvester Node Driver
|
|
@@ -115,7 +115,7 @@ export declare class MachineConfigV2 extends pulumi.CustomResource {
|
|
|
115
115
|
/**
|
|
116
116
|
* Labels for Machine Config V2 object (map)
|
|
117
117
|
*
|
|
118
|
-
* **Note
|
|
118
|
+
* **Note:** `labels` and `nodeTaints` will be applied to nodes deployed using the Machine Config V2
|
|
119
119
|
*/
|
|
120
120
|
readonly labels: pulumi.Output<{
|
|
121
121
|
[key: string]: any;
|
|
@@ -190,7 +190,7 @@ export interface MachineConfigV2State {
|
|
|
190
190
|
/**
|
|
191
191
|
* Labels for Machine Config V2 object (map)
|
|
192
192
|
*
|
|
193
|
-
* **Note
|
|
193
|
+
* **Note:** `labels` and `nodeTaints` will be applied to nodes deployed using the Machine Config V2
|
|
194
194
|
*/
|
|
195
195
|
labels?: pulumi.Input<{
|
|
196
196
|
[key: string]: any;
|
|
@@ -253,7 +253,7 @@ export interface MachineConfigV2Args {
|
|
|
253
253
|
/**
|
|
254
254
|
* Labels for Machine Config V2 object (map)
|
|
255
255
|
*
|
|
256
|
-
* **Note
|
|
256
|
+
* **Note:** `labels` and `nodeTaints` will be applied to nodes deployed using the Machine Config V2
|
|
257
257
|
*/
|
|
258
258
|
labels?: pulumi.Input<{
|
|
259
259
|
[key: string]: any;
|
package/machineConfigV2.js
CHANGED
|
@@ -10,7 +10,7 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* `amazonec2`, `azure`, `digitalocean`, `harvester`, `linode`, `openstack`, and `vsphere` cloud providers are supported for machine config V2
|
|
12
12
|
*
|
|
13
|
-
* **Note
|
|
13
|
+
* **Note:** This resource is used by
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
16
|
* ### Using the Harvester Node Driver
|
package/nodePool.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export declare class NodePool extends pulumi.CustomResource {
|
|
|
43
43
|
*/
|
|
44
44
|
readonly controlPlane: pulumi.Output<boolean | undefined>;
|
|
45
45
|
/**
|
|
46
|
-
* Delete not ready node after secs. For Rancher v2.3.3
|
|
46
|
+
* Delete not ready node after secs. For Rancher v2.3.3 and above. Default `0` (int)
|
|
47
47
|
*/
|
|
48
48
|
readonly deleteNotReadyAfterSecs: pulumi.Output<number | undefined>;
|
|
49
49
|
/**
|
|
@@ -69,7 +69,7 @@ export declare class NodePool extends pulumi.CustomResource {
|
|
|
69
69
|
*/
|
|
70
70
|
readonly name: pulumi.Output<string>;
|
|
71
71
|
/**
|
|
72
|
-
* Node taints. For Rancher v2.3.3
|
|
72
|
+
* Node taints. For Rancher v2.3.3 and above (List)
|
|
73
73
|
*/
|
|
74
74
|
readonly nodeTaints: pulumi.Output<outputs.NodePoolNodeTaint[] | undefined>;
|
|
75
75
|
/**
|
|
@@ -112,7 +112,7 @@ export interface NodePoolState {
|
|
|
112
112
|
*/
|
|
113
113
|
controlPlane?: pulumi.Input<boolean>;
|
|
114
114
|
/**
|
|
115
|
-
* Delete not ready node after secs. For Rancher v2.3.3
|
|
115
|
+
* Delete not ready node after secs. For Rancher v2.3.3 and above. Default `0` (int)
|
|
116
116
|
*/
|
|
117
117
|
deleteNotReadyAfterSecs?: pulumi.Input<number>;
|
|
118
118
|
/**
|
|
@@ -138,7 +138,7 @@ export interface NodePoolState {
|
|
|
138
138
|
*/
|
|
139
139
|
name?: pulumi.Input<string>;
|
|
140
140
|
/**
|
|
141
|
-
* Node taints. For Rancher v2.3.3
|
|
141
|
+
* Node taints. For Rancher v2.3.3 and above (List)
|
|
142
142
|
*/
|
|
143
143
|
nodeTaints?: pulumi.Input<pulumi.Input<inputs.NodePoolNodeTaint>[]>;
|
|
144
144
|
/**
|
|
@@ -173,7 +173,7 @@ export interface NodePoolArgs {
|
|
|
173
173
|
*/
|
|
174
174
|
controlPlane?: pulumi.Input<boolean>;
|
|
175
175
|
/**
|
|
176
|
-
* Delete not ready node after secs. For Rancher v2.3.3
|
|
176
|
+
* Delete not ready node after secs. For Rancher v2.3.3 and above. Default `0` (int)
|
|
177
177
|
*/
|
|
178
178
|
deleteNotReadyAfterSecs?: pulumi.Input<number>;
|
|
179
179
|
/**
|
|
@@ -199,7 +199,7 @@ export interface NodePoolArgs {
|
|
|
199
199
|
*/
|
|
200
200
|
name?: pulumi.Input<string>;
|
|
201
201
|
/**
|
|
202
|
-
* Node taints. For Rancher v2.3.3
|
|
202
|
+
* Node taints. For Rancher v2.3.3 and above (List)
|
|
203
203
|
*/
|
|
204
204
|
nodeTaints?: pulumi.Input<pulumi.Input<inputs.NodePoolNodeTaint>[]>;
|
|
205
205
|
/**
|
package/nodeTemplate.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* amazonec2, azure, digitalocean, harvester, linode, opennebula, openstack, outscale, hetzner and vsphere drivers are supported for node templates.
|
|
8
8
|
*
|
|
9
|
-
* **Note
|
|
9
|
+
* **Note:** If you are upgrading to Rancher v2.3.3, please take a look to final section
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
@@ -244,7 +244,7 @@ export declare class NodeTemplate extends pulumi.CustomResource {
|
|
|
244
244
|
/**
|
|
245
245
|
* Labels for Node Template object (map)
|
|
246
246
|
*
|
|
247
|
-
* **Note
|
|
247
|
+
* **Note:** `labels` and `nodeTaints` will be applied to nodes deployed using the Node Template
|
|
248
248
|
*/
|
|
249
249
|
readonly labels: pulumi.Output<{
|
|
250
250
|
[key: string]: any;
|
|
@@ -258,7 +258,7 @@ export declare class NodeTemplate extends pulumi.CustomResource {
|
|
|
258
258
|
*/
|
|
259
259
|
readonly name: pulumi.Output<string>;
|
|
260
260
|
/**
|
|
261
|
-
* Node taints. For Rancher v2.3.3
|
|
261
|
+
* Node taints. For Rancher v2.3.3 and above (List)
|
|
262
262
|
*/
|
|
263
263
|
readonly nodeTaints: pulumi.Output<outputs.NodeTemplateNodeTaint[] | undefined>;
|
|
264
264
|
/**
|
|
@@ -381,7 +381,7 @@ export interface NodeTemplateState {
|
|
|
381
381
|
/**
|
|
382
382
|
* Labels for Node Template object (map)
|
|
383
383
|
*
|
|
384
|
-
* **Note
|
|
384
|
+
* **Note:** `labels` and `nodeTaints` will be applied to nodes deployed using the Node Template
|
|
385
385
|
*/
|
|
386
386
|
labels?: pulumi.Input<{
|
|
387
387
|
[key: string]: any;
|
|
@@ -395,7 +395,7 @@ export interface NodeTemplateState {
|
|
|
395
395
|
*/
|
|
396
396
|
name?: pulumi.Input<string>;
|
|
397
397
|
/**
|
|
398
|
-
* Node taints. For Rancher v2.3.3
|
|
398
|
+
* Node taints. For Rancher v2.3.3 and above (List)
|
|
399
399
|
*/
|
|
400
400
|
nodeTaints?: pulumi.Input<pulumi.Input<inputs.NodeTemplateNodeTaint>[]>;
|
|
401
401
|
/**
|
|
@@ -506,7 +506,7 @@ export interface NodeTemplateArgs {
|
|
|
506
506
|
/**
|
|
507
507
|
* Labels for Node Template object (map)
|
|
508
508
|
*
|
|
509
|
-
* **Note
|
|
509
|
+
* **Note:** `labels` and `nodeTaints` will be applied to nodes deployed using the Node Template
|
|
510
510
|
*/
|
|
511
511
|
labels?: pulumi.Input<{
|
|
512
512
|
[key: string]: any;
|
|
@@ -520,7 +520,7 @@ export interface NodeTemplateArgs {
|
|
|
520
520
|
*/
|
|
521
521
|
name?: pulumi.Input<string>;
|
|
522
522
|
/**
|
|
523
|
-
* Node taints. For Rancher v2.3.3
|
|
523
|
+
* Node taints. For Rancher v2.3.3 and above (List)
|
|
524
524
|
*/
|
|
525
525
|
nodeTaints?: pulumi.Input<pulumi.Input<inputs.NodeTemplateNodeTaint>[]>;
|
|
526
526
|
/**
|
package/nodeTemplate.js
CHANGED
|
@@ -10,7 +10,7 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* amazonec2, azure, digitalocean, harvester, linode, opennebula, openstack, outscale, hetzner and vsphere drivers are supported for node templates.
|
|
12
12
|
*
|
|
13
|
-
* **Note
|
|
13
|
+
* **Note:** If you are upgrading to Rancher v2.3.3, please take a look to final section
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
16
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/rancher2",
|
|
3
|
-
"version": "v5.1.
|
|
3
|
+
"version": "v5.1.1",
|
|
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.1.
|
|
14
|
+
"install": "node scripts/install-pulumi-plugin.js resource rancher2 v5.1.1"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@pulumi/pulumi": "^3.0.0"
|
|
@@ -57,7 +57,7 @@ export declare class ProjectRoleTemplateBinding extends pulumi.CustomResource {
|
|
|
57
57
|
/**
|
|
58
58
|
* Labels of the resource (map)
|
|
59
59
|
*
|
|
60
|
-
* **Note
|
|
60
|
+
* **Note:** user `userId | userPrincipalId` OR group `groupId | groupPrincipalId` must be defined
|
|
61
61
|
*/
|
|
62
62
|
readonly labels: pulumi.Output<{
|
|
63
63
|
[key: string]: any;
|
|
@@ -112,7 +112,7 @@ export interface ProjectRoleTemplateBindingState {
|
|
|
112
112
|
/**
|
|
113
113
|
* Labels of the resource (map)
|
|
114
114
|
*
|
|
115
|
-
* **Note
|
|
115
|
+
* **Note:** user `userId | userPrincipalId` OR group `groupId | groupPrincipalId` must be defined
|
|
116
116
|
*/
|
|
117
117
|
labels?: pulumi.Input<{
|
|
118
118
|
[key: string]: any;
|
|
@@ -159,7 +159,7 @@ export interface ProjectRoleTemplateBindingArgs {
|
|
|
159
159
|
/**
|
|
160
160
|
* Labels of the resource (map)
|
|
161
161
|
*
|
|
162
|
-
* **Note
|
|
162
|
+
* **Note:** user `userId | userPrincipalId` OR group `groupId | groupPrincipalId` must be defined
|
|
163
163
|
*/
|
|
164
164
|
labels?: pulumi.Input<{
|
|
165
165
|
[key: string]: any;
|
package/provider.js
CHANGED
|
@@ -20,7 +20,7 @@ class Provider extends pulumi.ProviderResource {
|
|
|
20
20
|
if (obj === undefined || obj === null) {
|
|
21
21
|
return false;
|
|
22
22
|
}
|
|
23
|
-
return obj['__pulumiType'] === Provider.__pulumiType;
|
|
23
|
+
return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Create a Provider resource with the given unique name, arguments, and options.
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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,QAAQ,CAAC,YAAY,CAAC;
|
|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AG,EAAE,uBAAuB,EAAE,CAAC,WAAW,EAAE,WAAW,EAAE,UAAU,CAAC,EAAE,CAAC;QACvF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AApEL,4BAqEC;AApEG,gBAAgB;AACO,qBAAY,GAAG,UAAU,CAAC"}
|
package/registry.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Provides a Rancher v2 Registry resource. This
|
|
5
|
+
* Provides a Rancher v2 Registry resource. This resource creates Kubernetes secrets with the type `kubernetes.io/dockerconfigjson` for authenticating against Docker registries for Rancher v2 environments and retrieving their information.
|
|
6
6
|
*
|
|
7
|
-
* Depending
|
|
8
|
-
* - Project registry: Available to all namespaces in the `projectId
|
|
9
|
-
* - Namespaced registry: Available to
|
|
7
|
+
* Depending on the availability, there are 2 types of Rancher v2 Docker registry resources:
|
|
8
|
+
* - Project registry resource: Available to all namespaces in the `projectId`.
|
|
9
|
+
* - Namespaced registry resource: Available to `namespaceId` in the `projectId`.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
package/registry.js
CHANGED
|
@@ -6,11 +6,11 @@ exports.Registry = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Provides a Rancher v2 Registry resource. This
|
|
9
|
+
* Provides a Rancher v2 Registry resource. This resource creates Kubernetes secrets with the type `kubernetes.io/dockerconfigjson` for authenticating against Docker registries for Rancher v2 environments and retrieving their information.
|
|
10
10
|
*
|
|
11
|
-
* Depending
|
|
12
|
-
* - Project registry: Available to all namespaces in the `projectId
|
|
13
|
-
* - Namespaced registry: Available to
|
|
11
|
+
* Depending on the availability, there are 2 types of Rancher v2 Docker registry resources:
|
|
12
|
+
* - Project registry resource: Available to all namespaces in the `projectId`.
|
|
13
|
+
* - Namespaced registry resource: Available to `namespaceId` in the `projectId`.
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
16
|
*
|