feat(remove): remove deprecated providerRef#475
Conversation
afcc517 to
3605cbb
Compare
|
AFAIK The only reason it's still there is that removing it would be a breaking API change. I agree that it's been deprecated long enough that we should be fine to remove it - I'm not aware of any v1 APIs it would affect. Any providers that picked up the change would need to communicate it well. |
|
Are there any other deprecated fields that we want to remove at the same time? |
|
Have no other field in my mind - |
|
@haarchri I had a look. There's a few others that are due for deprecation, e.g.:
Given that we've waited this long to remove That said, I don't feel strongly. I suspect that removing |
turkenh
left a comment
There was a problem hiding this comment.
While I like the idea of batching multiple at once, I believe the deprecation of providerRef could be much smoother compared to the other two as it is not prevalent as others, and it has been a long time since it was replaced with providerConfigRef.
So, I prefer to merge this and batch the other two together.
3605cbb to
54aa59d
Compare
Signed-off-by: Christopher Haar <christopher.haar@upbound.io>
54aa59d to
fd85873
Compare
Description of your changes
remove the very long deprecated providerRef - from time to time we see questions regarding providerRef - because this field is available in all providers
did we have anything i am not aware of why we want to use this field ?
few examples:
https://marketplace.upbound.io/providers/upbound/provider-aws-accessanalyzer/v0.37.0/resources/accessanalyzer.aws.upbound.io/Analyzer/v1beta1#doc:spec-providerRef
https://marketplace.upbound.io/providers/upbound/provider-azure-alertsmanagement/v0.34.0/resources/alertsmanagement.azure.upbound.io/MonitorActionRuleActionGroup/v1beta1#doc:spec-providerRef
https://marketplace.upbound.io/providers/upbound/provider-gcp-activedirectory/v0.34.0/resources/activedirectory.gcp.upbound.io/Domain/v1beta1#doc:spec-providerRef
https://marketplace.upbound.io/providers/upbound/provider-terraform/v0.8.0/resources/tf.upbound.io/Workspace/v1beta1#doc:spec-providerRef
https://marketplace.upbound.io/providers/crossplane-contrib/provider-aws/v0.41.1/resources/acm.aws.crossplane.io/Certificate/v1beta1#doc:spec-providerRef
Fixes #
I have:
make reviewable testto ensure this PR is ready for review.How has this code been tested