cdk-eks-karpenter 0.0.31__tar.gz → 0.0.33__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {cdk-eks-karpenter-0.0.31/src/cdk_eks_karpenter.egg-info → cdk-eks-karpenter-0.0.33}/PKG-INFO +1 -1
- {cdk-eks-karpenter-0.0.31 → cdk-eks-karpenter-0.0.33}/setup.py +2 -2
- {cdk-eks-karpenter-0.0.31 → cdk-eks-karpenter-0.0.33}/src/cdk_eks_karpenter/__init__.py +39 -2
- {cdk-eks-karpenter-0.0.31 → cdk-eks-karpenter-0.0.33}/src/cdk_eks_karpenter/_jsii/__init__.py +1 -1
- cdk-eks-karpenter-0.0.33/src/cdk_eks_karpenter/_jsii/cdk-eks-karpenter@0.0.33.jsii.tgz +0 -0
- {cdk-eks-karpenter-0.0.31 → cdk-eks-karpenter-0.0.33/src/cdk_eks_karpenter.egg-info}/PKG-INFO +1 -1
- {cdk-eks-karpenter-0.0.31 → cdk-eks-karpenter-0.0.33}/src/cdk_eks_karpenter.egg-info/SOURCES.txt +1 -1
- cdk-eks-karpenter-0.0.31/src/cdk_eks_karpenter/_jsii/cdk-eks-karpenter@0.0.31.jsii.tgz +0 -0
- {cdk-eks-karpenter-0.0.31 → cdk-eks-karpenter-0.0.33}/LICENSE +0 -0
- {cdk-eks-karpenter-0.0.31 → cdk-eks-karpenter-0.0.33}/MANIFEST.in +0 -0
- {cdk-eks-karpenter-0.0.31 → cdk-eks-karpenter-0.0.33}/NOTICE +0 -0
- {cdk-eks-karpenter-0.0.31 → cdk-eks-karpenter-0.0.33}/README.md +0 -0
- {cdk-eks-karpenter-0.0.31 → cdk-eks-karpenter-0.0.33}/pyproject.toml +0 -0
- {cdk-eks-karpenter-0.0.31 → cdk-eks-karpenter-0.0.33}/setup.cfg +0 -0
- {cdk-eks-karpenter-0.0.31 → cdk-eks-karpenter-0.0.33}/src/cdk_eks_karpenter/py.typed +0 -0
- {cdk-eks-karpenter-0.0.31 → cdk-eks-karpenter-0.0.33}/src/cdk_eks_karpenter.egg-info/dependency_links.txt +0 -0
- {cdk-eks-karpenter-0.0.31 → cdk-eks-karpenter-0.0.33}/src/cdk_eks_karpenter.egg-info/requires.txt +0 -0
- {cdk-eks-karpenter-0.0.31 → cdk-eks-karpenter-0.0.33}/src/cdk_eks_karpenter.egg-info/top_level.txt +0 -0
{cdk-eks-karpenter-0.0.31/src/cdk_eks_karpenter.egg-info → cdk-eks-karpenter-0.0.33}/PKG-INFO
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: cdk-eks-karpenter
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.33
|
4
4
|
Summary: CDK construct library that allows you install Karpenter in an AWS EKS cluster
|
5
5
|
Home-page: https://github.com/aws-samples/cdk-eks-karpenter.git
|
6
6
|
Author: Andreas Lindh<elindh@amazon.com>
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
5
5
|
"""
|
6
6
|
{
|
7
7
|
"name": "cdk-eks-karpenter",
|
8
|
-
"version": "0.0.
|
8
|
+
"version": "0.0.33",
|
9
9
|
"description": "CDK construct library that allows you install Karpenter in an AWS EKS cluster",
|
10
10
|
"license": "Apache-2.0",
|
11
11
|
"url": "https://github.com/aws-samples/cdk-eks-karpenter.git",
|
@@ -26,7 +26,7 @@ kwargs = json.loads(
|
|
26
26
|
],
|
27
27
|
"package_data": {
|
28
28
|
"cdk_eks_karpenter._jsii": [
|
29
|
-
"cdk-eks-karpenter@0.0.
|
29
|
+
"cdk-eks-karpenter@0.0.33.jsii.tgz"
|
30
30
|
],
|
31
31
|
"cdk_eks_karpenter": [
|
32
32
|
"py.typed"
|
@@ -130,6 +130,7 @@ class Karpenter(
|
|
130
130
|
cluster: _aws_cdk_aws_eks_ceddda9d.Cluster,
|
131
131
|
helm_extra_values: typing.Any = None,
|
132
132
|
namespace: typing.Optional[builtins.str] = None,
|
133
|
+
node_role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.Role] = None,
|
133
134
|
version: typing.Optional[builtins.str] = None,
|
134
135
|
) -> None:
|
135
136
|
'''
|
@@ -138,6 +139,7 @@ class Karpenter(
|
|
138
139
|
:param cluster: The EKS Cluster to attach to.
|
139
140
|
:param helm_extra_values: Extra values to pass to the Karpenter Helm chart.
|
140
141
|
:param namespace: The Kubernetes namespace to install to. Default: karpenter
|
142
|
+
:param node_role: Custom NodeRole to pass for Karpenter Nodes.
|
141
143
|
:param version: The helm chart version to install. Default: - latest
|
142
144
|
'''
|
143
145
|
if __debug__:
|
@@ -148,20 +150,35 @@ class Karpenter(
|
|
148
150
|
cluster=cluster,
|
149
151
|
helm_extra_values=helm_extra_values,
|
150
152
|
namespace=namespace,
|
153
|
+
node_role=node_role,
|
151
154
|
version=version,
|
152
155
|
)
|
153
156
|
|
154
157
|
jsii.create(self.__class__, self, [scope, id, props])
|
155
158
|
|
159
|
+
@jsii.member(jsii_name="addManagedPolicyToKarpenterRole")
|
160
|
+
def add_managed_policy_to_karpenter_role(
|
161
|
+
self,
|
162
|
+
managed_policy: _aws_cdk_aws_iam_ceddda9d.IManagedPolicy,
|
163
|
+
) -> None:
|
164
|
+
'''addManagedPolicyToKarpenterRole adds Managed Policies To Karpenter Role.
|
165
|
+
|
166
|
+
:param managed_policy: - iam managed policy to add to the karpenter role.
|
167
|
+
'''
|
168
|
+
if __debug__:
|
169
|
+
type_hints = typing.get_type_hints(_typecheckingstub__7c0fa5f4f02bfe7dcd3e1618714e7cb5a527b8fd6ba783719a452d6af22c4ae2)
|
170
|
+
check_type(argname="argument managed_policy", value=managed_policy, expected_type=type_hints["managed_policy"])
|
171
|
+
return typing.cast(None, jsii.invoke(self, "addManagedPolicyToKarpenterRole", [managed_policy]))
|
172
|
+
|
156
173
|
@jsii.member(jsii_name="addNodeTemplate")
|
157
174
|
def add_node_template(
|
158
175
|
self,
|
159
176
|
id: builtins.str,
|
160
177
|
node_template_spec: typing.Mapping[builtins.str, typing.Any],
|
161
178
|
) -> None:
|
162
|
-
'''
|
179
|
+
'''addNodeTemplate adds a node template manifest to the cluster.
|
163
180
|
|
164
|
-
Currently the
|
181
|
+
Currently the node template spec
|
165
182
|
parameter is relatively free form.
|
166
183
|
|
167
184
|
:param id: - must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character.
|
@@ -226,6 +243,7 @@ class Karpenter(
|
|
226
243
|
"cluster": "cluster",
|
227
244
|
"helm_extra_values": "helmExtraValues",
|
228
245
|
"namespace": "namespace",
|
246
|
+
"node_role": "nodeRole",
|
229
247
|
"version": "version",
|
230
248
|
},
|
231
249
|
)
|
@@ -236,12 +254,14 @@ class KarpenterProps:
|
|
236
254
|
cluster: _aws_cdk_aws_eks_ceddda9d.Cluster,
|
237
255
|
helm_extra_values: typing.Any = None,
|
238
256
|
namespace: typing.Optional[builtins.str] = None,
|
257
|
+
node_role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.Role] = None,
|
239
258
|
version: typing.Optional[builtins.str] = None,
|
240
259
|
) -> None:
|
241
260
|
'''
|
242
261
|
:param cluster: The EKS Cluster to attach to.
|
243
262
|
:param helm_extra_values: Extra values to pass to the Karpenter Helm chart.
|
244
263
|
:param namespace: The Kubernetes namespace to install to. Default: karpenter
|
264
|
+
:param node_role: Custom NodeRole to pass for Karpenter Nodes.
|
245
265
|
:param version: The helm chart version to install. Default: - latest
|
246
266
|
'''
|
247
267
|
if __debug__:
|
@@ -249,6 +269,7 @@ class KarpenterProps:
|
|
249
269
|
check_type(argname="argument cluster", value=cluster, expected_type=type_hints["cluster"])
|
250
270
|
check_type(argname="argument helm_extra_values", value=helm_extra_values, expected_type=type_hints["helm_extra_values"])
|
251
271
|
check_type(argname="argument namespace", value=namespace, expected_type=type_hints["namespace"])
|
272
|
+
check_type(argname="argument node_role", value=node_role, expected_type=type_hints["node_role"])
|
252
273
|
check_type(argname="argument version", value=version, expected_type=type_hints["version"])
|
253
274
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
254
275
|
"cluster": cluster,
|
@@ -257,6 +278,8 @@ class KarpenterProps:
|
|
257
278
|
self._values["helm_extra_values"] = helm_extra_values
|
258
279
|
if namespace is not None:
|
259
280
|
self._values["namespace"] = namespace
|
281
|
+
if node_role is not None:
|
282
|
+
self._values["node_role"] = node_role
|
260
283
|
if version is not None:
|
261
284
|
self._values["version"] = version
|
262
285
|
|
@@ -282,6 +305,12 @@ class KarpenterProps:
|
|
282
305
|
result = self._values.get("namespace")
|
283
306
|
return typing.cast(typing.Optional[builtins.str], result)
|
284
307
|
|
308
|
+
@builtins.property
|
309
|
+
def node_role(self) -> typing.Optional[_aws_cdk_aws_iam_ceddda9d.Role]:
|
310
|
+
'''Custom NodeRole to pass for Karpenter Nodes.'''
|
311
|
+
result = self._values.get("node_role")
|
312
|
+
return typing.cast(typing.Optional[_aws_cdk_aws_iam_ceddda9d.Role], result)
|
313
|
+
|
285
314
|
@builtins.property
|
286
315
|
def version(self) -> typing.Optional[builtins.str]:
|
287
316
|
'''The helm chart version to install.
|
@@ -317,11 +346,18 @@ def _typecheckingstub__469ebeca9f5de13870f679bde48f92e084c84974eb076da23d6515dce
|
|
317
346
|
cluster: _aws_cdk_aws_eks_ceddda9d.Cluster,
|
318
347
|
helm_extra_values: typing.Any = None,
|
319
348
|
namespace: typing.Optional[builtins.str] = None,
|
349
|
+
node_role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.Role] = None,
|
320
350
|
version: typing.Optional[builtins.str] = None,
|
321
351
|
) -> None:
|
322
352
|
"""Type checking stubs"""
|
323
353
|
pass
|
324
354
|
|
355
|
+
def _typecheckingstub__7c0fa5f4f02bfe7dcd3e1618714e7cb5a527b8fd6ba783719a452d6af22c4ae2(
|
356
|
+
managed_policy: _aws_cdk_aws_iam_ceddda9d.IManagedPolicy,
|
357
|
+
) -> None:
|
358
|
+
"""Type checking stubs"""
|
359
|
+
pass
|
360
|
+
|
325
361
|
def _typecheckingstub__3554e9a499a68bf31650e3a7390ddcd8c655a2d2adbbe5b710b9fcf2a8132fd2(
|
326
362
|
id: builtins.str,
|
327
363
|
node_template_spec: typing.Mapping[builtins.str, typing.Any],
|
@@ -341,6 +377,7 @@ def _typecheckingstub__4559ecf2c12f8389d9503c7bff63c0e1d38df33a2f13e5dac618becec
|
|
341
377
|
cluster: _aws_cdk_aws_eks_ceddda9d.Cluster,
|
342
378
|
helm_extra_values: typing.Any = None,
|
343
379
|
namespace: typing.Optional[builtins.str] = None,
|
380
|
+
node_role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.Role] = None,
|
344
381
|
version: typing.Optional[builtins.str] = None,
|
345
382
|
) -> None:
|
346
383
|
"""Type checking stubs"""
|
{cdk-eks-karpenter-0.0.31 → cdk-eks-karpenter-0.0.33}/src/cdk_eks_karpenter/_jsii/__init__.py
RENAMED
@@ -14,7 +14,7 @@ import aws_cdk._jsii
|
|
14
14
|
import constructs._jsii
|
15
15
|
|
16
16
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
17
|
-
"cdk-eks-karpenter", "0.0.
|
17
|
+
"cdk-eks-karpenter", "0.0.33", __name__[0:-6], "cdk-eks-karpenter@0.0.33.jsii.tgz"
|
18
18
|
)
|
19
19
|
|
20
20
|
__all__ = [
|
Binary file
|
{cdk-eks-karpenter-0.0.31 → cdk-eks-karpenter-0.0.33/src/cdk_eks_karpenter.egg-info}/PKG-INFO
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: cdk-eks-karpenter
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.33
|
4
4
|
Summary: CDK construct library that allows you install Karpenter in an AWS EKS cluster
|
5
5
|
Home-page: https://github.com/aws-samples/cdk-eks-karpenter.git
|
6
6
|
Author: Andreas Lindh<elindh@amazon.com>
|
{cdk-eks-karpenter-0.0.31 → cdk-eks-karpenter-0.0.33}/src/cdk_eks_karpenter.egg-info/SOURCES.txt
RENAMED
@@ -12,4 +12,4 @@ src/cdk_eks_karpenter.egg-info/dependency_links.txt
|
|
12
12
|
src/cdk_eks_karpenter.egg-info/requires.txt
|
13
13
|
src/cdk_eks_karpenter.egg-info/top_level.txt
|
14
14
|
src/cdk_eks_karpenter/_jsii/__init__.py
|
15
|
-
src/cdk_eks_karpenter/_jsii/cdk-eks-karpenter@0.0.
|
15
|
+
src/cdk_eks_karpenter/_jsii/cdk-eks-karpenter@0.0.33.jsii.tgz
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{cdk-eks-karpenter-0.0.31 → cdk-eks-karpenter-0.0.33}/src/cdk_eks_karpenter.egg-info/requires.txt
RENAMED
File without changes
|
{cdk-eks-karpenter-0.0.31 → cdk-eks-karpenter-0.0.33}/src/cdk_eks_karpenter.egg-info/top_level.txt
RENAMED
File without changes
|