-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathapp-config.prod.yaml
114 lines (105 loc) · 3.83 KB
/
app-config.prod.yaml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# Used in production setup on a k8s/openshift cluster
app:
baseUrl: https://service-catalog.operate-first.cloud
backend:
baseUrl: https://service-catalog.operate-first.cloud
database:
client: pg
connection:
host: ${host}
user: ${user}
password: ${password}
port: ${port}
# https://node-postgres.com/features/ssl
# you can set the sslmode configuration option via the `PGSSLMODE` environment variable
# see https://www.postgresql.org/docs/current/libpq-ssl.html Table 33.1. SSL Mode Descriptions (e.g. require)
ssl:
ca:
$file: /mnt/certs/ca.crt
cors:
origin: https://service-catalog.operate-first.cloud
techdocs:
builder: "external"
generator:
runIn: "local"
publisher:
type: "awsS3"
awsS3:
bucketName: ${BUCKET_NAME}
region: ${BUKCET_REGION}
endpoint: https://s3-openshift-storage.apps.smaug.na.operate-first.cloud
s3ForcePathStyle: true
credentials:
accessKeyId: ${AWS_ACCESS_KEY_ID}
secretAccessKey: ${AWS_SECRET_ACCESS_KEY}
auth:
environment: production
providers:
github:
production:
clientId: ${AUTH_GITHUB_CLIENT_ID}
clientSecret: ${AUTH_GITHUB_CLIENT_SECRET}
catalog:
locations:
- type: url
target: https://github.com/operate-first/apps/blob/master/service-catalog/all.yaml
kubernetes:
serviceLocatorMethod:
type: "multiTenant"
clusterLocatorMethods:
- type: "config"
clusters:
- url: https://api.smaug.na.operate-first.cloud:6443
name: smaug
authProvider: "serviceAccount"
skipTLSVerify: false
skipMetricsLookup: false
serviceAccountToken: ${moc_smaug_token}
dashboardUrl: https://console-openshift-console.apps.smaug.na.operate-first.cloud
dashboardApp: openshift
- url: https://api.moc-infra.massopen.cloud:6443
name: infra
authProvider: 'serviceAccount'
skipTLSVerify: false
skipMetricsLookup: false
serviceAccountToken: ${moc_infra_token}
dashboardUrl: https://console-openshift-console.apps.moc-infra.massopen.cloud
dashboardApp: openshift
- url: https://api.curator.massopen.cloud:6443
name: curator
authProvider: 'serviceAccount'
skipTLSVerify: false
skipMetricsLookup: false
serviceAccountToken: ${moc_curator_token}
dashboardUrl: https://console-openshift-console.apps.curator.massopen.cloud
dashboardApp: openshift
- url: https://api.odh-cl1.apps.os-climate.org:6443
name: osc-cl1
authProvider: 'serviceAccount'
skipTLSVerify: false
skipMetricsLookup: false
serviceAccountToken: ${osc_osc-cl1_token}
dashboardUrl: https://console-openshift-console.apps.odh-cl1.apps.os-climate.org
dashboardApp: openshift
- url: https://api.odh-cl2.apps.os-climate.org:6443
name: osc-cl2
authProvider: 'serviceAccount'
skipTLSVerify: false
skipMetricsLookup: false
serviceAccountToken: ${osc_osc-cl2_token}
dashboardUrl: https://console-openshift-console.apps.odh-cl2.apps.os-climate.org
dashboardApp: openshift
- url: https://api.jerry.ionos.emea.operate-first.cloud:6443
name: jerry
authProvider: 'serviceAccount'
skipTLSVerify: false
skipMetricsLookup: false
serviceAccountToken: ${emea_jerry_token}
dashboardUrl: https://console-openshift-console.apps.jerry.ionos.emea.operate-first.cloud
dashboardApp: openshift
webTerminal:
webSocketUrl: "wss://service-catalog.operate-first.cloud/webterminal"
restServerUrl: "https://service-catalog.operate-first.cloud/webterminal/rest"
ocm:
cluster: 'infra'
searchInitialDelay: 30