-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnais.yaml
54 lines (54 loc) · 1.11 KB
/
nais.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
apiVersion: nais.io/v1alpha1
kind: Application
metadata:
name: reops-umami-beta
namespace: team-researchops
labels:
team: team-researchops
spec:
image: {{ image }}
env:
- name: "DATABASE_TYPE"
value: "postgresql"
- name: "FORCE_SSL"
value: "1"
- name: "DISABLE_TELEMETRY"
value: "1"
accessPolicy:
inbound:
rules:
- application: reops-felgen
- application: reops-proxy
- application: umami-proxy
gcp:
sqlInstances:
- type: POSTGRES_17
tier: db-custom-1-3840
flags:
- name: cloudsql.logical_decoding
value: "on"
databases:
- name: reops-umami-beta
users:
- name: datastream
diskAutoresize: true
ingresses:
- "https://umami.ansatt.nav.no"
- "https://umami.intern.nav.no"
resources:
requests:
cpu: "200m"
memory: "512Mi"
limits:
memory: "1024Mi"
liveness:
path: "/login"
port: 3000
readiness:
path: "/login"
port: 3000
replicas:
cpuThresholdPercentage: 50
max: 2
min: 1
port: 3000