⚠ 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)