-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
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 specresolution/fixedThis issue was fixedThis issue was fixed
Milestone
Description
Essentially, it seems that when generating types from the AWS LB controller's TargetGroupBinding CRD, at least one struct is missing fields (TargetGroupBindingSpecServiceRefArgs).
Expected behavior
I'd expect it to have a Port field:
serviceRef:
description: serviceRef is a reference to a Kubernetes Service and
ServicePort.
properties:
name:
description: Name is the name of the Service.
type: string
port:
anyOf:
- type: integer
- type: string
description: Port is the port of the ServicePort.
x-kubernetes-int-or-string: true
required:
- name
- port
type: objectCurrent behavior
no fields at all:
type TargetGroupBindingSpecServiceRefPortArgs struct {
}Steps to reproduce
- have AWS LB Controller installed in your Kube cluster
kubectl get crd targetgroupbindings.elbv2.k8s.aws -o yaml > tgb-crd.ymlcrd2pulumi --goPath tgb-crd.yml
Context (Environment)
Go 1.16
WSL2 Ubuntu 20.04
Affected feature
?
Reactions are currently unavailable
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 specresolution/fixedThis issue was fixedThis issue was fixed