File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
- {{- $vals := include "internal-gateway.default-values" . | fromYaml }}
1
+ {{- $vals := include "internal-gateway.default-values" . | fromYaml -}}
2
+ {{- $mergedValues := mergeOverwrite $vals .Values -}}
3
+ {{- $_ := set . "Values" $mergedValues -}}
2
4
server {
3
- listen {{ index . "codefresh" "workflow-logs-s3-proxy- domain" }}:80;
5
+ listen {{ index $vals "codefresh" "serviceEndpoints" " workflow-logs-s3-proxy" " domain" }}:80;
4
6
5
7
js_import auth.js;
6
8
location ~ /(.+) {
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ codefresh:
59
59
svc: '{ { .Release.Name } }-{ { index .Values.codefresh " jira-addon-svc" } }.{ { .Release.Namespace } }.svc.{ { .Values.global.clusterDomain } }'
60
60
port: { { index .Values.codefresh " jira-addon-port" } }
61
61
workflow-logs-s3-proxy:
62
+ domain: logs.codefresh.io
62
63
svc: '{ { .Release.Name } }-{ { index .Values.codefresh " workflow-logs-s3-proxy-svc" } }.{ { .Release.Namespace } }.svc.{ { .Values.global.clusterDomain } }'
63
64
port: { { index .Values.codefresh " workflow-logs-s3-proxy-port" } }
64
65
{ {- end } }
Original file line number Diff line number Diff line change 7
7
{{- $rootContext := $ }}
8
8
{{- range $globPattern := $rootContext.Values.nginx.extraConfigsPatterns }}
9
9
{{- range $path, $_ := $rootContext.Files.Glob $globPattern }}
10
- {{ base $path }}: {{ tpl ($rootContext.Files.Get $path) $rootContext.Values | toYaml | nindent 4 }}
10
+ {{ base $path }}: {{ tpl ($rootContext.Files.Get $path) $rootContext | toYaml | nindent 4 }}
11
11
{{- end }}
12
12
{{- end }}
13
13
{{- end }}
You can’t perform that action at this time.
0 commit comments