x-generation icon indicating copy to clipboard operation
x-generation copied to clipboard

Make it possible to patch spec.providerConfigRef.name

Open markussiebert opened this issue 2 years ago • 1 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 avatar Jun 15 '23 13:06 markussiebert

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

guettli avatar Nov 09 '23 08:11 guettli

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

haarchri avatar May 13 '24 09:05 haarchri