You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a cross-resource reference field `spec.forProvider.x, we generate three fields:
A name reference field, e.g., spec.forProvider.xRef
A label selector field, e.g., spec.forProvider.xSelector
The reference target field spec.forProvider.x
Because any of these fields can be specified, upjet currently generates all of them as optional fields.
How could Upjet help solve your problem?
We had better require at least one of these reference fields via CRD validation rules, if the reference target field is marked as required in the underlying Terraform schema.
The text was updated successfully, but these errors were encountered:
What problem are you facing?
For a cross-resource reference field `spec.forProvider.x, we generate three fields:
spec.forProvider.xRef
spec.forProvider.xSelector
spec.forProvider.x
Because any of these fields can be specified, upjet currently generates all of them as optional fields.
How could Upjet help solve your problem?
We had better require at least one of these reference fields via CRD validation rules, if the reference target field is marked as required in the underlying Terraform schema.
The text was updated successfully, but these errors were encountered: