-
Notifications
You must be signed in to change notification settings - Fork 17
/
radixconfig.yaml
141 lines (138 loc) · 4.24 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
apiVersion: radix.equinor.com/v1
kind: RadixApplication
metadata:
name: fusion-bmt
spec:
environments:
- name: dev
build:
from: master
- name: qa
build:
from: qa
- name: pr
build:
from: pr
- name: prod
build:
from: prod
privateImageHubs:
fusionbmt.azurecr.io:
username: fusionbmt
email: radix@statoilsrm.onmicrosoft.com
components:
- name: backend-acr
image: fusionbmt.azurecr.io/backend:{imageTagName}
alwaysPullImageOnDeploy: true
ports:
- name: http
port: 5000
publicPort: http
variables:
ApplicationInsights__InstrumentationKey: 6f08fb54-d348-44cb-9fa6-be2c9e29d419
ASPNETCORE_ENVIRONMENT: "Development"
environmentConfig:
- environment: dev
imageTagName: ci-release
resources:
requests:
memory: "700Mi"
cpu: "500m"
limits:
memory: "3000Mi"
cpu: "1000m"
- environment: pr
imageTagName: pr-release
replicas: 0
- environment: qa
imageTagName: qa-release
resources:
requests:
memory: "700Mi"
cpu: "500m"
limits:
memory: "3000Mi"
cpu: "1000m"
variables:
ASPNETCORE_ENVIRONMENT: "Production"
AppConfiguration__Environment: qa
- environment: prod
imageTagName: prod-release
resources:
requests:
memory: "700Mi"
cpu: "500m"
limits:
memory: "3000Mi"
cpu: "1000m"
horizontalScaling:
minReplicas: 2
maxReplicas: 6
variables:
ASPNETCORE_ENVIRONMENT: "Production"
AppConfiguration__Environment: prod
secrets:
- AzureAd__ClientSecret
- Database__ConnectionString
- DT_TENANT
- DT_TENANTTOKEN
- DT_CONNECTIONPOINT
- name: frontend-acr
image: fusionbmt.azurecr.io/frontend:{imageTagName}
alwaysPullImageOnDeploy: true
ports:
- name: http
port: 3000
publicPort: http
variables:
APP_INSIGHTS_KEY: 6f08fb54-d348-44cb-9fa6-be2c9e29d419
environmentConfig:
- environment: dev
imageTagName: ci-release
resources:
limits:
memory: "3000Mi"
variables:
API_URL: "https://backend-acr-fusion-bmt-dev.radix.equinor.com"
DT_ENVIRONMENT: "dev"
DT_TAGS: "SHELLVIS SERVICENAME=FUSION-BMT ENVIRONMENT=DEV"
DT_CUSTOM_PROP: "SERVICENAME=FUSION-BMT ENVIRONMENT=DEV"
DT_PROCESS_GROUP: "FUSION-BMT-DEV"
DT_ENTITY__PROCESS_GROUP_INSTANCE: "FUSION-BMT-DEV"
- environment: pr
imageTagName: pr-release
replicas: 0
variables:
DT_ENVIRONMENT: "pr"
DT_TAGS: "SHELLVIS SERVICENAME=FUSION-BMT ENVIRONMENT=PR"
DT_CUSTOM_PROP: "SERVICENAME=FUSION-BMT ENVIRONMENT=PR"
DT_PROCESS_GROUP: "FUSION-BMT-PR"
DT_ENTITY__PROCESS_GROUP_INSTANCE: "FUSION-BMT-PR"
- environment: qa
imageTagName: qa-release
resources:
limits:
memory: "3000Mi"
variables:
API_URL: "https://backend-acr-fusion-bmt-qa.radix.equinor.com"
DT_ENVIRONMENT: "qa"
DT_TAGS: "SHELLVIS SERVICENAME=FUSION-BMT ENVIRONMENT=QA"
DT_CUSTOM_PROP: "SERVICENAME=FUSION-BMT ENVIRONMENT=QA"
DT_PROCESS_GROUP: "FUSION-BMT-QA"
DT_ENTITY__PROCESS_GROUP_INSTANCE: "FUSION-BMT-QA"
- environment: prod
imageTagName: prod-release
replicas: 0
variables:
DT_ENVIRONMENT: "prod"
DT_TAGS: "SHELLVIS SERVICENAME=FUSION-BMT ENVIRONMENT=PROD"
DT_CUSTOM_PROP: "SERVICENAME=FUSION-BMT ENVIRONMENT=PROD"
DT_PROCESS_GROUP: "FUSION-BMT-PROD"
DT_ENTITY__PROCESS_GROUP_INSTANCE: "FUSION-BMT-PROD"
secrets:
- DT_TENANT
- DT_TENANTTOKEN
- DT_CONNECTIONPOINT
dnsAppAlias:
environment: qa
component: frontend-acr