List Entry

The listentry template is designed to let you perform list check operationswith the list adapter.

Example config:

  1. apiVersion: "config.istio.io/v1alpha2"
  2. kind: instance
  3. metadata:
  4. name: appversion
  5. namespace: istio-system
  6. spec:
  7. compiledTemplate: listentry
  8. params:
  9. value: source.labels["version"]

Template

The listentry template is used to verify the presence/absence of a stringwithin a list.

When writing the configuration, the value for the fields associated with this template can either be aliteral or an expression. Please note that if the datatype of a field is not istio.policy.v1beta1.Value,then the expression’s inferred type must match the datatype of the field.

FieldTypeDescriptionRequired
valueValueSpecifies the entry to verify in the list. This value can either be a string or an IP address.No