Skip to content

Commit

Permalink
fix: relinquish staging cors-header to oauth2-proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
bodom0015 authored Jan 26, 2024
1 parent def1b47 commit 6992486
Showing 1 changed file with 0 additions and 49 deletions.
49 changes: 0 additions & 49 deletions chart/values.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,55 +46,6 @@ extraDeploy:
type: kubernetes.io/dockerconfigjson



# Deploy CORS middleware for staging namespace
- apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: cors-header
namespace: staging
spec:
headers:
accessControlAllowCredentials: true
accessControlAllowHeaders:
- Origin
- X-Requested-With
- Content-Type
- content-type
- Accept
- Authorization
accessControlAllowMethods:
- GET
- OPTIONS
- PUT
- DELETE
- POST
accessControlAllowOriginList:
# Prod: chemscraper-frontend -> mmli-backend -> chemscraper-backend
- 'https://chemscraper.frontend.mmli1.ncsa.illinois.edu'
- 'https://mmli.fastapi.mmli1.ncsa.illinois.edu'
- 'https://chemscraper.backend.mmli1.ncsa.illinois.edu'

# Prod: CLEAN / MOLLI -> JobMgr
- 'https://clean.frontend.mmli1.ncsa.illinois.edu'
- 'https://molli.frontend.mmli1.ncsa.illinois.edu'
- 'https://jobmgr.mmli1.ncsa.illinois.edu'

# Staging: chemscraper-frontend -> mmli-backend -> chemscraper-backend
- 'https://chemscraper.frontend.staging.mmli1.ncsa.illinois.edu'
- 'https://mmli.fastapi.staging.mmli1.ncsa.illinois.edu'
- 'https://chemscraper.backend.staging.mmli1.ncsa.illinois.edu'

# Staging: CLEAN / MOLLI -> JobMgr
- 'https://clean.frontend.staging.mmli1.ncsa.illinois.edu'
- 'https://molli.frontend.staging.mmli1.ncsa.illinois.edu'
- 'https://jobmgr.staging.mmli1.ncsa.illinois.edu'

# Local: for local testing pointed at staging
- 'http://localhost:4200'
- 'http://chemscraper.proxy.localhost'
- 'http://test.mydomain.com'

# Enable DecentCI backups
- apiVersion: v1
kind: ConfigMap
Expand Down

0 comments on commit 6992486

Please sign in to comment.