@pulumi/eks 2.8.1 → 2.9.0-alpha.1727304793
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/addon.d.ts +61 -13
- package/addon.js +45 -18
- package/addon.js.map +1 -1
- package/cluster.d.ts +291 -585
- package/cluster.js +120 -947
- package/cluster.js.map +1 -1
- package/clusterCreationRoleProvider.d.ts +28 -0
- package/clusterCreationRoleProvider.js +47 -0
- package/clusterCreationRoleProvider.js.map +1 -0
- package/clusterMixins.d.ts +71 -0
- package/clusterMixins.js +107 -0
- package/clusterMixins.js.map +1 -0
- package/index.d.ts +31 -7
- package/index.js +80 -34
- package/index.js.map +1 -1
- package/managedNodeGroup.d.ts +221 -0
- package/managedNodeGroup.js +81 -0
- package/managedNodeGroup.js.map +1 -0
- package/nodeGroup.d.ts +273 -0
- package/nodeGroup.js +93 -0
- package/nodeGroup.js.map +1 -0
- package/nodeGroupSecurityGroup.d.ts +51 -0
- package/nodeGroupSecurityGroup.js +60 -0
- package/nodeGroupSecurityGroup.js.map +1 -0
- package/nodeGroupV2.d.ts +280 -0
- package/nodeGroupV2.js +90 -0
- package/nodeGroupV2.js.map +1 -0
- package/nodegroupMixins.d.ts +203 -0
- package/{securitygroup.js → nodegroupMixins.js} +25 -36
- package/nodegroupMixins.js.map +1 -0
- package/package.json +8 -36
- package/provider.d.ts +21 -0
- package/provider.js +38 -0
- package/provider.js.map +1 -0
- package/{storageclass.js → storageclassMixins.js} +1 -14
- package/storageclassMixins.js.map +1 -0
- package/types/enums/index.d.ts +170 -0
- package/types/enums/index.js +145 -0
- package/types/enums/index.js.map +1 -0
- package/types/index.d.ts +4 -0
- package/types/index.js +13 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +745 -0
- package/types/input.js +30 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +422 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +8 -1
- package/utilities.js +90 -17
- package/utilities.js.map +1 -1
- package/vpcCniAddon.d.ts +175 -0
- package/vpcCniAddon.js +88 -0
- package/vpcCniAddon.js.map +1 -0
- package/LICENSE +0 -202
- package/README.md +0 -77
- package/authenticationMode.d.ts +0 -24
- package/authenticationMode.js +0 -172
- package/authenticationMode.js.map +0 -1
- package/authenticationMode.test.d.ts +0 -1
- package/authenticationMode.test.js +0 -208
- package/authenticationMode.test.js.map +0 -1
- package/cert-thumprint.d.ts +0 -16
- package/cert-thumprint.js +0 -113
- package/cert-thumprint.js.map +0 -1
- package/cmd/provider/addon.d.ts +0 -1
- package/cmd/provider/addon.js +0 -40
- package/cmd/provider/addon.js.map +0 -1
- package/cmd/provider/cluster.d.ts +0 -1
- package/cmd/provider/cluster.js +0 -71
- package/cmd/provider/cluster.js.map +0 -1
- package/cmd/provider/cni.d.ts +0 -2
- package/cmd/provider/cni.js +0 -291
- package/cmd/provider/cni.js.map +0 -1
- package/cmd/provider/index.d.ts +0 -1
- package/cmd/provider/index.js +0 -171
- package/cmd/provider/index.js.map +0 -1
- package/cmd/provider/nodegroup.d.ts +0 -1
- package/cmd/provider/nodegroup.js +0 -89
- package/cmd/provider/nodegroup.js.map +0 -1
- package/cmd/provider/randomSuffix.d.ts +0 -1
- package/cmd/provider/randomSuffix.js +0 -52
- package/cmd/provider/randomSuffix.js.map +0 -1
- package/cmd/provider/schema.json +0 -1909
- package/cmd/provider/securitygroup.d.ts +0 -1
- package/cmd/provider/securitygroup.js +0 -41
- package/cmd/provider/securitygroup.js.map +0 -1
- package/cni/README.md +0 -6
- package/cni/aws-k8s-cni.yaml +0 -602
- package/cni.d.ts +0 -177
- package/cni.js +0 -64
- package/cni.js.map +0 -1
- package/dashboard/heapster-rbac.yaml +0 -12
- package/dashboard/heapster.yaml +0 -46
- package/dashboard/influxdb.yaml +0 -40
- package/dashboard/kubernetes-dashboard.yaml +0 -167
- package/dashboard.d.ts +0 -5
- package/dashboard.js +0 -58
- package/dashboard.js.map +0 -1
- package/dependencies.d.ts +0 -2
- package/dependencies.js +0 -81
- package/dependencies.js.map +0 -1
- package/dependencies.test.d.ts +0 -1
- package/dependencies.test.js +0 -133
- package/dependencies.test.js.map +0 -1
- package/nodegroup.d.ts +0 -515
- package/nodegroup.js +0 -1152
- package/nodegroup.js.map +0 -1
- package/nodegroup.test.d.ts +0 -1
- package/nodegroup.test.js +0 -336
- package/nodegroup.test.js.map +0 -1
- package/package.json.dev +0 -67
- package/randomSuffix.d.ts +0 -1
- package/randomSuffix.js +0 -51
- package/randomSuffix.js.map +0 -1
- package/securitygroup.d.ts +0 -52
- package/securitygroup.js.map +0 -1
- package/servicerole.d.ts +0 -43
- package/servicerole.js +0 -72
- package/servicerole.js.map +0 -1
- package/storageclass.js.map +0 -1
- package/utils.d.ts +0 -23
- package/utils.js +0 -16
- package/utils.js.map +0 -1
- /package/{storageclass.d.ts → storageclassMixins.d.ts} +0 -0
package/addon.d.ts
CHANGED
|
@@ -1,20 +1,68 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
3
|
-
import { Cluster } from "./cluster";
|
|
4
|
-
/**
|
|
5
|
-
* AddonOptions describes the configuration options available for the Amazon VPC CNI plugin for Kubernetes. This is obtained from
|
|
6
|
-
* upstream `aws.eks.AddonArgs` and removes the deprecated `resolveConflicts` field. `clusterName` is also removed as we enable users to
|
|
7
|
-
* pass in the cluster object directly.
|
|
8
|
-
*/
|
|
9
|
-
export interface AddonOptions extends Omit<aws.eks.AddonArgs, "resolveConflicts" | "clusterName" | "configurationValues"> {
|
|
10
|
-
cluster: Cluster;
|
|
11
|
-
configurationValues?: object;
|
|
12
|
-
}
|
|
2
|
+
import { Cluster } from "./index";
|
|
13
3
|
/**
|
|
14
4
|
* Addon manages an EKS add-on.
|
|
15
5
|
* For more information about supported add-ons, see: https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html
|
|
16
6
|
*/
|
|
17
7
|
export declare class Addon extends pulumi.ComponentResource {
|
|
18
|
-
|
|
19
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Returns true if the given object is an instance of Addon. This is designed to work even
|
|
10
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
11
|
+
*/
|
|
12
|
+
static isInstance(obj: any): obj is Addon;
|
|
13
|
+
/**
|
|
14
|
+
* Create a Addon resource with the given unique name, arguments, and options.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resource.
|
|
17
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
18
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
19
|
+
*/
|
|
20
|
+
constructor(name: string, args: AddonArgs, opts?: pulumi.ComponentResourceOptions);
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* The set of arguments for constructing a Addon resource.
|
|
24
|
+
*/
|
|
25
|
+
export interface AddonArgs {
|
|
26
|
+
/**
|
|
27
|
+
* Name of the EKS add-on. The name must match one of the names returned by describe-addon-versions.
|
|
28
|
+
*/
|
|
29
|
+
addonName: pulumi.Input<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The version of the EKS add-on. The version must match one of the versions returned by describe-addon-versions.
|
|
32
|
+
*/
|
|
33
|
+
addonVersion?: pulumi.Input<string>;
|
|
34
|
+
/**
|
|
35
|
+
* The target EKS cluster.
|
|
36
|
+
*/
|
|
37
|
+
cluster: pulumi.Input<Cluster>;
|
|
38
|
+
/**
|
|
39
|
+
* Custom configuration values for addons specified as an object. This object value must match the JSON schema derived from describe-addon-configuration.
|
|
40
|
+
*/
|
|
41
|
+
configurationValues?: pulumi.Input<{
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
}>;
|
|
44
|
+
/**
|
|
45
|
+
* Indicates if you want to preserve the created resources when deleting the EKS add-on.
|
|
46
|
+
*/
|
|
47
|
+
preserve?: pulumi.Input<boolean>;
|
|
48
|
+
/**
|
|
49
|
+
* How to resolve field value conflicts when migrating a self-managed add-on to an Amazon EKS add-on. Valid values are NONE and OVERWRITE. For more details see the CreateAddon API Docs.
|
|
50
|
+
*/
|
|
51
|
+
resolveConflictsOnCreate?: pulumi.Input<string>;
|
|
52
|
+
/**
|
|
53
|
+
* How to resolve field value conflicts for an Amazon EKS add-on if you've changed a value from the Amazon EKS default value. Valid values are NONE, OVERWRITE, and PRESERVE. For more details see the UpdateAddon API Docs.
|
|
54
|
+
*/
|
|
55
|
+
resolveConflictsOnUpdate?: pulumi.Input<string>;
|
|
56
|
+
/**
|
|
57
|
+
* The Amazon Resource Name (ARN) of an existing IAM role to bind to the add-on's service account. The role must be assigned the IAM permissions required by the add-on. If you don't specify an existing IAM role, then the add-on uses the permissions assigned to the node IAM role. For more information, see Amazon EKS node IAM role in the Amazon EKS User Guide.
|
|
58
|
+
*
|
|
59
|
+
* Note: To specify an existing IAM role, you must have an IAM OpenID Connect (OIDC) provider created for your cluster. For more information, see Enabling IAM roles for service accounts on your cluster in the Amazon EKS User Guide.
|
|
60
|
+
*/
|
|
61
|
+
serviceAccountRoleArn?: pulumi.Input<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
64
|
+
*/
|
|
65
|
+
tags?: pulumi.Input<pulumi.Input<{
|
|
66
|
+
[key: string]: pulumi.Input<string>;
|
|
67
|
+
}>[]>;
|
|
20
68
|
}
|
package/addon.js
CHANGED
|
@@ -1,32 +1,59 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
//
|
|
3
|
-
//
|
|
4
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
// you may not use this file except in compliance with the License.
|
|
6
|
-
// You may obtain a copy of the License at
|
|
7
|
-
//
|
|
8
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
//
|
|
10
|
-
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
// See the License for the specific language governing permissions and
|
|
14
|
-
// limitations under the License.
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-gen-eks. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
15
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
5
|
exports.Addon = void 0;
|
|
17
6
|
const pulumi = require("@pulumi/pulumi");
|
|
18
|
-
const
|
|
7
|
+
const utilities = require("./utilities");
|
|
19
8
|
/**
|
|
20
9
|
* Addon manages an EKS add-on.
|
|
21
10
|
* For more information about supported add-ons, see: https://docs.aws.amazon.com/eks/latest/userguide/eks-add-ons.html
|
|
22
11
|
*/
|
|
23
12
|
class Addon extends pulumi.ComponentResource {
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of Addon. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj) {
|
|
18
|
+
if (obj === undefined || obj === null) {
|
|
19
|
+
return false;
|
|
20
|
+
}
|
|
21
|
+
return obj['__pulumiType'] === Addon.__pulumiType;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Create a Addon resource with the given unique name, arguments, and options.
|
|
25
|
+
*
|
|
26
|
+
* @param name The _unique_ name of the resource.
|
|
27
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
28
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
29
|
+
*/
|
|
24
30
|
constructor(name, args, opts) {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
31
|
+
let resourceInputs = {};
|
|
32
|
+
opts = opts || {};
|
|
33
|
+
if (!opts.id) {
|
|
34
|
+
if ((!args || args.addonName === undefined) && !opts.urn) {
|
|
35
|
+
throw new Error("Missing required property 'addonName'");
|
|
36
|
+
}
|
|
37
|
+
if ((!args || args.cluster === undefined) && !opts.urn) {
|
|
38
|
+
throw new Error("Missing required property 'cluster'");
|
|
39
|
+
}
|
|
40
|
+
resourceInputs["addonName"] = args ? args.addonName : undefined;
|
|
41
|
+
resourceInputs["addonVersion"] = args ? args.addonVersion : undefined;
|
|
42
|
+
resourceInputs["cluster"] = args ? args.cluster : undefined;
|
|
43
|
+
resourceInputs["configurationValues"] = args ? args.configurationValues : undefined;
|
|
44
|
+
resourceInputs["preserve"] = args ? args.preserve : undefined;
|
|
45
|
+
resourceInputs["resolveConflictsOnCreate"] = args ? args.resolveConflictsOnCreate : undefined;
|
|
46
|
+
resourceInputs["resolveConflictsOnUpdate"] = args ? args.resolveConflictsOnUpdate : undefined;
|
|
47
|
+
resourceInputs["serviceAccountRoleArn"] = args ? args.serviceAccountRoleArn : undefined;
|
|
48
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
}
|
|
52
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
53
|
+
super(Addon.__pulumiType, name, resourceInputs, opts, true /*remote*/);
|
|
29
54
|
}
|
|
30
55
|
}
|
|
31
56
|
exports.Addon = Addon;
|
|
57
|
+
/** @internal */
|
|
58
|
+
Addon.__pulumiType = 'eks:index:Addon';
|
|
32
59
|
//# sourceMappingURL=addon.js.map
|
package/addon.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"addon.js","sourceRoot":"","sources":["../addon.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"addon.js","sourceRoot":"","sources":["../addon.ts"],"names":[],"mappings":";AAAA,8DAA8D;AAC9D,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAIzC;;;GAGG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,iBAAiB;IAI/C;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,K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