File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,15 @@ items:
28
28
labels :
29
29
app : app-gw
30
30
http :
31
+ - name : health
32
+ port : 80
33
+ hostname : ' health.tetrate.io'
34
+ routing :
35
+ rules :
36
+ - directResponse :
37
+ status : 200
38
+ body :
39
+ string : " OK"
31
40
- name : productpage
32
41
port : 80
33
42
hostname : " internal-bookinfo.tetrate.io"
@@ -59,6 +68,30 @@ items:
59
68
- name : v3
60
69
labels :
61
70
version : v3
71
+ - apiVersion : traffic.tsb.tetrate.io/v2
72
+ kind : ServiceRoute
73
+ metadata :
74
+ name : ratings-sr
75
+ namespace : bookinfo
76
+ annotations :
77
+ tsb.tetrate.io/organization : tetrate
78
+ tsb.tetrate.io/tenant : dev
79
+ tsb.tetrate.io/workspace : bookinfo-ws
80
+ tsb.tetrate.io/trafficGroup : bookinfo-tg
81
+ spec :
82
+ service : bookinfo/ratings.bookinfo.svc.cluster.local
83
+ httpRoutes :
84
+ - name : ratings-faultinjections
85
+ destination :
86
+ - destinationHost : " bookinfo/ratings.bookinfo.svc.cluster.local"
87
+ port : 9080
88
+ fault :
89
+ delay :
90
+ percentage : 10
91
+ fixedDelay : 500ms
92
+ abort :
93
+ percentage : 10
94
+ httpStatus : 418
62
95
- apiVersion : traffic.tsb.tetrate.io/v2
63
96
kind : TrafficSetting
64
97
metadata :
Original file line number Diff line number Diff line change @@ -60,6 +60,14 @@ items:
60
60
mode : SIMPLE
61
61
files :
62
62
caCertificates : " /etc/ssl/certs/ca-certificates.crt"
63
+ egressAuthorization :
64
+ - from :
65
+ mode : SERVICE_ACCOUNT
66
+ serviceAccounts :
67
+ - " bookinfo/bookinfo-details"
68
+ to :
69
+ - host :
70
+ exact : " www.googleapis.com"
63
71
- apiVersion : networking.istio.io/v1beta1
64
72
kind : ServiceEntry
65
73
metadata :
You can’t perform that action at this time.
0 commit comments