Closed haarchri closed 9 months ago
This field is going away in Terraform for sure, so it's not going to stay here in the Crossplane provider.
The reason it's deprecated is because it used to be top-level attribute in the Grafana API too but it's not anymore. Not sure what the solution is but the password field probably isn't it
Maybe, we can have an attribute that's a secret ref, takes the value from that ref and tranposes it to a secure data json payload?
Can this be done from a combine patch?
problem here is that we can't use a combine patch from a secretRef ... https://github.com/crossplane/crossplane/issues/2772
options:
btw all the "new" encoded fields are pain in daily doing
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
I'd suggest to generally allow specification of YAML objects in claims. The actual transformation into a JSON string should be a provider internal concern and not part of the API. I am willing to create an issue on this subject.
Going to have to close this one sorry. The field has been removed from the TF provider (and the API)
Description of your changes
we used the old terrajet grafana provider and migrated to the upjet implementation - and
passwordSecretRef
is missing - so we addedpassword
forgrafana_data_source
again. for crossplane eco-system its much more easier withpassword
field - because we can directly use the generated connectionSecrets from rds for example - is this an option for this deprecated field ? we can't find why this field is deprecated in terraform providerFixes #
I have:
make reviewable test
to ensure this PR is ready for review.How has this code been tested