File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {{- if .Values.cors.enabled }}
2+ apiVersion : traefik.io/v1alpha1
3+ kind : Middleware
4+ metadata :
5+ name : faf-user-service-cors
6+ spec :
7+ headers :
8+ accessControlAllowMethods :
9+ - " GET"
10+ - " POST"
11+ - " OPTIONS"
12+ accessControlAllowHeaders :
13+ - " Content-Type"
14+ - " Authorization"
15+ accessControlAllowOriginListRegex :
16+ {{- toYaml .Values.cors.allowOriginListRegex | nindent 6 }}
17+ accessControlAllowCredentials : true
18+ accessControlMaxAge : 600
19+ addVaryHeader : true
20+ ---
21+ {{- end }}
122apiVersion : traefik.io/v1alpha1
223kind : IngressRoute
324metadata :
1132 services :
1233 - name : faf-user-service
1334 port : 8080
35+ {{- if .Values.cors.enabled }}
36+ middlewares :
37+ - name : faf-user-service-cors
38+ {{- end }}
Original file line number Diff line number Diff line change 1+ cors :
2+ enabled : true
3+ allowOriginListRegex :
4+ - " ^https?://localhost(:[0-9]+)?$"
5+ - " ^https?://127\\ .0\\ .0\\ .1(:[0-9]+)?$"
Original file line number Diff line number Diff line change 11infisical-secret :
22 name : faf-user-service
3+ cors :
4+ enabled : false
5+ allowOriginListRegex : []
Original file line number Diff line number Diff line change 1+ {{- if .Values.cors.enabled }}
2+ apiVersion : traefik.io/v1alpha1
3+ kind : Middleware
4+ metadata :
5+ name : ory-hydra-cors
6+ spec :
7+ headers :
8+ accessControlAllowMethods :
9+ - " GET"
10+ - " POST"
11+ - " OPTIONS"
12+ accessControlAllowHeaders :
13+ - " Content-Type"
14+ - " Authorization"
15+ accessControlAllowOriginListRegex :
16+ {{- toYaml .Values.cors.allowOriginListRegex | nindent 6 }}
17+ accessControlMaxAge : 600
18+ addVaryHeader : true
19+ ---
20+ {{- end }}
121apiVersion : traefik.io/v1alpha1
222kind : IngressRoute
323metadata :
1131 services :
1232 - name : ory-hydra
1333 port : 4444
34+ {{- if .Values.cors.enabled }}
35+ middlewares :
36+ - name : ory-hydra-cors
37+ {{- end }}
Original file line number Diff line number Diff line change 1+ cors :
2+ enabled : true
3+ allowOriginListRegex :
4+ - " ^https?://localhost(:[0-9]+)?$"
5+ - " ^https?://127\\ .0\\ .0\\ .1(:[0-9]+)?$"
Original file line number Diff line number Diff line change 33 tag : " v25.4.0"
44infisical-secret :
55 name : ory-hydra
6+ cors :
7+ enabled : false
8+ allowOriginListRegex : []
69clients :
710 - name : " FAF Client"
811 id : " 2e8808cf-5889-469b-b2c3-01f0cc58c4af"
You can’t perform that action at this time.
0 commit comments