List Entry
The listentry
template is designed to let you perform list check operations with the list adapter.
Template
The listentry
template is used to verify the presence/absence of a string within a list.
When writing the configuration, the value for the fields associated with this template can either be a literal or an expression. Please note that if the datatype of a field is not istio.mixer.v1.template.Value, then the expression’s inferred type must match the datatype of the field.
Example config:
apiVersion: "config.istio.io/v1alpha2"
kind: listentry
metadata:
name: appversion
namespace: istio-system
spec:
value: source.labels["version"]