-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
impact/panicThis bug represents a panic or unexpected crashThis bug represents a panic or unexpected crashkind/bugSome behavior is incorrect or out of specSome behavior is incorrect or out of specresolution/fixedThis issue was fixedThis issue was fixed
Description
Threw a crazy long CRD at crd2pulumi and it error out like on #135 Its a 5000 line CRD from https://github.com/element-hq/ess-starter-edition-core
panic: fatal: error An assertion has failed: could not parse Pulumi package. source error: could not import spec: <nil>: #/types/kubernetes:matrix.element.io%2Fv1alpha1:ElementDeploymentSpecComponentsSynapseConfigMedia/properties/volume/default: type pulumi:pulumi:Any cannot have a constant value; only booleans, integers, numbers and strings may have constant values; , and 3 other diagnostic(s)
properties:
volume:
default:
name: media
size: 2048
description: The volume holding media
oneOf:
- not:
required:
- name
required:
- size
- required:
- name
- size
properties:
name:
description: The volume name to use to store the
media
type: string
size:
anyOf:
- type: integer
- type: string
description: The volume size to use to store the
media
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[MGTPE])?$
x-kubernetes-int-or-string: true
type: object
type: object
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
impact/panicThis bug represents a panic or unexpected crashThis bug represents a panic or unexpected crashkind/bugSome behavior is incorrect or out of specSome behavior is incorrect or out of specresolution/fixedThis issue was fixedThis issue was fixed