Releases: cdk8s-team/cdk8s
v1.0.0-beta.1
⚠ BREAKING CHANGES
- plus-17: All L2 resource names will undergo a name change (e.g
test-chart-config-configmap-233db8e7
->test-chart-config-c3f7d3c0
) - cli: Construct input types generated by
cdk8s import
are now calledXxxProps
instead ofXxxOptions
to conform with the CDK ecosystem. - lib:
ApiObjectOptions
is now calledApiObjectProps
- lib:
AppOptions
is now calledAppProps
- lib:
ChartOptions
is now calledChartProps
- lib:
HelmOptions
is now calledHelmProps
- lib:
IncludeOptions
is now calledIncludeProps
- cli: when importing k8s api objects using
cdk8s import
, non-stable APIs will be have an API level postfix. For example, k8s@1.18 will have anIngressV1Beta1
API object. - cli: The
--include
CLI option has been removed since all API objects are always imported. - cli: When using the CLI to import the core Kubernetes API objects, the imported classes will now have a
Kube
prefix in order to make it easier to differentiate them from the classes offered by the high-level APIs in CDK8s+ (e.g.k8s.Deployment
is nowk8s.KubeDeployment
). You can disable through the--no-class-prefix
option:cdk8s import --no-class-prefix k8s
. - plus-17: Containers now need to be inputed as interfaces rather than classes. Instead of passing
new kplus.Container(props)
, simply pass inprops
.
Features
- plus: renamed to
cdk8s-plus-17
. The17
marks the minimum supported version of the kubernetes spec. - website: documentation website (#367) (505f946), closes #366
- cdk8s: escape hatches (#372) (12b0f01), closes #144
- cli: class prefix for imported constructs (#370) (0b18df3), closes #140
- cli: import constructs for all API levels (#379) (b0d7621), closes #380
- plus-17: add liveness and startup probes to Container (#358) (f3f9a6a)
- plus-17: Container is now inputed as an interface instead of class (#376) (33bf97a)
- plus-17: expose service options in
expose()
(#357) (7137698) - switch to 1.0.0-beta version line (#384) (ffce8c6)
Bug Fixes
v0.33.0
v0.32.0
⚠ BREAKING CHANGES
- lib:
EnvValue.fromSecret(secret, key)
has been removed in favor ofEnvValue.fromSecretValue({ secret, key })
.
Features
Bug Fixes
v0.31.0
⚠ BREAKING CHANGES
-
plus:
spec
was removed from all cdk8s+ constructs and that now have a flat structure. See Example for new usage. -
plus: Construct id's for deployment will change due to a latent bug that appended the word
pod
to them.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
- plus:
deployment.expose()
now takesport
as a positional argument (before:deployment.expose({ port })
, now:deployment.expose(port)
).
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
- lib: auto-generated resource names that included duplicate hyphens will change will be replaced when applied.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
- lib: cdk8s-plus's value of a label
cdk8s.deployment
of Pods are changed
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license
Features
- lib: helm construct (#346) (6ee449f), closes #65
- plus: Ingress (#340) (14ac668), closes #125
- plus: service.addDeployment() (#342) (5413b3b)
- migrate to cdk.dev slack workspace (#336) (b203e5a)
Bug Fixes
-
lib:
uniqueId
is not compatible with the k8s labels (#326) (161f368), closes #323 -
lib: duplicate hyphens in generated resource names (#341) (6f6366a)
-
allow tests to run without write access to os.tmpdir parent (#338) (dc17022)
-
Fix yaml quote serialization 325 (#327) (6b1f662), closes #325
-
plus: Remove the
spec
nesting level on both input and output (#347) (5e34850)
v0.30.0
v0.29.0
v0.28.0
Features
Bug Fixes
v0.27.0
v0.26.0
v0.25.0
⚠ BREAKING CHANGES
- lib:
cdk8s
discontinues support for theonPrepare
andonSynthesis
construct hooks. These methods will eventually be removed from theconstructs
programming model.
Features
- cli: java import support (#226) (9619a73)
- lib: dependencies and ordering of charts and objects (#223) (701579e), closes #111