Add unexpected reconcile errors to false Available status in MR cr
This handles errors received while looking up dependent k8s resources, e.g. Istio resources, or errors from Istio validation when creating MR istio resources.
Fixes RHOAIENG-10027
How Has This Been Tested?
Manually tested by setting the property istioIngress: bad-ingressgateway, which results in the error status:
- lastTransitionTime: "2024-08-22T23:48:22Z"
message: 'unexpected reconcile error: missing unique ingress gateway service with labels map[istio:bad-ingressgateway], found 0 services'
reason: DeploymentUnavailable
status: "False"
type: Available
Merge criteria:
[X] The commits and have meaningful messages; the author will squash them after approval or will ask to merge with squash.
[X] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[X] The developer has manually tested the changes and verified that the changes work
Description
Add unexpected reconcile errors to false Available status in MR cr This handles errors received while looking up dependent k8s resources, e.g. Istio resources, or errors from Istio validation when creating MR istio resources. Fixes RHOAIENG-10027
How Has This Been Tested?
Manually tested by setting the property
istioIngress: bad-ingressgateway
, which results in the error status:Merge criteria: