istio.io/istio@v0.0.0-20240520182934-d79c90f27776/tests/integration/ambient/testdata/beta-mtls-automtls-workload.yaml (about)

     1  apiVersion: security.istio.io/v1beta1
     2  kind: PeerAuthentication
     3  metadata:
     4    name: "a-disable"
     5    annotations:
     6      test-suite: "beta-mtls-automtls-workload"
     7  spec:
     8    selector:
     9      matchLabels:
    10        app: a
    11    mtls:
    12      mode: DISABLE
    13  ---
    14  apiVersion: security.istio.io/v1beta1
    15  kind: PeerAuthentication
    16  metadata:
    17    name: "b-strict"
    18    annotations:
    19      test-suite: "beta-mtls-automtls-workload"
    20  spec:
    21    selector:
    22      matchLabels:
    23        app: b
    24    mtls:
    25      mode: STRICT
    26    portLevelMtls:
    27      # 8090 is the targetPort for service http port.
    28      8090:
    29        mode: DISABLE
    30  ---