Open jfreuter-finnet opened 2 years ago
@JFReuter-Fin Does this issue still persist? Can you share which Node version you are using?
I had the same issue and found out that this happens because of this property in the crd:
...
steps:
items:
type: array
type: array
@ajkaanbal Thanks, we will take a look 👍
This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon.
Keep
This issue is now marked as stale because it hasn't seen activity for a while. Add a comment or it will be closed soon. If you wish to exclude this issue from being marked as stale, add the "backlog" label.
Closing this issue as it hasn't seen activity for a while. Please add a comment @mentioning a maintainer to reopen. If you wish to exclude this issue from being marked as stale, add the "backlog" label.
I ran into this problem today using node v16.14.1
and cdk8s-cli 1.0.161
with the argo workflows CRDs
We should probably fallback to any
in json2jsii
for scenarios like these.
Same error using node v18.10.0
and cdk8s-cli 2.1.4
.
cdk8s.yaml
language: go
app: go run .
imports:
- https://raw.githubusercontent.com/argoproj/argo-workflows/v3.4.1/manifests/base/crds/full/argoproj.io_clusterworkflowtemplates.yaml
This issue has not received any attention in 1 year and will be closed soon. If you want to keep it open, please leave a comment below @mentioning a maintainer.
Keep open.
Description of the bug:
When importing the CRDs from the argo-workflows project, cdk8s import errors out.
Reproduction Steps:
cdk8s import https://raw.githubusercontent.com/argoproj/argo-workflows/v2.12.9/manifests/base/crds/full/argoproj.io_clusterworkflowtemplates.yaml
Error Log:
Environment:
This is :bug: Bug Report