istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pkg/config/analysis/analyzers/testdata/deprecation.yaml (about)

     1  apiVersion: networking.istio.io/v1alpha3
     2  kind: EnvoyFilter
     3  metadata:
     4    name: istio-multicluster-egressgateway
     5    namespace: istio-system
     6  spec:
     7     # workloadLabels is deprecated
     8     workloadLabels:
     9       istio: egressgateway
    10     # filters is deprecated
    11     filters:
    12     - listenerMatch:
    13         portNumber: 15443
    14  ---
    15  apiVersion: networking.istio.io/v1alpha3
    16  kind: VirtualService
    17  metadata:
    18    name: productpage
    19    namespace: foo
    20  spec:
    21    hosts:
    22    - productpage
    23    http:
    24    - fault:
    25        delay:
    26          percent: 50
    27  ---
    28  apiVersion: networking.istio.io/v1alpha3
    29  kind: Sidecar
    30  metadata:
    31    name: no-selector
    32    namespace: default
    33  spec:
    34    ingress:
    35    - port:
    36        number: 9080
    37      defaultEndpoint: unix:///var/run/some.sock
    38    egress:
    39    - hosts:
    40      - "./*"
    41    outboundTrafficPolicy:
    42      mode: ALLOW_ANY
    43      egressProxy:
    44        host: example
    45        port:
    46          number: 9080
    47  ---
    48  apiVersion: config.istio.io/v1alpha2
    49  kind: QuotaSpec
    50  metadata:
    51    name: request-count
    52    namespace: istio-system
    53  spec:
    54    rules:
    55    - quotas:
    56      - charge: 1
    57        quota: requestcount