File tree Expand file tree Collapse file tree 6 files changed +21
-3
lines changed Expand file tree Collapse file tree 6 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 9797 # Do not run `ct install` for cf-common (library chart) or builder/runner
9898 exit 0
9999 fi
100- helm repo add cf-common https://chartmuseum.codefresh.io/cf-common
101100 ct install --config "ct.yaml"
102101
103102 unittest-charts :
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22appVersion : v0.0.0
33description : A Helm chart for Codefresh Internal Gateway
44name : internal-gateway
5- version : 0.10.6
5+ version : 0.11.0
66home : https://github.com/codefresh-io/helm-charts
77keywords :
88 - codefresh
Original file line number Diff line number Diff line change 11# internal-gateway
22
3- ![ Version: 0.10.6 ] ( https://img.shields.io/badge/Version-0.10.6 -informational?style=flat-square ) ![ AppVersion: v0.0.0] ( https://img.shields.io/badge/AppVersion-v0.0.0-informational?style=flat-square )
3+ ![ Version: 0.11.0 ] ( https://img.shields.io/badge/Version-0.11.0 -informational?style=flat-square ) ![ AppVersion: v0.0.0] ( https://img.shields.io/badge/AppVersion-v0.0.0-informational?style=flat-square )
44
55A Helm chart for Codefresh Internal Gateway
66
Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ codefresh:
4949 argo-platform-broadcaster:
5050 svc: '{ { index .Values.codefresh " argo-platform-broadcaster-svc" } }.{ { .Release.Namespace } }.svc.{ { .Values.global.clusterDomain } }'
5151 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" } }
5255 argo-hub:
5356 svc: '{ { .Release.Name } }-{ { index .Values.codefresh " argo-hub-svc" } }.{ { .Release.Namespace } }.svc.{ { .Values.global.clusterDomain } }'
5457 port: { { index .Values.codefresh " argo-hub-port" } }
Original file line number Diff line number Diff line change @@ -241,6 +241,18 @@ nginx:
241241 locationDirectives:
242242 { {- $presets .locationDirectives | toYaml | nindent 10 } }
243243
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+
244256 /2.0:
245257 enabled: true
246258 proxy:
@@ -280,6 +292,7 @@ nginx:
280292 { {- $presets .locationSnippet | toYaml | nindent 10 } }
281293 locationDirectives:
282294 { {- $presets .locationDirectives | toYaml | nindent 10 } }
295+
283296{ {- end } }
284297
285298{ {- define " internal-gateway.nginx-config" } }
Original file line number Diff line number Diff line change @@ -54,6 +54,9 @@ codefresh:
5454 argo-platform-broadcaster-svc : argo-platform-broadcaster
5555 argo-platform-broadcaster-port : 80
5656
57+ argo-platform-promotion-orchestrator-svc : argo-platform-promotion-orchestrator
58+ argo-platform-promotion-orchestrator-port : 80
59+
5760 argo-hub-svc : argo-hub-platform
5861 argo-hub-port : 80
5962
You can’t perform that action at this time.
0 commit comments