-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathradixconfig.c3.yaml
More file actions
76 lines (76 loc) · 2.7 KB
/
radixconfig.c3.yaml
File metadata and controls
76 lines (76 loc) · 2.7 KB
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
apiVersion: radix.equinor.com/v1
kind: RadixApplication
metadata:
name: radix-web-console
spec:
build:
useBuildKit: true
dnsAlias:
- alias: "console"
component: web
environment: "prod"
environments:
- name: qa
build:
from: master
- name: prod
build:
from: release
components:
- name: web
readOnlyFileSystem: true
volumeMounts:
- name: tmp
path: /tmp
emptyDir:
sizeLimit: 1M
- name: nginxconfd
path: /etc/nginx/conf.d
emptyDir:
sizeLimit: 1M
- name: wwwconfig
path: /app/config
emptyDir:
sizeLimit: 1M
src: "."
ports:
- name: http
port: 8080
publicPort: http
runtime:
architecture: arm64
resources:
requests:
cpu: "50m"
memory: "50Mi"
limits:
cpu: "100m"
memory: "50Mi"
variables:
OAUTH2_AUTHORITY: "https://login.microsoftonline.com/3aa4a235-b6e2-48d5-9195-7fcf05b459b0"
SERVICENOW_PROXY_SCOPES: "1b4a22f1-d4a1-4b6a-81b2-fd936daf1786/Application.Read" # scopes must be separated by space
RADIXAPI_SCOPES: "openid profile offline_access 6dae42f8-4368-4678-94ff-3960e28e3630/user.read email" # scopes must be separated by space
CMDB_CI_URL: "https://equinor.service-now.com/selfservice?id=form&table=cmdb_ci_business_app&sys_id={CIID}"
OAUTH2_CLIENT_ID: "b0e93fde-2466-4ded-aa6b-5aed8b4fbaeb"
CLUSTERS: '{"Development":{"href":"https://console.dev.radix.equinor.com/","baseUrl":"dev.radix.equinor.com","isDev":true},"Playground":{"href":"https://console.playground.radix.equinor.com/","baseUrl":"playground.radix.equinor.com", "isPlayground": true},"Platform (North Europe)":{"href":"https://console.radix.equinor.com/","baseUrl":"radix.equinor.com"},"Platform 2 (West Europe)":{"href":"https://console.c2.radix.equinor.com/","baseUrl":"c2.radix.equinor.com"},"Platform 3 (Sweden Central)":{"href":"https://console.c3.radix.equinor.com/","baseUrl":"c3.radix.equinor.com"}}'
environmentConfig:
- environment: qa
resources:
requests:
cpu: "20m"
memory: "50Mi"
limits:
cpu: "50m"
memory: "50Mi"
horizontalScaling:
maxReplicas: 1
minReplicas: 0
triggers:
- name: cron
cron:
timezone: Europe/Oslo
start: 0 7 * * 1-5 # 07:00 Monday - Friday
end: 0 18 * * 1-5 # 18:00 Monday - Friday
desiredReplicas: 1
- environment: prod
replicas: 2