github cdk8s-team/cdk8s-plus cdk8s-plus-23/v2.0.0-beta.0

2.0.0-beta.0 (2022-05-22)

⚠ BREAKING CHANGES

  • 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)
  • callable import incompatible with esModuleInterop (#80) (e4a2c0f)
  • deployment: unable to set maxUnavailable on a rolling update strategy (#724) (2c40476)
  • release branch workflow (#6) (78f5fcb)

Don't miss a new cdk8s-plus release

NewReleases is sending notifications on new releases.