-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
area/codegenAffects quality or correctness of generated codeAffects quality or correctness of generated codekind/bugSome behavior is incorrect or out of specSome behavior is incorrect or out of spec
Description
Hello!
- Vote on this issue by adding a 👍 reaction
- To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already)
Issue details
AWS EKS has a CRD to apply security groups on pods. Using crd2pulumi (1.0.10) to create a TypeScript package, it seems some/all properties are missing from the generated package.
Steps to reproduce
- Launch an EKS cluster (1.21)
- Retrieve the CRD (or use the attached archive):
kubectl get crd securitygrouppolicies.vpcresources.k8s.aws -oyaml > securitygrouppolicies.crd.yaml - Generate the package:
crd2pulumi --nodejs --nodejsName eks-securitygroup-policies --nodejsPath eks-crd/eks-securitygroup-policies securitygrouppolicies.crd.yaml - Properties such as
podSelector,securityGroupsandserviceAccountSelectorare all missing from the generated package
Expected: The generated package contains the same properties as declared in the YAML file
Actual: Properties mentioned above are missing
Attachments
followben, ZhiHanZ and pzpz-f
Metadata
Metadata
Assignees
Labels
area/codegenAffects quality or correctness of generated codeAffects quality or correctness of generated codekind/bugSome behavior is incorrect or out of specSome behavior is incorrect or out of spec