Change the Lua code in the resource.customizations to address situations where Composite Resources stay in the Provisioning status forever, mainly for the ProviderConfig Kind.
It add tests for specific Kinds that does not have status or have just a status.users field. It also adds tests for the helm provider CRDs.
Based on the guide on https://docs.crossplane.io/latest/guides/crossplane-with-argo-cd/
Motivation
To have a Composition deployed with ArgoCD and all resources with a green health status.
In the case of the Composition I was building, the ProviderConfig for kubernetes and for helm needed this fix to became green.
More
[x] Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
[ ] Yes, I have added a new example under examples to support my PR
What does this PR do?
Change the Lua code in the resource.customizations to address situations where Composite Resources stay in the Provisioning status forever, mainly for the ProviderConfig Kind. It add tests for specific Kinds that does not have status or have just a status.users field. It also adds tests for the helm provider CRDs. Based on the guide on https://docs.crossplane.io/latest/guides/crossplane-with-argo-cd/
Motivation
To have a Composition deployed with ArgoCD and all resources with a green health status. In the case of the Composition I was building, the ProviderConfig for kubernetes and for helm needed this fix to became green.
More
[x] Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
[ ] Yes, I have added a new example under examples to support my PR
[ ] Yes, I have updated the docs for this feature
[ ] Yes, I have linked to an issue or feature request (applicable to PRs that solves a bug or a feature request)
Note:
For Moderators
Additional Notes