File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed
charts/internal-gateway/templates Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -241,6 +241,18 @@ nginx:
241
241
locationDirectives:
242
242
{ {- $presets .locationDirectives | toYaml | nindent 10 } }
243
243
244
+ /2.0/api/promotion-orchestrator:
245
+ enabled: true
246
+ proxy:
247
+ host: { { index $endpoints .serviceEndpoints " argo-platform-promotion-orchestrator" " svc" } }
248
+ port: { { index $endpoints .serviceEndpoints " argo-platform-promotion-orchestrator" " port" } }
249
+ proxyPassSnippet:
250
+ { {- $presets .authHeaderSet | toYaml | nindent 12 } }
251
+ locationSnippet:
252
+ { {- $presets .locationSnippet | toYaml | nindent 10 } }
253
+ locationDirectives:
254
+ { {- $presets .locationDirectives | toYaml | nindent 10 } }
255
+
244
256
/2.0:
245
257
enabled: true
246
258
proxy:
@@ -281,17 +293,6 @@ nginx:
281
293
locationDirectives:
282
294
{ {- $presets .locationDirectives | toYaml | nindent 10 } }
283
295
284
- /2.0/api/promotion-orchestrator:
285
- enabled: true
286
- proxy:
287
- host: { { index $endpoints .serviceEndpoints " argo-platform-promotion-orchestrator" " svc" } }
288
- port: { { index $endpoints .serviceEndpoints " argo-platform-promotion-orchestrator" " port" } }
289
- proxyPassSnippet:
290
- { {- $presets .authHeaderSet | toYaml | nindent 12 } }
291
- locationSnippet:
292
- { {- $presets .locationSnippet | toYaml | nindent 10 } }
293
- locationDirectives:
294
- { {- $presets .locationDirectives | toYaml | nindent 10 } }
295
296
{ {- end } }
296
297
297
298
{ {- define " internal-gateway.nginx-config" } }
You can’t perform that action at this time.
0 commit comments