cdk-eks-karpenter 0.0.40__py3-none-any.whl → 0.0.41__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -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>
@@ -0,0 +1,10 @@
1
+ cdk_eks_karpenter/__init__.py,sha256=m5vMS2cHRDGInyWHHY3aq2cWezOq4hkac27-Vwq7bZE,15735
2
+ cdk_eks_karpenter/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
+ cdk_eks_karpenter/_jsii/__init__.py,sha256=fjL3STsvXzSleZSowasGucqxtjR5FSFslgAPD5EuMzg,403
4
+ cdk_eks_karpenter/_jsii/cdk-eks-karpenter@0.0.41.jsii.tgz,sha256=VWile1YTUbrKoT6B_G97cnMEc9ZKXCADVcuvBb3Zde8,30938
5
+ cdk_eks_karpenter-0.0.41.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
6
+ cdk_eks_karpenter-0.0.41.dist-info/METADATA,sha256=IIIcnkwdCHz4ILKn01fLwsQl46o9bW6ItjFnuL34DkM,4159
7
+ cdk_eks_karpenter-0.0.41.dist-info/NOTICE,sha256=Eg13ogOmcI7JpMjxniFnKG81vwU3X8X7P_IlpvVg5RU,66
8
+ cdk_eks_karpenter-0.0.41.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
9
+ cdk_eks_karpenter-0.0.41.dist-info/top_level.txt,sha256=LpiLx4ULBKhS-S19ZH4TP4jxqCO7uWvMHN-mjiAGHT0,18
10
+ cdk_eks_karpenter-0.0.41.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- cdk_eks_karpenter/__init__.py,sha256=0QRFCADYFEAdypNCIEqu5m813Ov4u_8gHaVnYN88Zd0,14389
2
- cdk_eks_karpenter/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
3
- cdk_eks_karpenter/_jsii/__init__.py,sha256=hRXsPaOAzTQgjXiVHxi-FgJiZTMpn780zn8kOC5absE,403
4
- cdk_eks_karpenter/_jsii/cdk-eks-karpenter@0.0.40.jsii.tgz,sha256=kc7u5UBcDWpNOXujqYOcXcgyhmCf6ci4C1xOJrkX0fs,30737
5
- cdk_eks_karpenter-0.0.40.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
6
- cdk_eks_karpenter-0.0.40.dist-info/METADATA,sha256=w_YGruJoKlzS2AZ62TcmMFsZxqIhPPlemTylshAqh3Q,4159
7
- cdk_eks_karpenter-0.0.40.dist-info/NOTICE,sha256=Eg13ogOmcI7JpMjxniFnKG81vwU3X8X7P_IlpvVg5RU,66
8
- cdk_eks_karpenter-0.0.40.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
9
- cdk_eks_karpenter-0.0.40.dist-info/top_level.txt,sha256=LpiLx4ULBKhS-S19ZH4TP4jxqCO7uWvMHN-mjiAGHT0,18
10
- cdk_eks_karpenter-0.0.40.dist-info/RECORD,,