-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.test-lb.yaml
143 lines (133 loc) · 3.25 KB
/
values.test-lb.yaml
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
fullnameOverride: "roldyx"
gcpProject: kubertonic-st
providerConfigRef: crossplane-loadbalancer-creds
GlobalAddress:
external-address:
managementPolicies:
- Create
- Update
- Observe
description: Just an example
addressType: EXTERNAL
ManagedSSLCertificate:
my-external-name:
managementPolicies:
- Create
- Update
- Observe
domains:
- test.example.com.
- xxx.example.com.
HealthCheck:
my-external-name:
managementPolicies:
- Create
- Update
- Observe
checkIntervalSec: 1
tcpHealthCheck:
port: 80
timeoutSec: 1
healthyThreshold: 2
logConfig:
enable: false
BackendService:
my-external-name:
managementPolicies:
- Create
- Update
- Observe
healthChecksSelector: my-external-name
loadBalancingScheme: "EXTERNAL"
backend:
- group: "https://www.googleapis.com/compute/beta/projects/kubertonic-st/zones/europe-west1-b/networkEndpointGroups/k8s1-3d2bc877-istio-system-standalone-neg-fhp-80-43bd33ab"
balancingMode: "RATE"
maxRate: 100000000
securityPolicy: my-external-name
logConfig:
- enable: true
sampleRate: 1
URLMap:
my-external-name:
deletionPolicy: Orphan
defaultService: my-external-name
my-external-name-redirect:
managementPolicies:
- Create
- Update
- Observe
defaultUrlRedirect:
httpsRedirect: true
stripQuery: false
redirectResponseCode: MOVED_PERMANENTLY_DEFAULT
TargetHTTPProxy:
my-external-name-80:
managementPolicies:
- Create
- Update
- Observe
urlMapSelector: my-external-name-redirect
TargetHTTPSProxy:
my-external-name:
managementPolicies:
- Create
- Update
- Observe
quicOverride: "ENABLE"
sslCertificates: my-external-name
urlMapSelector: my-external-name
certificateMap: my-external-name
sslPolicy: min-tls
GlobalForwardingRule:
my-external-name:
managementPolicies:
- Create
- Update
- Observe
ipAddressSelector: external-address
ipProtocol: TCP
loadBalancingScheme: EXTERNAL
portRange: "443"
target: "projects/kubertonic-st/global/targetHttpsProxies/my-external-name"
SSLPolicy:
my-external-name:
managementPolicies:
- Create
- Update
- Observe
mode: COMPATIBLE
minTlsVersion: TLS_1_2
description: "Just an example"
SecurityPolicy:
my-external-name:
managementPolicies:
- Create
- Update
- Observe
rule:
- description: "Ban IPs with more than 1000 reqs/min"
action: "rate_based_ban"
preview: false
priority: 10
match:
- versionedExpr: "SRC_IPS_V1"
config:
- srcIpRanges:
- "*"
rateLimitOptions:
- banDurationSec: 1800
conformAction: "allow"
enforceOnKey: "IP"
exceedAction: "deny(429)"
rateLimitThreshold:
- count: 1000
intervalSec: 60
- description: "Default rule"
action: "allow"
preview: false
priority: 2147483647
match:
- versionedExpr: "SRC_IPS_V1"
config:
- srcIpRanges:
- "*"