Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: rotate cdk8s-plus -> 30 #1988

Merged
merged 1 commit into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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-29';
import * as kplus from 'cdk8s-plus-30';

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-29';
import { Pod } from 'cdk8s-plus-30';
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-27: cdk8s-plus-27
- cdk8s-plus-28: cdk8s-plus-28
- cdk8s-plus-29: cdk8s-plus-29
- cdk8s-plus-30: cdk8s-plus-30
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-29';
import * as kplus from 'cdk8s-plus-30';
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-29 cdk8s constructs`
`❯ npm install cdk8s-plus-30 cdk8s constructs`

```typescript
import * as kplus from 'cdk8s-plus-29';
import * as kplus from 'cdk8s-plus-30';
import * as cdk8s from 'cdk8s';

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

=== "JavaScript"

`❯ npm install cdk8s-plus-29 cdk8s constructs`
`❯ npm install cdk8s-plus-30 cdk8s constructs`

```typescript
const kplus = require('cdk8s-plus-29');
const kplus = require('cdk8s-plus-30');
const cdk8s = require('cdk8s');

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

=== "Python"

`❯ pip install cdk8s-plus-29 cdk8s`
`❯ pip install cdk8s-plus-30 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-29</artifactId>
<artifactId>cdk8s-plus-30</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.plus29.Deployment;
import org.cdk8s.plus29.ContainerProps;
import org.cdk8s.plus30.Deployment;
import org.cdk8s.plus30.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/cdk8splus29"
"github.com/cdk8s-team/cdk8s-plus-go/cdk8splus30"
)
```

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

cdk8splus29.NewDeployment(chart, jsii.String("Deployment"), &cdk8splus29.DeploymentProps{
cdk8splus30.NewDeployment(chart, jsii.String("Deployment"), &cdk8splus30.DeploymentProps{
Replicas: jsii.Number(3),
Containers: &[]*cdk8splus29.ContainerProps{{
Containers: &[]*cdk8splus30.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-29';
import * as kplus from 'cdk8s-plus-30';
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-27: cdk8s-plus-27
- cdk8s-plus-28: cdk8s-plus-28
- cdk8s-plus-29: cdk8s-plus-29
- cdk8s-plus-30: cdk8s-plus-30
Loading
Loading