# istio_yaml_layer2.yaml
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
  components:
    pilot:
      enabled: true
    ingressGateways:
      - namespace: istio-system
        name: istio-ingressgateway
        enabled: true
        label:
          foo: bar
        k8s:
          service:
            externalTrafficPolicy: Test