File tree Expand file tree Collapse file tree 4 files changed +19
-1
lines changed Expand file tree Collapse file tree 4 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
2
2
appVersion : v0.0.0
3
3
description : A Helm chart for Codefresh Internal Gateway
4
4
name : internal-gateway
5
- version : 0.10.6
5
+ version : 0.11.0
6
6
home : https://github.com/codefresh-io/helm-charts
7
7
keywords :
8
8
- codefresh
Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ codefresh:
49
49
argo-platform-broadcaster:
50
50
svc: '{ { index .Values.codefresh " argo-platform-broadcaster-svc" } }.{ { .Release.Namespace } }.svc.{ { .Values.global.clusterDomain } }'
51
51
port: { { index .Values.codefresh " argo-platform-broadcaster-port" } }
52
+ argo-platform-promotion-orchestrator:
53
+ svc: '{ { index .Values.codefresh " argo-platform-promotion-orchestrator-svc" } }.{ { .Release.Namespace } }.svc.{ { .Values.global.clusterDomain } }'
54
+ port: { { index .Values.codefresh " argo-platform-promotion-orchestrator-port" } }
52
55
argo-hub:
53
56
svc: '{ { .Release.Name } }-{ { index .Values.codefresh " argo-hub-svc" } }.{ { .Release.Namespace } }.svc.{ { .Values.global.clusterDomain } }'
54
57
port: { { index .Values.codefresh " argo-hub-port" } }
Original file line number Diff line number Diff line change @@ -280,6 +280,18 @@ nginx:
280
280
{ {- $presets .locationSnippet | toYaml | nindent 10 } }
281
281
locationDirectives:
282
282
{ {- $presets .locationDirectives | toYaml | nindent 10 } }
283
+
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 } }
283
295
{ {- end } }
284
296
285
297
{ {- define " internal-gateway.nginx-config" } }
Original file line number Diff line number Diff line change @@ -54,6 +54,9 @@ codefresh:
54
54
argo-platform-broadcaster-svc : argo-platform-broadcaster
55
55
argo-platform-broadcaster-port : 80
56
56
57
+ argo-platform-promotion-orchestrator-svc : argo-platform-promotion-orchestrator
58
+ argo-platform-promotion-orchestrator-port : 80
59
+
57
60
argo-hub-svc : argo-hub-platform
58
61
argo-hub-port : 80
59
62
You can’t perform that action at this time.
0 commit comments