File tree Expand file tree Collapse file tree 4 files changed +9
-46
lines changed Expand file tree Collapse file tree 4 files changed +9
-46
lines changed Original file line number Diff line number Diff line change 99 tls :
1010 - hosts :
1111 - ' {{ .Values.ingress.hostname }}'
12- secretName : ndslabs- tls
12+ secretName : {{ .Values.ingress. tls.secretName }}
1313 rules :
1414 - host : ' {{ .Values.ingress.hostname }}'
1515 http :
Original file line number Diff line number Diff line change 1- {{- if .Values.config.corsHeader.enabled }}
2- apiVersion : traefik.io/v1alpha1
3- kind : Middleware
4- metadata :
5- name : {{ .Values.config.corsHeader.name }}
6- spec :
7- headers :
8- accessControlAllowCredentials : true
9- accessControlAllowHeaders :
10- - Origin
11- - X-Requested-With
12- - X-Retry-In
13- - Retry-After
14- - Content-Type
15- - content-type
16- - Accept
17- - Authorization
18- accessControlAllowMethods :
19- - GET
20- - OPTIONS
21- - PUT
22- - DELETE
23- - POST
24- - PATCH
25- accessControlAllowOriginList :
26- - ' {{ .Values.config.corsHeader.allowedOrigins }}'
27- accessControlExposeHeaders :
28- - X-Retry-In
29- - Retry-After
30- ---
31- {{- end }}
321apiVersion : traefik.io/v1alpha1
332kind : Middleware
343metadata :
Original file line number Diff line number Diff line change 55replicaCount : 1
66
77config :
8- # URL where we should route user to sign in (e.g. /oauth2/start, do not include redirect parameter)
8+ # Where should we send the user to log in?
99 signInUrl : " https://workbench.amr-rti.ncsa.illinois.edu/oauth2/start"
1010
11+ # How to know if we should route to the login page
1112 privateAuth :
1213 forwardAddress : " https://workbench.amr-rti.ncsa.illinois.edu/oauth2/auth"
1314
14- corsHeader :
15- enabled : false
16-
15+ # How should this error page be served?
1716ingress :
1817 className : traefik
19- hostname : " https://workbench.amr-rti.ncsa.illinois.edu"
20- tlsSecretName : ndslabs-tls
18+ hostname : " workbench.amr-rti.ncsa.illinois.edu"
19+ tls :
20+ secretName : ndslabs-tls
2121
Original file line number Diff line number Diff line change @@ -17,13 +17,6 @@ config:
1717 name : workbench-private-auth
1818 forwardAddress : " "
1919
20- # Configure the Headers middleware
21- corsHeader :
22- enable : false
23- name : workbench-cors-header
24- # TODO: origins could be a list
25- allowedOrigins : " "
26-
2720image :
2821 repository : ndslabs/custom-errors
2922 pullPolicy : IfNotPresent
@@ -35,6 +28,7 @@ service:
3528ingress :
3629 className : " "
3730 hostname : " "
38- tlsSecretName : ndslabs-tls
31+ tls :
32+ secretName : " "
3933
4034extraDeploy : []
You can’t perform that action at this time.
0 commit comments