github cdk8s-team/cdk8s-plus cdk8s-plus-30/v2.0.0

latest releases: cdk8s-plus-29/v2.3.11, cdk8s-plus-30/v2.0.5, cdk8s-plus-28/v2.3.11...
28 days ago

2.0.0 (2024-06-04)

⚠ BREAKING CHANGES

  • service: service.addDeployment was removed. Use selector instead. Also, service.serve is renamed to service.bind.
  • You must now pass a scope and id to imported and selected resources
  • container: Use container.env.addVariable() instead of container.addEnv(). Property env of container renamed to envVariables.

Resolves #346

Signed-off-by: Eli Polonsky epolon@amazon.com

  • The interface Resources is now named ContainerResources.

Signed-off-by: Christopher Rybicki rybickic@amazon.com

  • workload: defaultSelector renamed to select. selectByLabel renamed to select and underwent an API change: deployment.selectByLabel('key', 'value') -> deployment.select(LabelSelector.equals('key', 'value'))

Fixes #414
Fixes #413

  • deployment.expose renamed to deployment.exposeViaService
  • deployment.expose and service.addDeployment now accept a port as part of the options, and not a positional argument.

Features

Bug Fixes

  • branch regex doesn't capture current branch names (#48) (f75c50d)
  • broken src imports (#1306) (a3bf0e1)
  • callable import incompatible with esModuleInterop (#80) (e4a2c0f)
  • cluster-role-binding: subject namespace is ignored (#914) (6900a8c)
  • config-map: update examples in documentation (#1334) (b3a4ed5)
  • container: allow the same port number with different protocols (#3508) (ffabf14), closes #3507
  • container: default uid and gid might cause some images to break (#1437) (a3e3fc3)
  • container: enhance Capability enum with ALL cap (#4064) (0d395b8), closes #3817
  • container: unable to set partial container resources (#741) (ae9e2f4)
  • deployment: exposeViaService does not expose port names (#2170) (0cec06d), closes #1981
  • deployment: exposed service doesn't propagate namespace (#882) (5d22227)
  • deployment: unable to set maxUnavailable on a rolling update strategy (#724) (2c40476)
  • docs still pointing to cdk8s-plus-28 (#4028) (a9a08c0)
  • docs: incorrect API reference link in HPA overview (#1343) (efc873c)
  • hpa: unable to target a deployment with a container that has volume mounts (#1438) (3c38b7d)
  • ingress: add ingressClassName to IngressProps (#2964) (3812d5e), closes #2856
  • job: update examples in documentation (#1364) (ebe1b81)
  • npm releases failing to generate provenance (#3800) (119b5d4)
  • pod: unable to use LabelSelector class in python (#841) (f4d0e99), closes #745 #745
  • release branch workflow (#6) (78f5fcb)
  • role: use rules coming from the roleProps (#3813) (d839eab)
  • secret: metadata not fully passed to super in child classes (#1665) (80d6dc7)
  • statefulsets: port name not included in headless service (#3077) (46a7cb7)
  • update readme for v28 (#3769) (54988f6)
  • volume: names can become too long (#1449) (5870790)

Don't miss a new cdk8s-plus release

NewReleases is sending notifications on new releases.