You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a DisposableRequest, we are hoping to use expectedResponse as a way to stop processing if the response is not expected. For example, the below object shows that a 500 error was returned, and the body does not have the password key. We see that the DisposableRequest does not become ready, but secretInjectionConfigs seems to still run and we receive an unexpected object in our secret.
I wanted to check if this is expected, or if there is a configuration point we've missed that would prevent the body from being used to create a secret when expectedResponse is falsey. The hope would be that the secret would only be templated when the response passes the JQ test.
What happened?
When using a DisposableRequest, we are hoping to use
expectedResponse
as a way to stop processing if the response is not expected. For example, the below object shows that a 500 error was returned, and the body does not have thepassword
key. We see that the DisposableRequest does not become ready, butsecretInjectionConfigs
seems to still run and we receive an unexpected object in our secret.I wanted to check if this is expected, or if there is a configuration point we've missed that would prevent the body from being used to create a secret when
expectedResponse
is falsey. The hope would be that the secret would only be templated when the response passes the JQ test.Resulting secret data:
How can we reproduce it?
Please let me know if a more complete example is needed, I could likely create something that uses a public facing API
What environment did it happen in?
Crossplane version: v1.17.1
K8s version: v1.29.8
The text was updated successfully, but these errors were encountered: