-
Beta Was this translation helpful? Give feedback.
Answered by
tesharp
Dec 6, 2022
Replies: 3 comments
-
Yes, it is possible with main.ts: import * as cdk8s from 'npm:cdk8s';
import { Construct } from 'npm:constructs';
export class MyChart extends cdk8s.Chart {
constructor(scope: Construct, id: string, props: cdk8s.ChartProps) {
super(scope, id, props);
...
}
} cdk8s.yaml: language: typescript
app: deno run --allow-env --allow-write --allow-read main.ts
imports:
- k8s |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
unicomp21
-
Hey @unicomp21, did this resolve for you? Let me know if you are still looking for an answer. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Related https://github.com/cdk8s-team/cdk8s-core/issues/481 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, it is possible with
deno
1.28. Just import it as npm packages. Something like this, not entirely working since a bit copy / paste..main.ts:
cdk8s.yaml: