@@ -46,20 +46,10 @@ envFrom: []
46
46
47
47
fullnameOverride : " "
48
48
49
- gateway :
50
- endpoints :
51
- accounts :
52
- allowances :
53
- nfts :
54
- enabled : true
55
- airdrops :
56
- outstanding :
57
- enabled : true
58
- pending :
59
- enabled : true
60
- topics :
61
- enabled : true
49
+ routes :
50
+ networkStake : false
62
51
52
+ gateway :
63
53
gcp :
64
54
backendPolicy :
65
55
connectionDraining :
@@ -85,25 +75,10 @@ gateway:
85
75
name : " {{ include \" hedera-mirror-rest-java.fullname\" $ }}"
86
76
port : 80
87
77
matches : |
88
- {{- if .Values.gateway.endpoints.accounts.allowances.nfts.enabled }}
89
- - path:
90
- type: RegularExpression # GKE does not yet support RegularExpression type
91
- value: '/api/v1/accounts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/allowances/nfts'
92
- {{- end }}
93
- {{- if .Values.gateway.endpoints.accounts.airdrops.outstanding.enabled }}
94
- - path:
95
- type: RegularExpression
96
- value: '/api/v1/accounts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/airdrops/outstanding'
97
- {{- end }}
98
- {{- if .Values.gateway.endpoints.accounts.airdrops.pending.enabled }}
99
- - path:
100
- type: RegularExpression
101
- value: '/api/v1/accounts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/airdrops/pending'
102
- {{- end }}
103
- {{- if .Values.gateway.endpoints.topics.enabled }}
78
+ {{- if .Values.routes.networkStake }}
104
79
- path:
105
80
type: RegularExpression
106
- value: '/api/v1/topics/(\d+\.){0,2}\d+ $'
81
+ value: '/api/v1/network/stake $'
107
82
{{- end }}
108
83
target :
109
84
group : " "
@@ -153,6 +128,8 @@ ingress:
153
128
- path : ' /api/v1/accounts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/airdrops/outstanding'
154
129
- path : ' /api/v1/accounts/(\d+\.){0,2}(\d+|(0x)?[A-Fa-f0-9]{40}|(?:[A-Z2-7]{8})*(?:[A-Z2-7]{2}|[A-Z2-7]{4,5}|[A-Z2-7]{7,8}))/airdrops/pending'
155
130
- path : ' /api/v1/topics/(\d+\.){0,2}\d+$'
131
+ - path : ' /api/v1/network/stake$'
132
+ condition : " {{ .Values.routes.networkStake }}"
156
133
tls :
157
134
enabled : false
158
135
secretName : " "
0 commit comments