openstack-k8s-operators / barbican-operator

Apache License 2.0
5 stars 24 forks source link

Make sure to log error in findObjectsForSrc() #169

Closed stuggi closed 3 days ago

stuggi commented 3 days ago

It is hidden right now if there is an error in configured named fields and index. Lets log the error and return the current state of requests.

With this the findObjectsForSrc() will exit with an hidden error like:

"error": "Index with name field:.spec.ksmTls.caBundleSecretName does not exist"
openshift-ci[bot] commented 3 days ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abays, stuggi

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/openstack-k8s-operators/barbican-operator/blob/main/OWNERS)~~ [abays,stuggi] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment