March 2020
Intermediate to advanced
626 pages
14h 45m
English
The source.ip Mixer attribute can be used to define a list checker of IP_ADDRESSES, list IP addresses to block, and then apply the rule to the ingress gateway.
We will now configure Istio to accept or reject requests from a specific IP address or a subnet:
# Script : 14-create-listchecker-handler.yamlapiVersion: config.istio.io/v1alpha2kind: handlermetadata: name: whitelistipspec: compiledAdapter: listchecker params: # providerUrl: ordinarily black and white lists are maintained # externally and fetched asynchronously using the providerUrl. overrides: ["10.57.0.0/16"] # overrides provide a static ...
Read now
Unlock full access