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
What would you like to be added:
I found it pretty surprising that I couldn't do partial string matching (regex or wildcard) on the values in created resources.
Why is this needed:
When working with custom resources like XRDs in Crossplane, I find it difficult to validate certain kinds of dynamic resources because they fundamentally change the return values.. for example, verifying that my Role resource has a status.roleArn field that matches arn:aws:iam:.... The role ARN changes on every test, but fundamentally my goal is to verify that a value was put in there and that it's not empty.
The text was updated successfully, but these errors were encountered:
The closest thing possible right now is to use a TestAssert with a command that does some kind of templating/substitution (if the value you're looking for is predictable at all) and runs a nested kuttl assert.
What would you like to be added:
I found it pretty surprising that I couldn't do partial string matching (regex or wildcard) on the values in created resources.
Why is this needed:
When working with custom resources like XRDs in Crossplane, I find it difficult to validate certain kinds of dynamic resources because they fundamentally change the return values.. for example, verifying that my
Role
resource has astatus.roleArn
field that matchesarn:aws:iam:...
. The role ARN changes on every test, but fundamentally my goal is to verify that a value was put in there and that it's not empty.The text was updated successfully, but these errors were encountered: