prehistoric-sandwich-7272
11/03/2022, 1:03 PMcrd2pulumi
-
I have generated from the following crd - https://github.com/argoproj/argo-helm/blob/main/charts/argo-rollouts/templates/crds/rollout-crd.yaml a pulumi package using the above command, and I got errors in the pulumiTypes.go file!
When I am running pulumi up, I get the following error message:
argoRollout/argoproj/v1alpha1/pulumiTypes.go:1842:6: RolloutSpecStrategyBluegreenPostpromotionanalysisArgs redeclared in this block
argoRollout/argoproj/v1alpha1/pulumiTypes.go:1674:6: other declaration of RolloutSpecStrategyBluegreenPostpromotionanalysisArgs
argoRollout/argoproj/v1alpha1/pulumiTypes.go:1917:98: v.Name undefined (type RolloutSpecStrategyBluegreenPostpromotionanalysisArgs has no field or method Name)
.
.
.
argoRollout/argoproj/v1alpha1/pulumiTypes.go:2798:98: too many errors
I am taking from this that the crd2pulumi
couldn’t create the package from the crd correctly.
Is there any way around this?billowy-army-68599
11/03/2022, 1:13 PMlimited-rainbow-51650
11/03/2022, 1:31 PMcrd2pulumi
with the CRDs here:
https://github.com/argoproj/argo-rollouts/tree/master/manifests/crds
crd2pulumi
doesn’t work with Helm charts FYI.prehistoric-sandwich-7272
11/03/2022, 1:39 PMlimited-rainbow-51650
11/03/2022, 2:12 PMcrd2pulumi
doesn’t support Helm charts.prehistoric-sandwich-7272
11/03/2022, 2:19 PMlimited-rainbow-51650
11/22/2022, 4:01 PMprehistoric-sandwich-7272
11/22/2022, 4:18 PMlimited-rainbow-51650
11/22/2022, 4:30 PMkubectl apply
of a single YAML file is this Pulumi Kubernetes resource: https://www.pulumi.com/registry/packages/kubernetes/api-docs/yaml/configfile/billowy-army-68599
11/22/2022, 4:36 PMprehistoric-sandwich-7272
11/22/2022, 4:49 PMbillowy-army-68599
11/22/2022, 4:52 PMprehistoric-sandwich-7272
11/22/2022, 5:01 PM