forked from y-kkamil/console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
37 lines (32 loc) · 1.27 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
var domain = 'kyma.local';
var localDomain = 'console-dev.kyma.local';
window.clusterConfig = {
graphqlApiUrl: 'https://console-backend.' + domain + '/graphql',
graphqlApiUrlLocal: 'http://' + localDomain + ':3000/graphql',
subscriptionsApiUrl: 'wss://console-backend.' + domain + '/graphql',
subscriptionsApiUrlLocal: 'ws://' + localDomain + ':3000/graphql',
authRedirectUri: 'http://' + localDomain + ':4200',
domain: domain,
localDomain: localDomain,
consoleClientId: 'console',
orgId: 'my-org-123',
orgName: 'My Organization',
scope:
'audience:server:client_id:kyma-client audience:server:client_id:console openid profile email groups',
gateway_kyma_project_io_version: 'v1alpha2',
serviceCatalogModuleUrl: 'http://' + localDomain + ':8000',
serviceInstancesModuleUrl: 'http://' + localDomain + ':8001',
serviceBrokersModuleUrl: 'http://' + localDomain + ':8002',
docsModuleUrl: 'http://' + localDomain + ':8003',
addOnsModuleUrl: 'http://' + localDomain + ':8004',
lambdasModuleUrl: 'http://' + localDomain + ':4201',
coreModuleUrl: 'http://' + localDomain + ':8889',
logsModuleUrl: 'http://' + localDomain + ':8005',
HELM_BROKER_REPO_URL_PREFIXES: [
'https://',
'git::',
'github.com/',
'bitbucket.org/',
'http://',
],
};