Skip to content

Commit

Permalink
Disable CORS by default in helm (#15637)
Browse files Browse the repository at this point in the history
* Disable CORS by default in helm. Align helm and che-operator configuration
Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>

Signed-off-by: Sergii Kabashniuk <skabashniuk@redhat.com>
  • Loading branch information
skabashnyuk committed Jan 9, 2020
1 parent 0719bae commit 2e38478
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions deploy/kubernetes/helm/che/templates/configmap.yaml
Expand Up @@ -117,12 +117,9 @@ data:
{{- if .Values.global.cheWorkspaceClusterRole }}
CHE_INFRA_KUBERNETES_CLUSTER__ROLE__NAME: {{ .Values.global.cheWorkspaceClusterRole }}
{{- end }}
CHE_CORS_ENABLED: "true"
CHE_CORS_ENABLED: "false"
CHE_CORS_ALLOW__CREDENTIALS: "false"
CHE_CORS_ALLOWED__ORIGINS: "*"
CHE_WSAGENT_CORS_ENABLED: "true"
CHE_WSAGENT_CORS_ALLOW__CREDENTIALS: "true"
CHE_WSAGENT_CORS_ALLOWED__ORIGINS: "NULL"
CHE_TRACING_ENABLED: {{ .Values.global.tracingEnabled | quote }}
JAEGER_ENDPOINT: "http://jaeger-collector:14268/api/traces"
JAEGER_SERVICE_NAME: "che-server"
Expand Down

0 comments on commit 2e38478

Please sign in to comment.