-
Notifications
You must be signed in to change notification settings - Fork 0
/
radixconfig.yaml
77 lines (77 loc) · 2.12 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
apiVersion: radix.equinor.com/v1
kind: RadixApplication
metadata:
name: radix-api
spec:
build:
useBuildKit: true
environments:
- name: prod
build:
from: release
- name: qa
build:
from: master
components:
- name: "server"
readOnlyFileSystem: true
src: "."
dockerfileName: "Dockerfile"
ports:
- name: http
port: 3002
- name: metrics
port: 9090
publicPort: http
runtime:
architecture: arm64
monitoring: true
monitoringConfig:
portName: metrics
variables:
REQUIRE_APP_CONFIGURATION_ITEM: "true"
REQUIRE_APP_AD_GROUPS: "true"
USE_PROFILER: "false"
LOG_LEVEL: info
LOG_PRETTY: "false"
PROMETHEUS_URL: http://prometheus-operator-prometheus.monitor.svc.cluster.local:9090
OIDC_AZURE_AUDIENCE: 6dae42f8-4368-4678-94ff-3960e28e3630
OIDC_AZURE_ISSUER: https://sts.windows.net/3aa4a235-b6e2-48d5-9195-7fcf05b459b0/
OIDC_KUBERNETES_ISSUER: ""
OIDC_KUBERNETES_AUDIENCE: ""
environmentConfig:
- environment: qa
horizontalScaling:
maxReplicas: 1
minReplicas: 0
triggers:
- name: cron
cron:
timezone: Europe/Oslo
start: 0 7 * * 1-5 # 07:00 Monday - Friday
end: 0 17 * * 1-5 # 17:00 Monday - Friday
desiredReplicas: 1
resources:
requests:
cpu: "50m"
memory: "100M"
limits:
cpu: "200m"
memory: "200M"
variables:
PIPELINE_IMG_TAG: "master-latest"
TEKTON_IMG_TAG: "main-latest"
GOMAXPROCS: "1"
- environment: prod
replicas: 2
resources:
requests:
cpu: "200m"
memory: "300M"
limits:
cpu: "500m"
memory: "500M"
variables:
PIPELINE_IMG_TAG: "release-latest"
TEKTON_IMG_TAG: "release-latest"
GOMAXPROCS: "2"