Skip to content

Commit

Permalink
Update for for cors origin fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dt-dilip committed Dec 16, 2024
1 parent bcb2b6e commit 356f57c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/cdefense/templates/api/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ data:
CLOUDDEFENSE_SENDGRID_EMAIL: "[email protected]"
MICRONAUT_ENVIRONMENTS: {{ .Values.api.environment | default "dev" }}
ALERT_SERVICE_URL: "http://alertservice"
CUSTOM_ALLOWED_ORIGIN: "https://cdefense.clouddefenseai.com"
CUSTOM_ALLOWED_ORIGIN: {{ .Values.api.origin | default "https://cdefense.clouddefenseai.com" }}
3 changes: 1 addition & 2 deletions charts/cdefense/templates/authservice/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ metadata:
data:
AUTH_DEPLOYMENT_MODE_DOCKER: "true"
NEW_RELIC_APP_NAME: cdefense
DOMAIN: "cdefense.clouddefenseai.com"
CUSTOM_ALLOWED_ORIGIN: "https://cdefense.clouddefenseai.com"
DOMAIN: "cdefense.clouddefenseai.com"
2 changes: 1 addition & 1 deletion charts/cdefense/templates/authservice/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ spec:
- name: CUSTOM_ALLOWED_ORIGIN
valueFrom:
configMapKeyRef:
name: authservice-config
name: scan-server-config
key: CUSTOM_ALLOWED_ORIGIN
- name: CLOUDDEFENSE_EMAIL_SENDGRID_KEY
valueFrom:
Expand Down
1 change: 1 addition & 0 deletions charts/cdefense/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ api:
bucket: cdefense-dast-curl
fullscan:
image: cdefense/fullscan
origin: "https://cdefense.clouddefenseai.com"
data:
region: us-east-1
bucket: cdefense-vulnerability-new-data
Expand Down

0 comments on commit 356f57c

Please sign in to comment.