crossplane-contrib/x-generation

Make it possible to patch spec.providerConfigRef.name

markussiebert opened this issue · 2 comments

If I understand the functions right, it's not possible now to create patches like:

overrideFieldsInClaim:
  - claimPath: spec.claimRef.namespace
    managedPath: spec.providerConfigRef.name

It would be great if it would be possible.

@markussiebert could you please elaborate what you want to achieve?

with the v0.10.0 release you can ignore fields and add an override patch:

https://github.com/crossplane-contrib/x-generation/blob/main/package/EKS-Cluster/generate.yaml#L18-L26