-
Notifications
You must be signed in to change notification settings - Fork 1
/
radixconfig.yaml
57 lines (57 loc) · 1.53 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
apiVersion: radix.equinor.com/v1
kind: RadixApplication
metadata:
name: chemcom-api
spec:
environments:
- name: prod
- name: dev
build:
from: main
components:
- name: api
src: ./src
ports:
- name: http
port: 5000
publicPort: http
secrets:
- azure__ClientSecret
- azure__ClientId
- ClientSecret
- KeyVaultEndpoint
environmentConfig:
- environment: dev
identity:
azure:
clientId: ca6bee5a-c263-460e-83cd-294987f16755
runAsNonRoot: true
variables:
ASPNETCORE_URLS: "http://*:5000"
AllowCorsDomains: "https://frontend-chemcom-dev.radix.equinor.com,http://localhost:3000"
replicas: 2
monitoring: true
resources:
requests:
memory: "256Mi"
cpu: "100m"
limits:
memory: "512Mi"
cpu: "200m"
- environment: prod
identity:
azure:
clientId: 31931248-fa75-4501-9de2-4d53cc28da35
runAsNonRoot: true
variables:
ASPNETCORE_URLS: "http://*:5000"
AllowCorsDomains: "http://localhost:3000,https://chemcom.equinor.com,https://frontend-chemcom-prod.radix.equinor.com"
replicas: 2
monitoring: true
resources:
requests:
memory: "256Mi"
cpu: "100m"
limits:
memory: "512Mi"
cpu: "200m"