opendatahub-io / opendatahub-operator

Open Data Hub operator to manage ODH component integrations
https://opendatahub.io
Apache License 2.0
59 stars 127 forks source link

chore(feature): adds context to manifest errors #1104

Closed bartoszmajsak closed 1 month ago

bartoszmajsak commented 1 month ago

Description

During the processing of the manifest files, the names of the files were not reported as part of the errors such as missing keys referred in the templates. This commit adds this context to returned errors so the problems can be located faster.

How Has This Been Tested?

make - this is not a functional change, this adds more details to error messages.

Screenshot or short clip

Merge criteria

openshift-ci[bot] commented 1 month ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: zdtsw

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/opendatahub-io/opendatahub-operator/blob/incubation/OWNERS)~~ [zdtsw] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment