File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
2
2
name : graph-proxy
3
3
description : A GraphQL proxy for the Argo Workflows Server
4
4
type : application
5
- version : 0.1 .0
5
+ version : 0.2 .0
6
6
appVersion : 0.1.0-rc20
7
7
dependencies :
8
8
- name : common
Original file line number Diff line number Diff line change 50
50
- name : TRACING_ENDPOINT
51
51
value : {{ . }}
52
52
{{- end }}
53
+ {{- with .Values.cors.matchOrigins }}
54
+ - name : CORS_ALLOW
55
+ value : {{ . | join " " }}
56
+ {{- end }}
53
57
ports :
54
58
- name : graphql
55
59
containerPort : 80
Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ telemetry:
29
29
metricsEndpoint : " "
30
30
tracingEndpoint : " "
31
31
32
+ cors :
33
+ matchOrigins :
34
+ - ^https:\/\/([a-zA-Z0-9\-]+\.)*diamond\.ac\.uk\/?
35
+ - ^https?:\/\/localhost(:\d+)?\/?
36
+
32
37
service :
33
38
create : true
34
39
annotations : []
You can’t perform that action at this time.
0 commit comments