ge-yaml data-expandlinks=true>$ kubectl apply -f - &lt;&lt;EOF
apiVersion: config.istio.io/v1alpha2
kind: rule
metadata:
  name: keyval
  namespace: istio-system
spec:
  actions:
  - handler: keyval.istio-system
    instances: [ keyval ]
    name: x
  requestHeaderOperations:
  - name: user-group
    values: [ x.output.value ]
EOF
</code></pre></li><li><p>Issue a new request to the ingress gateway with the header <code>key</code> set to value <code>jason</code>:</p><pre><code class=language-bash data-expand