-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhos-18.0.0
-
None
https://github.com/openstack-k8s-operators/lib-common/pull/547 fixed an issue where the problem was that you can't return a non-standard requeue ctrlResult and an error at the same time, because the requeue will be ignored and the error is handled instead – which means the next reconcile loop will not happen when you have requested.
This lead to the situation that when calling tls.ValidateCertSecrets() from the service operators the information about which of the endpoint services secret is missing is not available.
After a discussion on slack we decided to update ValidateCertSecrets to return an error instead of ctrlResult in case the cert secret is missing. With this the caller has the information on what secret is missing and then can decide what to do. In most cases we do not have to schedule a reconcile since the service operators chanced to watch the named cert secret resources.
- links to
-
RHSA-2024:140345 RHOSO OpenStack Podified operator containers security update