-
Notifications
You must be signed in to change notification settings - Fork 4
/
envoyfilters-kustomization.tmpl
64 lines (60 loc) · 1.44 KB
/
envoyfilters-kustomization.tmpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
# default namespace for istio control plane
namespace: istio-system
patches:
- patch: |-
- op: replace
path: /metadata/name
value: apigee-envoyfilter-1-${ASM_MINOR_VERSION}
target:
kind: EnvoyFilter
name: apigee-envoyfilter
version: v1alpha3
- patch: |-
- op: replace
path: /spec/configPatches/0/match/proxy/proxyVersion
value: ^1\.${ASM_MINOR_VERSION}.*
target:
kind: EnvoyFilter
name: .*
group: networking.istio.io
version: v1alpha3
- patch: |-
- op: replace
path: /spec/configPatches/2/match/proxy/proxyVersion
value: ^1\.${ASM_MINOR_VERSION}.*
target:
kind: EnvoyFilter
name: apigee-envoyfilter
group: networking.istio.io
version: v1alpha3
- patch: |-
- op: replace
path: /metadata/name
value: apigee-xff-1-${ASM_MINOR_VERSION}
target:
kind: EnvoyFilter
name: apigee-xff
version: v1alpha3
- patch: |-
- op: replace
path: /metadata/name
value: apigee-ingress-accesslog-1-${ASM_MINOR_VERSION}
target:
kind: EnvoyFilter
name: apigee-ingress-accesslog
version: v1alpha3
- patch: |-
- op: replace
path: /metadata/name
value: apigee-edge-proxy-1-${ASM_MINOR_VERSION}
target:
kind: EnvoyFilter
name: apigee-edge-proxy
version: v1alpha3
resources:
- ../../base/envoyfilters
#- xff.yaml
#- accesslog.yaml
#- edge-proxy.yaml