-
Notifications
You must be signed in to change notification settings - Fork 0
/
radixconfig.yaml
79 lines (79 loc) · 1.79 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
apiVersion: radix.equinor.com/v1
kind: RadixApplication
metadata:
name: xample-oauth
spec:
environments:
- name: production
build:
from: master
components:
- name: echo
src: ./echo
ports:
- name: http
port: 3000
public: false
environmentConfig:
- environment: production
variables:
PORT: 3000
NODE_ENV: "production"
monitoring: true
resources:
requests:
memory: "42Mi"
cpu: "10m"
limits:
memory: "50Mi"
cpu: "20m"
replicas: 3
# secrets:
# - MY_SUPER_SECRET
- name: www
src: ./www
ports:
- name: http
port: 3001
public: false
environmentConfig:
- environment: production
variables:
PORT: 3001
NODE_ENV: "production"
ECHO_URL: "http://echo:3000"
monitoring: false
resources:
requests:
memory: "50Mi"
cpu: "10m"
limits:
memory: "54Mi"
cpu: "20m"
replicas: 1
- name: oauth-proxy
src: ./oauth-proxy
ports:
- name: http
port: 8081
public: true
environmentConfig:
- environment: production
variables:
PORT: 8081
NODE_ENV: "production"
monitoring: false
resources:
requests:
memory: "42Mi"
cpu: "10m"
limits:
memory: "50Mi"
cpu: "20m"
replicas: 1
secrets:
- OAUTH2_PROXY_CLIENT_ID
- OAUTH2_PROXY_CLIENT_SECRET
dnsAppAlias:
environment: production
component: oauth-proxy