forked from equinor/fusion-project-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
radixconfig.yaml
217 lines (216 loc) · 6.75 KB
/
radixconfig.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
apiVersion: radix.equinor.com/v1
kind: RadixApplication
metadata:
name: fusion-project-portal
spec:
build:
useBuildKit: true
useBuildCache: true
environments:
- name: feature
build:
from: feature/* # Any repo named feature/*whatever* will trigger this build
- name: test
build:
from: main
- name: prod
dnsExternalAlias:
- alias: project.fusion.equinor.com
environment: prod
component: webserver
useCertificateAutomation: true
components:
# Backend API
- name: backend
identity:
azure:
clientId: ea425507-0de4-4f5f-bac8-48cea54f7a0c
src: ./backend/src # Dockerfile location
variables:
ASPNETCORE_URLS: "http://*:5000"
ApplicationInsights__ConnectionString: ""
AzureAd__ClientId: ""
Swagger__ClientId: ""
Fusion__Environment: "ci"
ports:
- name: http
port: 5000
publicPort: http
environmentConfig:
- environment: feature
identity:
azure:
clientId: a2d39bc8-9295-4334-ab21-603526e018e5
secretRefs:
azureKeyVaults:
- name: kv-pep-api-noe-feature
path: /mnt/key-vault
useAzureIdentity: true
items:
- name: AzureAd--ClientSecret
type: secret
envVar: AzureAd__ClientSecret
- name: ConnectionStrings--ProjectPortalContext
type: secret
envVar: ConnectionStrings__ProjectPortalContext
replicas: 1
monitoring: true
resources:
requests:
memory: "2048Mi"
cpu: "800m"
limits:
memory: "2048Mi"
cpu: "800m"
- environment: test
identity:
azure:
clientId: b25cacc1-d1ec-4b2a-b215-deabb25f9a46
secretRefs:
azureKeyVaults:
- name: kv-pep-api-noe-test
path: /mnt/key-vault
useAzureIdentity: true
items:
- name: AzureAd--ClientSecret
type: secret
envVar: AzureAd__ClientSecret
- name: ConnectionStrings--ProjectPortalContext
type: secret
envVar: ConnectionStrings__ProjectPortalContext
replicas: 1
monitoring: true
resources:
requests:
memory: "2048Mi"
cpu: "800m"
limits:
memory: "2048Mi"
cpu: "800m"
- environment: prod
identity:
azure:
clientId: 0520a73c-9d8c-433a-a8a4-188a1088761a
secretRefs:
azureKeyVaults:
- name: kv-pep-api-noe-prod
path: /mnt/key-vault
useAzureIdentity: true
items:
- name: AzureAd--ClientSecret
type: secret
envVar: AzureAd__ClientSecret
- name: ConnectionStrings--ProjectPortalContext
type: secret
envVar: ConnectionStrings__ProjectPortalContext
replicas: 1
monitoring: true
resources:
requests:
memory: "2048Mi"
cpu: "800m"
limits:
memory: "2048Mi"
cpu: "800m"
# Web Server (client backend)
- name: webserver
identity:
azure:
clientId: ea425507-0de4-4f5f-bac8-48cea54f7a0c
src: . # Dockerfile location
dockerfileName: clientBackend.Dockerfile
variables:
ASPNETCORE_URLS: "http://*:5000"
ApplicationInsights__ConnectionString: ""
AzureAd__ClientId: ""
ClientBundle__Msal__ClientId: ""
ClientBundle__PortalId: ""
FusionPortalApi__BaseAddress: ""
FusionPortalApi__Scope: ""
AssetProxy__FusionPortalUrl: ""
AssetProxy__FusionPeopleUrl: ""
AssetProxy__FusionAppsUrl: ""
AssetProxy__TokenScope: ""
FusionProjectPortalApi__BaseAddress: ""
FusionProjectPortalApi__Scope: ""
FusionBookmarks__Name: ""
FusionBookmarks__Identifier: ""
FusionBookmarks__Subsystem: "Project Portal"
ClientBundle__FusionLegacyEnvIdentifier: "ci"
ports:
- name: http
port: 5000
publicPort: http
environmentConfig:
- environment: feature
identity:
azure:
clientId: 2440e826-7642-4862-be77-2ce311780ac6
secretRefs:
azureKeyVaults:
- name: kv-pep-ws-noe-feature
path: /mnt/key-vault
useAzureIdentity: true
items:
- name: AzureAd--ClientSecret
type: secret
envVar: AzureAd__ClientSecret
replicas: 1
monitoring: true
resources:
requests:
memory: "2048Mi"
cpu: "800m"
limits:
memory: "2048Mi"
cpu: "800m"
- environment: test
identity:
azure:
clientId: 68e0c697-b713-4cd0-b24f-c2509f442e84
secretRefs:
azureKeyVaults:
- name: kv-pep-ws-noe-test
path: /mnt/key-vault
useAzureIdentity: true
items:
- name: AzureAd--ClientSecret
type: secret
envVar: AzureAd__ClientSecret
- name: ClientBundle--AgGrid--LicenseKey
type: secret
envVar: ClientBundle__AgGrid__LicenseKey
replicas: 1
monitoring: true
resources:
requests:
memory: "2048Mi"
cpu: "800m"
limits:
memory: "2048Mi"
cpu: "800m"
- environment: prod
identity:
azure:
clientId: d4f30a66-e05b-4e17-bab2-6dd43b1ef91b
secretRefs:
azureKeyVaults:
- name: kv-pep-ws-noe-prod
path: /mnt/key-vault
useAzureIdentity: true
items:
- name: AzureAd--ClientSecret
type: secret
envVar: AzureAd__ClientSecret
- name: ClientBundle--AgGrid--LicenseKey
type: secret
envVar: ClientBundle__AgGrid__LicenseKey
replicas: 1
monitoring: true
resources:
requests:
memory: "2048Mi"
cpu: "800m"
limits:
memory: "2048Mi"
cpu: "800m"