Skip to content

Commit

Permalink
mid work
Browse files Browse the repository at this point in the history
Signed-off-by: epolon <[email protected]>
  • Loading branch information
iliapolo committed Feb 25, 2025
1 parent caea946 commit b189ab0
Show file tree
Hide file tree
Showing 14 changed files with 50 additions and 67 deletions.
6 changes: 3 additions & 3 deletions .gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .projen/tasks.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/basics/api-object.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ For example, the following code:

```ts
import { App, Chart } from 'cdk8s';
import * as kplus from 'cdk8s-plus-31';
import * as kplus from 'cdk8s-plus-32';

const app = new App();
const chart = new MyChart(app, 'my-chart');
Expand Down
2 changes: 1 addition & 1 deletion docs/basics/escape-hatches.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ To do that, you will need to "peak" into the construct tree and find the underly
API object, so you can apply the patch to it:

```ts
import { Pod } from 'cdk8s-plus-31';
import { Pod } from 'cdk8s-plus-32';
import { ApiObject } from 'cdk8s';

const pod = new Pod(...);
Expand Down
2 changes: 1 addition & 1 deletion docs/plus/.pages
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
nav:
- index.md
- cdk8s-plus-29: cdk8s-plus-29
- cdk8s-plus-30: cdk8s-plus-30
- cdk8s-plus-31: cdk8s-plus-31
- cdk8s-plus-32: cdk8s-plus-32
26 changes: 13 additions & 13 deletions docs/plus/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ manifests.
## At a glance

```typescript
import * as kplus from 'cdk8s-plus-31';
import * as kplus from 'cdk8s-plus-32';
import * as cdk8s from 'cdk8s';
import * as path from 'path';

Expand Down Expand Up @@ -177,10 +177,10 @@ app.synth();

=== "TypeScript"

`❯ npm install cdk8s-plus-31 cdk8s constructs`
`❯ npm install cdk8s-plus-32 cdk8s constructs`

```typescript
import * as kplus from 'cdk8s-plus-31';
import * as kplus from 'cdk8s-plus-32';
import * as cdk8s from 'cdk8s';

const app = new cdk8s.App();
Expand All @@ -198,10 +198,10 @@ app.synth();

=== "JavaScript"

`❯ npm install cdk8s-plus-31 cdk8s constructs`
`❯ npm install cdk8s-plus-32 cdk8s constructs`

```typescript
const kplus = require('cdk8s-plus-31');
const kplus = require('cdk8s-plus-32');
const cdk8s = require('cdk8s');

const app = new cdk8s.App();
Expand All @@ -219,7 +219,7 @@ app.synth();

=== "Python"

`❯ pip install cdk8s-plus-31 cdk8s`
`❯ pip install cdk8s-plus-32 cdk8s`

```python
import cdk8s_plus_27 as kplus
Expand All @@ -246,7 +246,7 @@ app.synth();
</dependency>
<dependency>
<groupId>org.cdk8s</groupId>
<artifactId>cdk8s-plus-31</artifactId>
<artifactId>cdk8s-plus-32</artifactId>
<version>2.0.0</version>
</dependency>
```
Expand All @@ -259,8 +259,8 @@ app.synth();
import org.cdk8s.App;
import org.cdk8s.Chart;
import org.cdk8s.ChartProps;
import org.cdk8s.plus31.Deployment;
import org.cdk8s.plus31.ContainerProps;
import org.cdk8s.plus32.Deployment;
import org.cdk8s.plus32.ContainerProps;

import java.util.Arrays;

Expand Down Expand Up @@ -297,17 +297,17 @@ app.synth();
"github.com/aws/constructs-go/constructs/v10"
"github.com/aws/jsii-runtime-go"
"github.com/cdk8s-team/cdk8s-core-go/cdk8s/v2"
"github.com/cdk8s-team/cdk8s-plus-go/cdk8splus31"
"github.com/cdk8s-team/cdk8s-plus-go/cdk8splus32"
)
```

```go
app := cdk8s.NewApp(nil)
chart := cdk8s.NewChart(app, jsii.String("ubuntu"), nil)

cdk8splus31.NewDeployment(chart, jsii.String("Deployment"), &cdk8splus31.DeploymentProps{
cdk8splus32.NewDeployment(chart, jsii.String("Deployment"), &cdk8splus32.DeploymentProps{
Replicas: jsii.Number(3),
Containers: &[]*cdk8splus31.ContainerProps{{
Containers: &[]*cdk8splus32.ContainerProps{{
Image: jsii.String("ubuntu"),
}},
})
Expand All @@ -328,7 +328,7 @@ which are available from within **cdk8s+**, so you don't need to install an addi
or [import](https://cdk8s.io/docs/latest/cli/import/) any resources. For example:

```ts
import * as kplus from 'cdk8s-plus-31';
import * as kplus from 'cdk8s-plus-32';
import * as cdk8s from 'cdk8s';

const app = new cdk8s.App();
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/.pages
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
nav:
- index.md
- cdk8s: cdk8s
- cdk8s-plus-29: cdk8s-plus-29
- cdk8s-plus-30: cdk8s-plus-30
- cdk8s-plus-31: cdk8s-plus-31
- cdk8s-plus-32: cdk8s-plus-32
5 changes: 5 additions & 0 deletions docs/reference/cdk8s-plus-32/.pages
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
nav:
- TypeScript: typescript.md
- Python: python.md
- Java: java.md
- Go: go.md
3 changes: 3 additions & 0 deletions docs/reference/cdk8s-plus-32/go.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# cdk8s-plus-32 (Go) <a name="API Reference"></a>

For Go API reference, please visit <https://pkg.go.dev/github.com/cdk8s-team/cdk8s-plus-go/cdk8splus32>.
8 changes: 4 additions & 4 deletions docs/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,30 @@ This section includes API reference for the various components of cdk8s.
=== "TypeScript"

* [**cdk8s**](./cdk8s/typescript.md)
* [**cdk8s-plus-29**](./cdk8s-plus-29/typescript.md) · Kubernetes v1.29.0
* [**cdk8s-plus-30**](./cdk8s-plus-30/typescript.md) · Kubernetes v1.30.0
* [**cdk8s-plus-31**](./cdk8s-plus-31/typescript.md) · Kubernetes v1.31.0
* [**cdk8s-plus-32**](./cdk8s-plus-32/typescript.md) · Kubernetes v1.32.0

=== "Python"

* [**cdk8s**](./cdk8s/python.md)
* [**cdk8s-plus-29**](./cdk8s-plus-29/python.md) · Kubernetes v1.29.0
* [**cdk8s-plus-30**](./cdk8s-plus-30/python.md) · Kubernetes v1.30.0
* [**cdk8s-plus-31**](./cdk8s-plus-31/python.md) · Kubernetes v1.31.0
* [**cdk8s-plus-32**](./cdk8s-plus-32/python.md) · Kubernetes v1.32.0

=== "Java"

* [**cdk8s**](./cdk8s/java.md)
* [**cdk8s-plus-29**](./cdk8s-plus-29/java.md) · Kubernetes v1.29.0
* [**cdk8s-plus-30**](./cdk8s-plus-30/java.md) · Kubernetes v1.30.0
* [**cdk8s-plus-31**](./cdk8s-plus-31/java.md) · Kubernetes v1.31.0
* [**cdk8s-plus-32**](./cdk8s-plus-32/java.md) · Kubernetes v1.32.0

=== "Go"

* [**cdk8s**](./cdk8s/go.md)
* [**cdk8s-plus-29**](./cdk8s-plus-29/go.md) · Kubernetes v1.29.0
* [**cdk8s-plus-30**](./cdk8s-plus-30/go.md) · Kubernetes v1.30.0
* [**cdk8s-plus-31**](./cdk8s-plus-31/go.md) · Kubernetes v1.31.0
* [**cdk8s-plus-32**](./cdk8s-plus-32/go.md) · Kubernetes v1.32.0

!!! info

Expand Down
2 changes: 1 addition & 1 deletion package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/latest-k8s-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
31
32
45 changes: 10 additions & 35 deletions yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b189ab0

Please sign in to comment.