March 2020
Intermediate to advanced
626 pages
14h 45m
English
A handler is a set of configurations that's needed to instantiate an external adapter. For example, a listchecker adapter needs the address of the dogstatsd server, which can be provided through a handler that's passed to the Datadog instance. The following example creates a handler for the listchecker adapter so that we can define whitelists and blacklists:
apiVersion: config.istio.io/v1alpha2kind: handlermetadata: name: whitelistspec: compiledAdapter: listchecker params: # providerUrl: ordinarily black and white lists are maintained # externally and fetched asynchronously using the providerUrl. overrides: ["v1", "v2"] # overrides provide a static list blacklist: false
The params list attribute of the specification is specific to ...
Read now
Unlock full access