How to use rediquota with the new handler way
apiVersion: config.istio.io/v1alpha2
kind: handler
metadata:
name: quotahandler
namespace: istio-system
spec:
compiledAdapter: redisquota
params:
redisServerUrl: redis-release-master:6379
connectionPoolSize: 10
quotas:
- name: requestcountquota.instance.istio-system
maxAmount: 50000
validDuration: 1s
overrides:
- dimensions:
destination: aservice
maxAmount: 1
validDuration: 10s