Closed kirkpabk closed 1 year ago
Hey, right now its not possible to simulate API calls.
In your case you would need to "mock" the response in the context configuration under variables
.
like:
variables:
currentMappingHostValues: ['anchore.appz.abc.com/']
A working share link: Playground
Makes sense. Thanks!
So the UI keeps giving me this error:
ServerError: Variable currentMappingHostValues is not defined in the context
When the context has the variable name defined... it doesn't seem to be interpreting it correctly.
With a policy like:
And a resource like:
And a generic ambassador mappings CRD like: