Closed joeyorlando closed 3 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Please upload report for BASE (
main@c5af3f9
). Learn more about missing BASE report.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@MasterExecuson see this PR.
One thing to note is that for any related object which is only represented by a Terraform datasource (as opposed to a resource), Crossplane doesn't allow us to specify refs/selectors for these. Terraform datasources are not translated to Crossplane resources unfortunately.
The workaround they have is this, basically using the Terraform provider for Crossplane to use the datasources directly.
Once we get v0.17.0 of this provider published, let me know if you're able to get this working with the linked documentation.
Description of your changes
Adds all missing
selector
andref
fields for the following Grafana OnCall Crossplane resources:oncall.grafana.crossplane.io.EscalationChain
oncall.grafana.crossplane.io.Escalation
oncall.grafana.crossplane.io.Integration
oncall.grafana.crossplane.io.OnCallShift
oncall.grafana.crossplane.io.OutgoingWebhook
oncall.grafana.crossplane.io.Route
oncall.grafana.crossplane.io.Schedule
Closes https://github.com/grafana/oncall/issues/4411
I have:
make reviewable test
to ensure this PR is ready for review.