cdk-eks-karpenter 0.0.40__tar.gz → 0.0.41__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (18) hide show
  1. {cdk-eks-karpenter-0.0.40/src/cdk_eks_karpenter.egg-info → cdk-eks-karpenter-0.0.41}/PKG-INFO +1 -1
  2. {cdk-eks-karpenter-0.0.40 → cdk-eks-karpenter-0.0.41}/setup.py +2 -2
  3. {cdk-eks-karpenter-0.0.40 → cdk-eks-karpenter-0.0.41}/src/cdk_eks_karpenter/__init__.py +25 -0
  4. {cdk-eks-karpenter-0.0.40 → cdk-eks-karpenter-0.0.41}/src/cdk_eks_karpenter/_jsii/__init__.py +1 -1
  5. cdk-eks-karpenter-0.0.41/src/cdk_eks_karpenter/_jsii/cdk-eks-karpenter@0.0.41.jsii.tgz +0 -0
  6. {cdk-eks-karpenter-0.0.40 → cdk-eks-karpenter-0.0.41/src/cdk_eks_karpenter.egg-info}/PKG-INFO +1 -1
  7. {cdk-eks-karpenter-0.0.40 → cdk-eks-karpenter-0.0.41}/src/cdk_eks_karpenter.egg-info/SOURCES.txt +1 -1
  8. cdk-eks-karpenter-0.0.40/src/cdk_eks_karpenter/_jsii/cdk-eks-karpenter@0.0.40.jsii.tgz +0 -0
  9. {cdk-eks-karpenter-0.0.40 → cdk-eks-karpenter-0.0.41}/LICENSE +0 -0
  10. {cdk-eks-karpenter-0.0.40 → cdk-eks-karpenter-0.0.41}/MANIFEST.in +0 -0
  11. {cdk-eks-karpenter-0.0.40 → cdk-eks-karpenter-0.0.41}/NOTICE +0 -0
  12. {cdk-eks-karpenter-0.0.40 → cdk-eks-karpenter-0.0.41}/README.md +0 -0
  13. {cdk-eks-karpenter-0.0.40 → cdk-eks-karpenter-0.0.41}/pyproject.toml +0 -0
  14. {cdk-eks-karpenter-0.0.40 → cdk-eks-karpenter-0.0.41}/setup.cfg +0 -0
  15. {cdk-eks-karpenter-0.0.40 → cdk-eks-karpenter-0.0.41}/src/cdk_eks_karpenter/py.typed +0 -0
  16. {cdk-eks-karpenter-0.0.40 → cdk-eks-karpenter-0.0.41}/src/cdk_eks_karpenter.egg-info/dependency_links.txt +0 -0
  17. {cdk-eks-karpenter-0.0.40 → cdk-eks-karpenter-0.0.41}/src/cdk_eks_karpenter.egg-info/requires.txt +0 -0
  18. {cdk-eks-karpenter-0.0.40 → cdk-eks-karpenter-0.0.41}/src/cdk_eks_karpenter.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cdk-eks-karpenter
3
- Version: 0.0.40
3
+ Version: 0.0.41
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.40",
8
+ "version": "0.0.41",
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.40.jsii.tgz"
29
+ "cdk-eks-karpenter@0.0.41.jsii.tgz"
30
30
  ],
31
31
  "cdk_eks_karpenter": [
32
32
  "py.typed"
@@ -131,6 +131,7 @@ class Karpenter(
131
131
  helm_extra_values: typing.Any = None,
132
132
  namespace: typing.Optional[builtins.str] = None,
133
133
  node_role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.Role] = None,
134
+ service_account_name: typing.Optional[builtins.str] = None,
134
135
  version: typing.Optional[builtins.str] = None,
135
136
  ) -> None:
136
137
  '''
@@ -140,6 +141,7 @@ class Karpenter(
140
141
  :param helm_extra_values: Extra values to pass to the Karpenter Helm chart.
141
142
  :param namespace: The Kubernetes namespace to install to. Default: karpenter
142
143
  :param node_role: Custom NodeRole to pass for Karpenter Nodes.
144
+ :param service_account_name: The Kubernetes ServiceAccount name to use. Default: karpenter
143
145
  :param version: The helm chart version to install. Default: - latest
144
146
  '''
145
147
  if __debug__:
@@ -151,6 +153,7 @@ class Karpenter(
151
153
  helm_extra_values=helm_extra_values,
152
154
  namespace=namespace,
153
155
  node_role=node_role,
156
+ service_account_name=service_account_name,
154
157
  version=version,
155
158
  )
156
159
 
@@ -230,6 +233,11 @@ class Karpenter(
230
233
  def node_role(self) -> _aws_cdk_aws_iam_ceddda9d.Role:
231
234
  return typing.cast(_aws_cdk_aws_iam_ceddda9d.Role, jsii.get(self, "nodeRole"))
232
235
 
236
+ @builtins.property
237
+ @jsii.member(jsii_name="serviceAccountName")
238
+ def service_account_name(self) -> builtins.str:
239
+ return typing.cast(builtins.str, jsii.get(self, "serviceAccountName"))
240
+
233
241
  @builtins.property
234
242
  @jsii.member(jsii_name="version")
235
243
  def version(self) -> typing.Optional[builtins.str]:
@@ -244,6 +252,7 @@ class Karpenter(
244
252
  "helm_extra_values": "helmExtraValues",
245
253
  "namespace": "namespace",
246
254
  "node_role": "nodeRole",
255
+ "service_account_name": "serviceAccountName",
247
256
  "version": "version",
248
257
  },
249
258
  )
@@ -255,6 +264,7 @@ class KarpenterProps:
255
264
  helm_extra_values: typing.Any = None,
256
265
  namespace: typing.Optional[builtins.str] = None,
257
266
  node_role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.Role] = None,
267
+ service_account_name: typing.Optional[builtins.str] = None,
258
268
  version: typing.Optional[builtins.str] = None,
259
269
  ) -> None:
260
270
  '''
@@ -262,6 +272,7 @@ class KarpenterProps:
262
272
  :param helm_extra_values: Extra values to pass to the Karpenter Helm chart.
263
273
  :param namespace: The Kubernetes namespace to install to. Default: karpenter
264
274
  :param node_role: Custom NodeRole to pass for Karpenter Nodes.
275
+ :param service_account_name: The Kubernetes ServiceAccount name to use. Default: karpenter
265
276
  :param version: The helm chart version to install. Default: - latest
266
277
  '''
267
278
  if __debug__:
@@ -270,6 +281,7 @@ class KarpenterProps:
270
281
  check_type(argname="argument helm_extra_values", value=helm_extra_values, expected_type=type_hints["helm_extra_values"])
271
282
  check_type(argname="argument namespace", value=namespace, expected_type=type_hints["namespace"])
272
283
  check_type(argname="argument node_role", value=node_role, expected_type=type_hints["node_role"])
284
+ check_type(argname="argument service_account_name", value=service_account_name, expected_type=type_hints["service_account_name"])
273
285
  check_type(argname="argument version", value=version, expected_type=type_hints["version"])
274
286
  self._values: typing.Dict[builtins.str, typing.Any] = {
275
287
  "cluster": cluster,
@@ -280,6 +292,8 @@ class KarpenterProps:
280
292
  self._values["namespace"] = namespace
281
293
  if node_role is not None:
282
294
  self._values["node_role"] = node_role
295
+ if service_account_name is not None:
296
+ self._values["service_account_name"] = service_account_name
283
297
  if version is not None:
284
298
  self._values["version"] = version
285
299
 
@@ -311,6 +325,15 @@ class KarpenterProps:
311
325
  result = self._values.get("node_role")
312
326
  return typing.cast(typing.Optional[_aws_cdk_aws_iam_ceddda9d.Role], result)
313
327
 
328
+ @builtins.property
329
+ def service_account_name(self) -> typing.Optional[builtins.str]:
330
+ '''The Kubernetes ServiceAccount name to use.
331
+
332
+ :default: karpenter
333
+ '''
334
+ result = self._values.get("service_account_name")
335
+ return typing.cast(typing.Optional[builtins.str], result)
336
+
314
337
  @builtins.property
315
338
  def version(self) -> typing.Optional[builtins.str]:
316
339
  '''The helm chart version to install.
@@ -347,6 +370,7 @@ def _typecheckingstub__469ebeca9f5de13870f679bde48f92e084c84974eb076da23d6515dce
347
370
  helm_extra_values: typing.Any = None,
348
371
  namespace: typing.Optional[builtins.str] = None,
349
372
  node_role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.Role] = None,
373
+ service_account_name: typing.Optional[builtins.str] = None,
350
374
  version: typing.Optional[builtins.str] = None,
351
375
  ) -> None:
352
376
  """Type checking stubs"""
@@ -378,6 +402,7 @@ def _typecheckingstub__4559ecf2c12f8389d9503c7bff63c0e1d38df33a2f13e5dac618becec
378
402
  helm_extra_values: typing.Any = None,
379
403
  namespace: typing.Optional[builtins.str] = None,
380
404
  node_role: typing.Optional[_aws_cdk_aws_iam_ceddda9d.Role] = None,
405
+ service_account_name: typing.Optional[builtins.str] = None,
381
406
  version: typing.Optional[builtins.str] = None,
382
407
  ) -> None:
383
408
  """Type checking stubs"""
@@ -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.40", __name__[0:-6], "cdk-eks-karpenter@0.0.40.jsii.tgz"
17
+ "cdk-eks-karpenter", "0.0.41", __name__[0:-6], "cdk-eks-karpenter@0.0.41.jsii.tgz"
18
18
  )
19
19
 
20
20
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cdk-eks-karpenter
3
- Version: 0.0.40
3
+ Version: 0.0.41
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>
@@ -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.40.jsii.tgz
15
+ src/cdk_eks_karpenter/_jsii/cdk-eks-karpenter@0.0.41.jsii.tgz