forked from redhat-developer/s2i-dotnetcore
-
Notifications
You must be signed in to change notification settings - Fork 18
/
api-appsettings.yaml
80 lines (80 loc) · 2.44 KB
/
api-appsettings.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
apiVersion: template.openshift.io/v1
kind: Template
metadata:
name: "true"
objects:
- apiVersion: v1
data:
appsettings.json: |-
{
"AllowedHosts": "*",
"Constants": {
"SwaggerApiUrl": "/swagger/v1/swagger.json"
},
"Serilog": {
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft": "Warning",
"System": "Warning"
}
},
"WriteTo": [
{
"Name": "Async",
"Args": {
"configure": [
{
"Name": "Console",
"Args": {
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss} {Level:u3}] {Message:lj}{NewLine}{Exception}"
}
}
]
}
},
{
"Name": "SbiPostgreSql",
"Args": {
"connectionString": "Schoolbus",
"tableName": "sbilog",
"needAutoCreateTable": true
}
}
],
"Enrich": [
"FromLogContext",
"WithMachineName"
]
},
"ConnectionStrings": {
"Schoolbus": "Host=localhost;Username=test1;Password=test1;Database=test1"
},
"JWT": {
"Authority": "https://dev.loginproxy.gov.bc.ca/auth/realms/<realmid>",
"Audience": "<app-id>"
},
"CCW_USER_ID": "user",
"CCW_USER_GUID": "guid",
"CCW_USER_DIR": "dir",
"CCW_ENDPOINT_URL": "http://ccw",
"CCW_APP_ID": "appId",
"CCW_BATCH_APP_ID": "batchAppId",
"CCW_PASSWORD": "password",
"PDF_SERVICE_NAME": "http://pdf",
"ENABLE_HANGFIRE_CREATE": "N",
"ENABLE_HANGFIRE_UPDATE": "Y",
"SMTP_SERVER": "apps.smtp.gov.bc.ca",
"SMTP_PORT": 25
}
kind: ConfigMap
metadata:
name: api-appsettings-${ENV}
labels:
shared: "true"
parameters:
- description: Deployment environment (dev, test, uat, prod)
displayName: ENV
name: ENV
required: true
value: "dev"