I’m trying to create an instance as follows:
apiVersion: "config.istio.io/v1alpha2"
kind: instance
metadata:
name: accesslog
namespace: istio-system
spec:
compiledTemplate: logentry
params:
severity: '"Default"'
timestamp: request.time
variables:
sourceIp: source.ip | ip("0.0.0.0")
sourceLabels: source.labels | map[""]""
requestPath: request.path | ""
I’ve tried several flavour for the empty map map[""]""
such as map[string]string
but none of them is accepted. The documentation I’ve read has no example of setting an empty map either. How can I declare an empty map?