It's likely the following section is responsible for the error:
persistence:
default:
storage: 10Gi
description: The desired persistent storage configuration for each Pod in the cluster.
properties:
storage:
anyOf:
- type: integer
- type: string
default: 10Gi
description: The requested size of the persistent volume attached to each Pod in the RabbitmqCluster. The format of this field matches that defined by kubernetes/apimachinery. See https://pkg.go.dev/k8s.io/apimachinery/pkg/api/resource#Quantity for more info on the format of this field.
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
When attempting to parse the CRD referenced to nodejs in https://www.rabbitmq.com/kubernetes/operator/install-operator.html (i.e. https://github.com/rabbitmq/cluster-operator/releases/latest/download/cluster-operator.yml) crd2pulumi fails with an "error binding default value for property storage".
Expected behavior
Should compile CRD correctly
Current behavior
Fails with following error:
Steps to reproduce
crd2pulumi -n cluster-operator-trimmed.yml
Context (Environment)
It's likely the following section is responsible for the error:
Affected feature