-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathradixconfig.c2.yaml
More file actions
59 lines (58 loc) · 1.57 KB
/
radixconfig.c2.yaml
File metadata and controls
59 lines (58 loc) · 1.57 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
# yaml-language-server: =https://raw.githubusercontent.com/equinor/radix-operator/release/json-schema/radixapplication.json
apiVersion: radix.equinor.com/v1
kind: RadixApplication
metadata:
name: radix-vulnerability-scanner-api
spec:
build:
useBuildKit: true
environments:
- name: prod
build:
from: release
- name: qa
build:
from: master
components:
- name: "server"
readOnlyFileSystem: true
src: "."
dockerfileName: "Dockerfile"
runtime:
architecture: arm64
identity:
azure:
clientId: 5381b944-c904-4c5d-8672-7cedadaf50af
ports:
- name: http
port: 3003
public: true
resources:
requests:
memory: "200Mi"
cpu: "100m"
limits:
memory: "1000Mi"
cpu: "1000m"
variables:
GIN_MODE: release
DB_DSN: server=sql-radix-vulnerability-scan-c2.database.windows.net;database=radix-vulnerability-scan;fedauth=ActiveDirectoryDefault
environmentConfig:
- environment: qa
replicas: 1
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
- environment: prod
replicas: 2
dnsAlias:
- alias: vulnerability-scan-api
environment: "prod"
component: server